Replies: 5 comments 6 replies
-
I thought exactly the same as you when I first got in to modal editing. I discovered later that making caps lock escape on tap and ctrl on hold was by far the best way to do it, and it works great on the rest of the operating system too. If you are on Linux you can remap with https://github.com/rvaiya/keyd |
Beta Was this translation helpful? Give feedback.
-
I agree with this, it's a bit unfortunate to ask all users to rebind their keyboard at the OS level to get ergonomic keybinds. I tried Helix because I heard it has "good defaults" |
Beta Was this translation helpful? Give feedback.
-
jk is very opinionated. i tried it when i first discovered it in an example in the docs, and absolutely loathed it. sooooooo annoying! Insert mode is for inserting characters, and letters are the most important keys! a control-key shortcut however sounds fine, less bothersome, as it won't conflict with other modes. when i saw the topic, i was actually hoping for more sensible default key-mappings in insert-mode. it's mappings are so sparse..! maybe control+enter or shift+enter, to have a big key, and to provoke the ancient feeling of pressing (carriage-)return on a typewriter? 😄 people often bind control+q to just straight |
Beta Was this translation helpful? Give feedback.
-
I use and recommend the "special keyboard" method described above. With I keyboard running QMK firmware, I've configured it so holding JK together for 40 ms-- in any app-- sends the Escape key. I have the Escape key mapped somewhere else on my keyboard, but in practice, the JK combo is so convenient I use it all the time. |
Beta Was this translation helpful? Give feedback.
-
/begin rant It's always the same when someone brings up this problem, you always have an army of people that explains either how it's fine actually and you can get it used to it (only a third a of vimmers use an Esc alternative according to reddit polls) or how they fixed it with their clever solution (even though with time it seems that a consensus on solutions emerged) But everyone is missing the point, the question at hand is bad defaults. One can fix or get used to anything but it creates unecessary friction, yet another thing to configure across your machines. And it's not like there is a good reason for this, it's a historical accident ! Bad defaults are the bane of existence and people who defend them are the reason we can't have nice things. /end rant Edit: Well at least there is this in Helix's wiki but still this is like the barest of bare minimums. |
Beta Was this translation helpful? Give feedback.
-
When experimenting with the default keybindings for helix, I was disappointed to find that
<Esc>
seemed to be the only builtin keybinding for exiting insert mode.Due to the inconvenient placement of the escape key on most modern keyboards, almost all users of modal editors need to add a more ergonomic keybinding for
<Esc>
to their configuration. Whenever I use vim on an unfamiliar system, I always have to run:imap jk <Esc>
to be productive.Since one of the focuses of Helix is modern sensible defaults, it might be worthwhile to add some of the more common keybindings for exiting insert mode to helix. For example,
jk
orii
Vim also supports using ctrl-c to exit insert mode by default, which I find quicker to use than escape.
jk
is my personal favorite way to exit insert mode, but anything that is more convenient than<Esc>
would be nice to have as a default binding.Beta Was this translation helpful? Give feedback.
All reactions