From 22e3a4ef2a3b668abb8fbc1ae0ae28b186d3b22c Mon Sep 17 00:00:00 2001 From: Jacob Janzen Date: Mon, 21 Oct 2024 00:42:40 -0500 Subject: buncha stuff --- common/.config/emacs/tools.el.org | 29 ++++++----------------------- 1 file changed, 6 insertions(+), 23 deletions(-) (limited to 'common/.config/emacs/tools.el.org') 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 -- cgit v1.2.3