summary refs log tree commit diff
path: root/config.org
diff options
context:
space:
mode:
authornoa@gaiwan.org2024-06-23 11:18:01 +0000
committernoa@gaiwan.org2024-06-23 11:18:01 +0000
commitad4b2885184b8c39c26cc76baeb2f980250adb6f (patch)
treeb576790b2e1d31c75f1e3d7c8a66e089ed0ef70e /config.org
parent2605731fb371ddaee2860f6739aa00c850dd7faa (diff)
Experiment to disable vertical navigation bindings
Diffstat (limited to 'config.org')
-rw-r--r--config.org9
1 files changed, 9 insertions, 0 deletions
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 "<up>") nil)
+  (global-set-key (kbd "<down>") 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.