commit d381ea2679648b2457f1a442db4a1c694aeae81a
parent e9777e03edb68616ee3f6e6b9d539eb073e6247d
Author: Ryan Jeffrey <ryan@ryanmj.xyz>
Date: Mon, 14 Dec 2020 00:24:14 -0800
web-mode
Diffstat:
4 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/.config/mimeapps.list b/.config/mimeapps.list
@@ -1,7 +1,11 @@
[Default Applications]
image/jpeg=sxiv.desktop
video/mp4=mpv.desktop
+application/pdf=org.gnome.Evince.desktop
+image/png=sxiv.desktop
[Added Associations]
image/jpeg=sxiv.desktop;
video/mp4=mpv.desktop;
+application/pdf=org.pwmt.zathura-pdf-mupdf.desktop;org.gnome.Evince.desktop;
+image/png=sxiv.desktop;
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
@@ -43,10 +43,12 @@
'(org-export-with-sub-superscripts '{})
'(org-time-stamp-custom-formats '("<%b %e %G>" . "<%m/%d/%y %a %H:%M>"))
'(package-selected-packages
- '(crontab-mode rainbow-mode impatient-mode vterm rust-mode systemd yasnippet-snippets yasnippet gitignore-mode company flycheck wc-mode htmlize fic-mode emojify org-bullets use-package-hydra use-package-ensure-system-package use-package-el-get use-package-chords undo-tree quelpa-use-package mu4e-query-fragments mu4e-overview mu4e-maildirs-extension mu4e-jump-to-list mu4e-conversation mu4e-alert modus-vivendi-theme modus-operandi-theme ivy-ycmd ivy-avy highlight fish-mode elfeed-web elfeed-score elfeed-protocol elfeed-org elfeed-goodies csgo-conf-mode counsel)))
+ '(inf-clojure cider clojure-mode clojure-mode-extra-font-locking clojure-quick-repls clojure-snippets json-mode crontab-mode rainbow-mode impatient-mode vterm rust-mode systemd yasnippet-snippets yasnippet gitignore-mode company flycheck wc-mode htmlize fic-mode emojify org-bullets use-package-hydra use-package-ensure-system-package use-package-el-get use-package-chords undo-tree quelpa-use-package mu4e-query-fragments mu4e-overview mu4e-maildirs-extension mu4e-jump-to-list mu4e-conversation mu4e-alert modus-vivendi-theme modus-operandi-theme ivy-ycmd ivy-avy highlight fish-mode elfeed-web elfeed-score elfeed-protocol elfeed-org elfeed-goodies csgo-conf-mode counsel))
+ '(safe-local-variable-values '((company-mode) (flycheck-mode))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
+(put 'downcase-region 'disabled nil)
diff --git a/.emacs.d/lisp/config.org b/.emacs.d/lisp/config.org
@@ -311,7 +311,7 @@
'(("json" . "/some/path/.*\\.api\\'")
("xml" . "/other/path/.*\\.api\\'")
("jsx" . "/some/react/path/.*\\.js[x]?\\'")))
- (setq web-mode-markup-indent-offset 4)
+ (setq web-mode-markup-indent-offset 2)
(add-to-list 'auto-mode-alist '("\\.phtml\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.tpl\\.php\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.[agj]sp\\'" . web-mode))
@@ -321,6 +321,7 @@
(add-to-list 'auto-mode-alist '("\\.djhtml\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.css\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.html\\'" . web-mode))
+ (add-to-list 'auto-mode-alist '("\\.handlebars\\'" . web-mode))
(define-key web-mode-map (kbd "C-n") 'web-mode-tag-match)
(setq web-mode-enable-current-column-highlight t)
(setq web-mode-enable-current-element-highlight t)
diff --git a/init.zsh b/init.zsh
@@ -0,0 +1,10 @@
+#!/usr/bin/env zsh
+
+curd="$(pwd)"
+h="$HOME"
+
+ln -s $curd/.emacs.d $h/.emacs.d
+ln -s $curd/.Xresources $h/.Xresources
+ln -s $curd/.config $h/.config
+ln -s $curd/.joe $h/.joe
+