News for hackers. Stuff that matters.
Re:Vim Clutch – A hardware pedal for improved text editing (... by krysp on Thursday March 11, 2021 @08:04PM (#26431102)
The best remap in my vimrc:

" Map jk to ESC in insert mode

inoremap jk <esc>

Once you've finished what you wanted to insert just hit jk. The combination never occurs in the English language and is right on the home row :)

Re:Vim Clutch – A hardware pedal for improved text editing (... by pkulak on Thursday March 11, 2021 @09:55PM (#26431771)
That's fun. Does it type the j, then delete it when you press k?
Re:Vim Clutch – A hardware pedal for improved text editing (... by andrewzah on Thursday March 11, 2021 @11:02PM (#26432084)
Yes it does. I do the same thing but with jj.
Re:Vim Clutch – A hardware pedal for improved text editing (... by wruza on Friday March 12, 2021 @01:31AM (#26432761)
It doesn’t type it into a buffer, iirc. I removed that from my config because it annoyed me that when I press j alone it only appears in a buffer after a delay.
Re:Vim Clutch – A hardware pedal for improved text editing (... by mellavora on Friday March 12, 2021 @04:01PM (#26440868)
yes, until you find yourself typing jk into word docs or other evil office software every time you finish a thoughtjk.