feat(meow): Move cursor down after duplicating

line

Add next-line call after duplicate-dwim to automatically advance cursor
to the newly duplicated line, improving workflow efficiency.
This commit is contained in:
Zelong Kuang
2025-12-11 19:32:02 +11:00
parent 00ca307ee7
commit 004210ae27
2 changed files with 4 additions and 2 deletions

View File

@@ -17,7 +17,8 @@
** Keybindings
#+begin_src emacs-lisp
(map! :map meow-normal-state-keymap
:leader "d" 'duplicate-dwim :desc "Duplicate line/region")
:leader "d" (lambda () (interactive) (duplicate-dwim) (next-line))
:desc "Duplicate line/region")
#+end_src
** Appearance settings
#+begin_src emacs-lisp