Feature #5257 2011-02-09 00:06

jensbjorgensen

add emacs key bindings

I'd really love to use Code::Blocks but not being able to use emacs key bindings (at least the basic ones!) puts a massive dent in my productivity. It would be great if it were possible to get the keybindings to match emacs--currently it is not possible.

Category
Editing
Status
Open
Close date
 
Assigned to
 
tpetrov 2011-09-22 21:16

Have you tried the keybindings plugin? It is part of the contrib plugins.

jensbjorgensen 2011-09-23 12:48

Could you please re-open this? I did try the keybindings plugin and it doesn't support even the basic movement keystrokes that emacs users rely on.

tpetrov 2011-09-23 20:14

Probably you should give some examples, because I doubt any of the other devs is using/have used Emacs.

jensbjorgensen 2011-09-25 03:09

Emacs users achieve efficiency by never needing to remove their fingers from the "home" position on the keyboard. This includes cursor movement. So for me and I expect most emacs users a minimal set of bindings would include (Meta is generally mapped to Alt):

Ctrl-f cursor right Ctrl-b cursor left Ctrl-p cursor up Ctrl-n cursor down Meta-f cursor word right Meta-b cursor word left Ctrl-a cursor beginning of line Ctrl-e cursor end of line Ctrl-space mark set Ctrl-w cut to mark Ctrl-y yank (paste) Ctrl-d delete Meta-d delete word Ctrl-s incremental search forward Ctrl-r incremental search backward

There are certainly more that would be hard for me to live without so the above is just a sample of the most essential. So the point I made before is that since the keybindings module only lets you create keyboard shortcuts to menu items the most essential things for emacs are not even possible (cursor movement).