diff options
Diffstat (limited to 'common/.config/emacs/tools.el.org')
-rw-r--r-- | common/.config/emacs/tools.el.org | 29 |
1 files changed, 6 insertions, 23 deletions
diff --git a/common/.config/emacs/tools.el.org b/common/.config/emacs/tools.el.org index 43fc6d0..2a96499 100644 --- a/common/.config/emacs/tools.el.org +++ b/common/.config/emacs/tools.el.org @@ -1,28 +1,5 @@ #+title: Emacs Tool Setup -* Vi Keybindings -Use =vi= keybindings with =evil=. Set the undo system to =undo-fu=. Wrapped lines can be moved between with =j= and =k=. -#+begin_src emacs-lisp - (use-package evil - :init - (setq evil-want-keybinding nil) - :config - (evil-mode) - (evil-global-set-key 'motion "j" 'evil-next-visual-line) - (evil-global-set-key 'motion "k" 'evil-previous-visual-line) - (evil-global-set-key 'motion (kbd "RET") nil) - :custom - (evil-undo-system 'undo-fu)) -#+end_src - -Use =evil-collection= to include =vi= keybindings in extra modes. -#+begin_src emacs-lisp - (use-package evil-collection - :after evil - :config - (evil-collection-init)) -#+end_src - * Undo Better undo with =undo-fu=. #+begin_src emacs-lisp @@ -158,6 +135,12 @@ Use =eshell= as an integrated shell. (global-set-key (kbd "C-c e") 'eshell) #+end_src +Use =vterm= when it works better than =eshell=. +#+begin_src emacs-lisp + (use-package vterm) + (global-set-key (kbd "C-c v") 'vterm) +#+end_src + * Language Servers Add =eglot= keybindings. #+begin_src emacs-lisp |