emacs: fixes for windows to function

master
an 2022-06-07 19:22:58 -06:00
parent d3b0cb8668
commit e9d9dfbe2c
1 changed files with 12 additions and 10 deletions

View File

@ -65,7 +65,7 @@
;; packages ;; packages
(eval-when-compile (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)) (require 'use-package))
;; theme ;; theme
@ -404,13 +404,14 @@
:after (dirvish undo-tree) :after (dirvish undo-tree)
:demand t :demand t
:hook ((evil-local-mode . turn-on-undo-tree-mode)) :hook ((evil-local-mode . turn-on-undo-tree-mode))
:init
(setq evil-want-keybinding nil)
:config :config
(setq evil-cjk-emacs-word-boundary t (setq evil-cjk-emacs-word-boundary t
evil-cross-lines t evil-cross-lines t
evil-mode-line-format 'after evil-mode-line-format 'after
evil-shift-width 3 evil-shift-width 3
evil-vsplit-window-right t evil-vsplit-window-right t
evil-want-keybinding nil
evil-indent-convert-tabs nil evil-indent-convert-tabs nil
evil-normal-state-tag "~" evil-normal-state-tag "~"
evil-insert-state-tag "i" evil-insert-state-tag "i"
@ -433,8 +434,9 @@
(evil-collection-init)) (evil-collection-init))
;; visuals ;; visuals
(setq agw-ligature-path (locate-user-emacs-file "ligature.el"))
(use-package ligature (use-package ligature
:load-path "/home/marrub/src/ligature.el" :load-path agw-ligature-path
:config :config
(ligature-set-ligatures (ligature-set-ligatures
't 't
@ -444,13 +446,13 @@
"##" "#{" "#[" "]#" "#(" "#?" "#_(" "#_" "#:" "#!" "#=" "^=" "##" "#{" "#[" "]#" "#(" "#?" "#_(" "#_" "#:" "#!" "#=" "^="
"<$>" "<$" "$>" "<+>" "<+" "+>" "<*>" "<*" "*>" "</>" "</" "/>" "<$>" "<$" "$>" "<+>" "<+" "+>" "<*>" "<*" "*>" "</>" "</" "/>"
"<!--" "<#--" "-->" "--" "->>" "<<-" "<-" "<=<" "=<<" "<<=" "<!--" "<#--" "-->" "--" "->>" "<<-" "<-" "<=<" "=<<" "<<="
"<==>" "<==" "<=>" "==>" "=>>" ">=>" ">>=" ">=" ">>-" "-<<" ">->" "<==>" "<==" "<=>" "==>" "=>>" ">=>" ">>=" ">=" ">>-" "-<<"
">-" "<-<" "-<" "<-|" "<=|" "<=" "<->" "|=>" "|->" "->" "=>" "|=" ">->" ">-" "<-<" "-<" "<-|" "<=|" "<=" "<->" "|=>" "|->" "->"
"|-" "<~~" "<~>" "<~" "~~>" "~~" "~>" "~-" "-~" "~@" "[||]" "|]" "=>" "|=" "|-" "<~~" "<~>" "<~" "~~>" "~~" "~>" "~-" "-~" "~@"
"[|" "|}" "{|" "[<" ">]" "<|>" "|||>" "<|||" "||>" "<||" "|>" "[||]" "|]" "[|" "|}" "{|" "[<" ">]" "<|>" "|||>" "<|||" "||>"
"<|" "||" "..." "..<" ".." ".=" ".?" ":::" "::=" "::" ":=" ":?" "<||" "|>" "<|" "||" "..." "..<" ".." ".=" ".?" ":::" "::="
":?>" "///" "//" "/*" "*/" "//=" "/==" "==" "/=" "@_" "__" "<<" "::" ":=" ":?" ":?>" "///" "//" "/*" "*/" "//=" "/==" "==" "/="
">>")) "@_" "__" "<<" ">>"))
(global-ligature-mode 't)) (global-ligature-mode 't))
(use-package simple (use-package simple