News for hackers. Stuff that matters.
Re:Vim – Minimal Setup Explained by asicsp on Thursday February 24, 2022 @11:21PM (#30463683)
I wish Ctrl+[ wasn't tied to Esc. I hit that often instead of Ctrl+P. Haven't yet found a way to map Ctrl+[ to Ctrl+P without affecting behavior of Esc as well.
Re:Vim – Minimal Setup Explained by ckolkey on Friday February 25, 2022 @01:14AM (#30464181)
It's because your computer can't tell the difference. c-[ and ESC send the same key-code. Same with c-i and tab. What you can do to get around this is to remap one of them to something like f20 using Karabiner, then map f20 to what you like in vim.
Re:Vim – Minimal Setup Explained by asicsp on Friday February 25, 2022 @03:16AM (#30464830)
Thanks. Not sure if Karabiner is available for Linux, but I found https://stackoverflow.com/questions/41364833/karabiner-for-l... which might help me.
Re:Vim – Minimal Setup Explained by VTimofeenko on Sunday February 27, 2022 @01:09AM (#30485843)
Can recommend interception-tools mentioned in that SO link. I have been using them for quite a while, remapping caps to escape in desktop environment agnostic way.