From ad4b2885184b8c39c26cc76baeb2f980250adb6f Mon Sep 17 00:00:00 2001 From: noa@gaiwan.org Date: Sun, 23 Jun 2024 11:18:01 +0000 Subject: Experiment to disable vertical navigation bindings --- config.org | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'config.org') diff --git a/config.org b/config.org index fee5ca6..55bed73 100644 --- a/config.org +++ b/config.org @@ -1502,6 +1502,15 @@ If you want to move the cursor to a subsequent instance of the search term, you Semi-modes seem hard to implement in emacs, although in a lot of ways they are already here. I am not a fan of modes in the vi-sense at all, and isearch in emacs is a mode like this. That is, keybindings work differently when isearching, and you have to press C-g or RET to go back to the normal editing flow. +For now, i will try unbinding the vertical navigation keys to see if i can train myself to use search more. This will likely lead to me wanting to improve some of the search functionality. + +#+begin_src elisp + (global-set-key (kbd "") nil) + (global-set-key (kbd "") nil) + (global-set-key (kbd "C-n") nil) + (global-set-key (kbd "C-p") nil) +#+end_src + * Undo Undo is on C-/ and redo is on C-S-/. It's not standard, but these bindings are easier to remember. And with this setting, it behaves for the most part like undo in other programs, which isn't as good as i'd really want, but is something i can reason about much more easily than the default undo. -- cgit 1.4.1-2-gfad0