From e9d9dfbe2ca342dd864e298da19ef11563c82a69 Mon Sep 17 00:00:00 2001 From: Alison Watson Date: Tue, 7 Jun 2022 19:22:58 -0600 Subject: [PATCH] emacs: fixes for windows to function --- emacs/init.el | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/emacs/init.el b/emacs/init.el index de8c78a..c734313 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -65,7 +65,7 @@ ;; packages (eval-when-compile - (add-to-list 'load-path "/home/marrub/src/use-package") + (add-to-list 'load-path (locate-user-emacs-file "use-package")) (require 'use-package)) ;; theme @@ -404,13 +404,14 @@ :after (dirvish undo-tree) :demand t :hook ((evil-local-mode . turn-on-undo-tree-mode)) + :init + (setq evil-want-keybinding nil) :config (setq evil-cjk-emacs-word-boundary t evil-cross-lines t evil-mode-line-format 'after evil-shift-width 3 evil-vsplit-window-right t - evil-want-keybinding nil evil-indent-convert-tabs nil evil-normal-state-tag "~" evil-insert-state-tag "i" @@ -433,8 +434,9 @@ (evil-collection-init)) ;; visuals +(setq agw-ligature-path (locate-user-emacs-file "ligature.el")) (use-package ligature - :load-path "/home/marrub/src/ligature.el" + :load-path agw-ligature-path :config (ligature-set-ligatures 't @@ -444,13 +446,13 @@ "##" "#{" "#[" "]#" "#(" "#?" "#_(" "#_" "#:" "#!" "#=" "^=" "<$>" "<$" "$>" "<+>" "<+" "+>" "<*>" "<*" "*>" "" "" "" "--" "->>" "<<-" "<-" "<=<" "=<<" "<<=" - "<==>" "<==" "<=>" "==>" "=>>" ">=>" ">>=" ">=" ">>-" "-<<" ">->" - ">-" "<-<" "-<" "<-|" "<=|" "<=" "<->" "|=>" "|->" "->" "=>" "|=" - "|-" "<~~" "<~>" "<~" "~~>" "~~" "~>" "~-" "-~" "~@" "[||]" "|]" - "[|" "|}" "{|" "[<" ">]" "<|>" "|||>" "<|||" "||>" "<||" "|>" - "<|" "||" "..." "..<" ".." ".=" ".?" ":::" "::=" "::" ":=" ":?" - ":?>" "///" "//" "/*" "*/" "//=" "/==" "==" "/=" "@_" "__" "<<" - ">>")) + "<==>" "<==" "<=>" "==>" "=>>" ">=>" ">>=" ">=" ">>-" "-<<" + ">->" ">-" "<-<" "-<" "<-|" "<=|" "<=" "<->" "|=>" "|->" "->" + "=>" "|=" "|-" "<~~" "<~>" "<~" "~~>" "~~" "~>" "~-" "-~" "~@" + "[||]" "|]" "[|" "|}" "{|" "[<" ">]" "<|>" "|||>" "<|||" "||>" + "<||" "|>" "<|" "||" "..." "..<" ".." ".=" ".?" ":::" "::=" + "::" ":=" ":?" ":?>" "///" "//" "/*" "*/" "//=" "/==" "==" "/=" + "@_" "__" "<<" ">>")) (global-ligature-mode 't)) (use-package simple