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:
@@ -6,6 +6,9 @@
|
|||||||
|
|
||||||
(setf meow-expand-hint-remove-delay 0)
|
(setf meow-expand-hint-remove-delay 0)
|
||||||
|
|
||||||
|
(map! :map meow-normal-state-keymap
|
||||||
|
:leader "d" 'duplicate-dwim :desc "Duplicate line/region")
|
||||||
|
|
||||||
(pcase system-type
|
(pcase system-type
|
||||||
('darwin ; macOS
|
('darwin ; macOS
|
||||||
(setq doom-font (font-spec :family "Maple Mono" :size 20))
|
(setq doom-font (font-spec :family "Maple Mono" :size 20))
|
||||||
|
|||||||
11
config.org
11
config.org
@@ -14,8 +14,12 @@
|
|||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setf meow-expand-hint-remove-delay 0)
|
(setf meow-expand-hint-remove-delay 0)
|
||||||
#+end_src
|
#+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
|
** Appearance settings
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(pcase system-type
|
(pcase system-type
|
||||||
('darwin ; macOS
|
('darwin ; macOS
|
||||||
@@ -33,7 +37,6 @@
|
|||||||
(setq display-line-numbers-type 'relative)
|
(setq display-line-numbers-type 'relative)
|
||||||
(setq org-directory "~/org/")
|
(setq org-directory "~/org/")
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** Themes
|
*** Themes
|
||||||
**** ef-themes
|
**** ef-themes
|
||||||
#+begin_src emacs-lisp :tangle packages.el
|
#+begin_src emacs-lisp :tangle packages.el
|
||||||
@@ -73,7 +76,6 @@
|
|||||||
(package! catppuccin-theme)
|
(package! catppuccin-theme)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
|
||||||
*** Nano modeline
|
*** Nano modeline
|
||||||
#+begin_src emacs-lisp :tangle no
|
#+begin_src emacs-lisp :tangle no
|
||||||
(package! nano-modeline)
|
(package! nano-modeline)
|
||||||
@@ -135,9 +137,6 @@ Thisenables the feature of auto-expanding snippets when matching the pattern
|
|||||||
(setq gptel-backend (gptel-make-gh-copilot "Copilot"))
|
(setq gptel-backend (gptel-make-gh-copilot "Copilot"))
|
||||||
)
|
)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
#+RESULTS:
|
|
||||||
: t
|
|
||||||
*** Centaur tabs
|
*** Centaur tabs
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(map! :map meow-normal-state-keymap
|
(map! :map meow-normal-state-keymap
|
||||||
|
|||||||
Reference in New Issue
Block a user