News for hackers. Stuff that matters.
Re:Modeless Vim by wruza on Tuesday January 16, 2024 @08:14AM (#39012891)
“Doesn’t mean it’s good” doesn’t mean it’s a problem either. Also, people prone to remapping already have their Ctrl there.
Re:Modeless Vim by cassepipe on Tuesday January 16, 2024 @08:33AM (#39013076)
Life can be beautiful we don't have to suffer because it's already there.

Remapping takes less than 5 seconds in MacOs and Linux. 2 minutes in Windows. And you only have to set it up once.

Also my left pinkie never misses CapsLock and I don't even have to think about it. Can't say that's the case for Ctrl+[ which I have used extensively for one year. I am really happy I switched.

Re:Modeless Vim by carb on Tuesday January 16, 2024 @08:36AM (#39013097)
What do you do when you need Ctrl in non-vim contexts?
Re:Modeless Vim by cassepipe on Tuesday January 16, 2024 @11:19AM (#39015079)
I just press Ctrl ?

But frankly I don't use Ctrl that much. Ctrl + L/K in Firefox (I use vimium but I prefer the native bar) And I have Ctrl + J/K to switch terminal tabs In vim I only rarely use Ctrl + I/O

Re:Modeless Vim by carb on Tuesday January 16, 2024 @05:40PM (#39020151)
Are you often working within the command line? I don't use vim bindings elsewhere so I use these a lot: "Edit a command line" section on https://support.apple.com/en-gb/guide/terminal/trmlshtcts/ma...
Re:Modeless Vim by carb on Tuesday January 16, 2024 @08:35AM (#39013092)
Yeah I use Ctrl far more often than Esc as I'm usually navigating code and reading it vs writing it, so Caps Lock -> Ctrl is more valuable.

Additionally, I use Ctrl outside of vim very frequently as I keep my terminal key bindings native, which means all of the command line control patterns use Ctrl (jump to front, jump to back, cut (forwards/backwards), move by word, reverse search, etc etc)

I'm still of the opinion that Ctrl+[ like the OP said would be mentioned is the best because (1) it's native and (2) it uses both hands so it's almost as fast as hitting a single key and requires no hand contortion.

- 14 year exclusive vim user

Re:Modeless Vim by hmeh on Tuesday January 16, 2024 @09:03AM (#39013358)
Por que no los dos? I map caps lock to escape on tap, ctrl on hold.
Re:Modeless Vim by lozf on Tuesday January 16, 2024 @09:36AM (#39013667)
… and set "Both Shift Keys" to toggle caps lock.