Przeglądaj źródła

Added evil mode

Simon Watson 3 lat temu
rodzic
commit
562422a541
1 zmienionych plików z 12 dodań i 0 usunięć
  1. 12 0
      emacs/.emacs-mac

+ 12 - 0
emacs/.emacs-mac

@@ -22,6 +22,8 @@
 (straight-use-package 'auto-complete)
 (straight-use-package '(nano-theme :type git :host github
                                    :repo "rougier/nano-theme"))
+;;(straight-use-package
+;;  '(nano-emacs :type git :host github :repo "rougier/nano-emacs"))
 (straight-use-package
  '(slime-company :type git :host github :repo "anwyn/slime-company"))
 (straight-use-package 'sublimity)
@@ -35,6 +37,16 @@
 (straight-use-package 'ample-theme)
 (straight-use-package 'slime)
 (straight-use-package 'ac-slime)
+;; Not enabled/required by default
+(straight-use-package 'evil)
+
+(require 'evil)
+;; Required, but not enabled by defaul
+(evil-mode 1)
+
+;; Enable tab behavior like vi
+(straight-use-package '(evil-tabs :type git :host github
+                                   :repo "krisajenkins/evil-tabs"))
 
 (require 'auto-complete)
 (global-auto-complete-mode t)