fixing keybinds

This commit is contained in:
Matt Nish-Lapidus 2025-05-19 10:25:43 -04:00
parent d9eccc80e9
commit ad73bd91f9
5 changed files with 24 additions and 35 deletions

22
meow.el
View file

@ -15,10 +15,12 @@
(meow--make-selection '(select . visit) beg (if isearch-forward end isearch-other-end))
(meow--select (not isearch-forward)))))))
(setf meow--kbd-forward-char "<right>"
meow--kbd-undo "C-z")
(add-hook 'isearch-mode-end-hook 'meow--post-isearch-function)
(defun meow-setup ()
(meow--setup-rectangle-mark t)
(setq meow-cheatsheet-layout meow-cheatsheet-layout-qwerty)
(map!
@ -75,6 +77,7 @@
'("o" . meow-block)
'("O" . meow-to-block)
'("p" . meow-yank)
'("P" . meow-yank-pop)
'("q" . meow-quit)
'("Q" . meow-goto-line)
'("r" . meow-swap-grab)
@ -82,7 +85,7 @@
'("s" . meow-kill)
'("t" . meow-till)
'("u" . meow-undo)
'("U" . meow-undo-in-selection)
'("U" . undo-redo)
'("v" . meow-visit)
'("w" . meow-mark-word)
'("W" . meow-mark-symbol)
@ -90,22 +93,25 @@
'("X" . meow-goto-line)
'("y" . meow-save)
'("Y" . meow-sync-grab)
'("z" . meow-pop-selection)
'("z" . end-of-buffer)
'("Z" . beginning-of-buffer)
'("<" . meow-beginning-of-thing)
'(">" . meow-end-of-thing)
'("/" . bookmark-in-project-jump)
'("'" . repeat)
'("=" . meow--eval-sexp)
'("[" . sp-backward-sexp)
'("]" . sp-forward-sexp)
'("{" . sp-backward-up-sexp)
'("}" . sp-down-sexp)
'("<" . meow-beginning-of-thing)
'(">" . meow-end-of-thing)
'("/" . bookmark-in-project-jump)
'("?" . bookmark-jump)
'("÷" . bookmark-delete)
'("/" . bookmark-set)
'("\\" . bookmark-delete)
'("#" . string-inflection-all-cycle)
'("<escape>" . doom/escape)))
(use-package! meow
:demand t
:config
(meow-setup)
(pushnew! meow-mode-state-list '(mu4e-main-mode . motion))
@ -113,4 +119,4 @@
(pushnew! meow-mode-state-list '(sly-inspector-mode . motion))
(pushnew! meow-mode-state-list '(vterm-mode . insert))
(pushnew! meow-mode-state-list '(sly-mode . insert))
(meow-global-mode 1))
(meow-global-mode))