pindexis / marker

The terminal command palette
MIT License
2.02k stars 106 forks source link

Default keybindings override useful ones #50

Open schumar opened 5 years ago

schumar commented 5 years ago

I very often use Ctrl-T (swap characters, super useful when your fingers are faster than your brain, esp. in the morning :), and Ctrl-K (delete from cursor to end of line) when editing a command.

Might I thus suggest to switch the default bindings to some less "useful" combinations? e.g. Ctrl-B to "Bookmark" (Ctrl-B just moves the cursor to the left), and Ctrl-G to "Go to next placeholder" (Ctrl-G just beeps)

intika commented 5 years ago

export MARKER_KEY_GET='\C-B' for Ctrl+b add this before to your rc before sourcing marker

schumar commented 5 years ago

Thanks for the hint @intika , I went even further and directly changed it in marker.sh :)

But my suggestion is to change the defaults, as I guess that many commandline-afficionados are using Ctrl-T and Ctrl-K already.