5 ms·
For anyone who's used to fd/jk/kj/jj/jf or the like in Vim as an alias to ESC to exit insert mode, it looks like Helix is not too usable as of today: https://gi
by aldanor 4y ago
For anyone who's used to fd/jk/kj/jj/jf or the like in Vim as an alias to ESC to exit insert mode, it looks like Helix is not too usable as of today: https://github.com/helix-editor/helix/issues/2612 https://github.com/helix-editor/helix/issues/2612
I would've considered exploring Helix myself if it wasn't for this.
- vitiral 4y agoRemap capslock to CTRL when held and ESC when tapped. Good idea for vim too
- samatman 4y agoThe classic mapping is Alt/Meta to send escape when tapped, because terminals send Alt-q as `ESC q`. I have no strong opinions about how people lay out their keyboards, other than that people should try a split key if they haven't. My layout sends ESC when Alt is tapped, capslock is for backspace.
- Shared404 4y agoWhat about holding spacebar to overheat the computer and exit emacs?
- qu4z-2 4y agoWhat about it?
- mike-the-mikado 4y agoSee https://xkcd.com/1172/ https://xkcd.com/1172/
- divbzero 4y agoUsing caps lock to escape is close to the ergonomics of an early terminal used by Bill Joy where the escape key sat to the left of Q. https://twobithistory.org/2018/08/05/where-vim-came-from.html https://twobithistory.org/2018/08/05/where-vim-came-from.htm...
- aldanor 4y agoLooks interesting. I've always remapped capslock to CTRL myself, of course, but haven't thought of remapping tap-capslock to ESC. It looks like you need external software to do this though (like Karabiner Elements on mac, or xcape on linux, etc). (That being said, if you're used to jk/kj/fd/jj/jf, many years of muscle memory would still take a while to erase...)
- deagle50 4y agoDo it now and your only regret will be not doing it sooner :)
- cassepipe 4y agoFor Ubuntu/LinuxMint : Ubunutu --> Gnome Tweaks --> Additional Layout options --> Make Caps Lock an additional ESC Linux Mint --> Keyboard --> Layout --> Options --> Same From the terminal : setxkbmap -option caps:escape There are option to swap CapsLock and Escape too, or you can have CapsLock when pressing both shift keys and other worthwhile options
- jrop 4y agoActually, MacOS can do this out of the box with no extra software installed. It's in the keyboard settings
- CorrectHorseBat 4y agoI tried that for a while, but having ESC on release instead of on press just didn't feel right for me
- definitely-not 4y agoCTRL+[ also sends ESC control code. So you don't even need to map ESC on tap (I prefer to map layout switching to it).
- aldanor 4y agoIt's a matter of habit, I guess, but. - Ctrl-[ is a chord that you have to press with 4/5 fingers using both hands at once. - Whereas jk/fd etc are next to each other on the home row and pressed with 2/3 of the same hand sequentially. Given the number of times you would have to exit insert mode, the second option is arguably more ergonomic...
- definitely-not 4y agoThe one cool thing about CTRL+[ - it is universal in terminal and doesn't depend on configuration.
- netfl0 4y agono alt-l...?
- sva_ 4y agoDamn, I never thought of doing that!
- lytedev 4y agoI use jj and jk to escape insert mode just fine...