tweak evil config

This commit is contained in:
Nathan McCarty 2022-11-29 05:00:24 -05:00
parent 1ad69b91b9
commit cff4959cb8
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
1 changed files with 15 additions and 0 deletions

View File

@ -181,6 +181,21 @@ Modify the ~dired-omit-files~ regex to exclude the current working directory (~.
(setq dired-omit-files "\\`[.]?#\\|\\`[.]?\\'\\|^\\.DS_Store\\'\\|^\\.project\\(?:ile\\)?\\'\\|^\\.\\(?:svn\\|git\\)\\'\\|^\\.ccls-cache\\'\\|\\(?:\\.js\\)?\\.meta\\'\\|\\.\\(?:elc\\|o\\|pyo\\|swp\\|class\\)\\'"))
#+end_src
* Basic Editing
** Evil Mode
Emacs is best vim, fite me
Tune evil mode to be how we like it
#+begin_src emacs-lisp
(use-package! evil
:config
(setq
;; Use emacs style undo behavior instead of vim style
evil-want-fine-undo t
;; Make o/O not continue comments
+evil-want-o/O-to-continue-comments nil)
;; Set the local leader key for normal mode, we'll use tab
(evil-set-leader '(normal) (kbd "<backspace>") t))
#+end_src
** Fill Column
Set the default fill column to 100
#+begin_src emacs-lisp