feat(meow): Add keybinding for duplicate-dwim

command

Add leader key binding 'd' in meow normal state to duplicate lines or regions using the duplicate-dwim function. Also includes minor formatting cleanup and typo fix in documentation.
This commit is contained in:
Zelong Kuang
2025-12-11 01:56:28 +11:00
parent c0bc27c53b
commit 00ca307ee7
2 changed files with 9 additions and 7 deletions

View File

@@ -6,6 +6,9 @@
(setf meow-expand-hint-remove-delay 0)
(map! :map meow-normal-state-keymap
:leader "d" 'duplicate-dwim :desc "Duplicate line/region")
(pcase system-type
('darwin ; macOS
(setq doom-font (font-spec :family "Maple Mono" :size 20))

View File

@@ -14,8 +14,12 @@
#+begin_src emacs-lisp
(setf meow-expand-hint-remove-delay 0)
#+end_src
** Keybindings
#+begin_src emacs-lisp
(map! :map meow-normal-state-keymap
:leader "d" 'duplicate-dwim :desc "Duplicate line/region")
#+end_src
** Appearance settings
#+begin_src emacs-lisp
(pcase system-type
('darwin ; macOS
@@ -33,7 +37,6 @@
(setq display-line-numbers-type 'relative)
(setq org-directory "~/org/")
#+end_src
*** Themes
**** ef-themes
#+begin_src emacs-lisp :tangle packages.el
@@ -73,7 +76,6 @@
(package! catppuccin-theme)
#+end_src
*** Nano modeline
#+begin_src emacs-lisp :tangle no
(package! nano-modeline)
@@ -98,7 +100,7 @@
#+end_src
** Plugins
*** Yasnippet
Thisenables the feature of auto-expanding snippets when matching the pattern
This enables the feature of auto-expanding snippets when matching the pattern
#+begin_src emacs-lisp
(use-package! yasnippet
@@ -135,9 +137,6 @@ Thisenables the feature of auto-expanding snippets when matching the pattern
(setq gptel-backend (gptel-make-gh-copilot "Copilot"))
)
#+end_src
#+RESULTS:
: t
*** Centaur tabs
#+begin_src emacs-lisp
(map! :map meow-normal-state-keymap