2 ms·
What I would really like to see is a modal editor that doesn't use vim-like keybindings. Ideally something where the user decides what key executes what functio
by thomastjeffery 5y ago
What I would really like to see is a modal editor that doesn't use vim-like keybindings. Ideally something where the user decides what key executes what function, and maybe some optional vim-like defaults.
Vim's macros are great. You can record a list of actions (with q), and they will be written in a clipboard as a string of key names. Unfortunately, this depends on w meaning "move to start of next word", i meaning "enter insert mode" ^[ (the escape character) meaning go to normal mode, etc. You can remap a key on the keyboard to represent a different key in a specific context ("nmap j k" gives the j key the k key's behavior in normal mode), but you can never change a key's underlying meaning (j will always mean go down a line, even when the j key behaves as k).
Vim's keybindings are so deeply hardcoded into what vim is that's it's just not feasible to change them. I would really like a modal editor that doesn't have that problem: a modal editor that doesn't even try to be vim.