diff --git a/config.el b/config.el index 59a8fb2..563e7eb 100644 --- a/config.el +++ b/config.el @@ -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)) diff --git a/config.org b/config.org index 7c59fdb..01f7863 100644 --- a/config.org +++ b/config.org @@ -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