mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
feat(emacs): evil, appearance and edit
* evil: Text Object (l -> inner) and Evil-Surround * appearance: mode line (doom) and bufferline (built-in) * edit: vertico and marginalia
This commit is contained in:
parent
ffcc8fb768
commit
e6b1e1b595
8 changed files with 99 additions and 21 deletions
|
|
@ -22,6 +22,12 @@
|
|||
"E" '(lambda () (interactive) (evil-previous-line 5)) ; 5e
|
||||
))
|
||||
|
||||
;; Text Objects Keymap - Use `l` for inner (swap i and l)
|
||||
;; https://github.com/emacs-evil/evil/blob/master/evil-maps.el#L398-L421
|
||||
(define-key evil-visual-state-map "l" evil-inner-text-objects-map)
|
||||
(define-key evil-operator-state-map "l" evil-inner-text-objects-map)
|
||||
|
||||
|
||||
;; Provides Vim-like Leader key <SPC>
|
||||
(use-package evil-leader
|
||||
:after evil
|
||||
|
|
@ -37,5 +43,11 @@
|
|||
:config
|
||||
(evil-commentary-mode))
|
||||
|
||||
;; Evil Surround: Vim-surround Evil fork
|
||||
(use-package evil-surround
|
||||
:after evil
|
||||
:config
|
||||
(global-evil-surround-mode 1))
|
||||
|
||||
|
||||
(provide 'init-evil)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue