Browse Source

Added evil mode

Simon Watson 3 years ago
parent
commit
562422a541
1 changed files with 12 additions and 0 deletions
  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)