tweak evil config
This commit is contained in:
parent
1ad69b91b9
commit
cff4959cb8
15
config.org
15
config.org
|
@ -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\\)\\'"))
|
(setq dired-omit-files "\\`[.]?#\\|\\`[.]?\\'\\|^\\.DS_Store\\'\\|^\\.project\\(?:ile\\)?\\'\\|^\\.\\(?:svn\\|git\\)\\'\\|^\\.ccls-cache\\'\\|\\(?:\\.js\\)?\\.meta\\'\\|\\.\\(?:elc\\|o\\|pyo\\|swp\\|class\\)\\'"))
|
||||||
#+end_src
|
#+end_src
|
||||||
* Basic Editing
|
* 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
|
** Fill Column
|
||||||
Set the default fill column to 100
|
Set the default fill column to 100
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
|
Loading…
Reference in New Issue