News for hackers. Stuff that matters.
Re:Show HN: vi in your browser - edit files directly from Dr... by sunils34 on Thursday June 21, 2012 @04:47PM (#4144108)
Cool! You should add ctrl+c mapping to <ESC>. Thats how I switch out of modes so that I don't move my left hand out of position.
Re:Show HN: vi in your browser - edit files directly from Dr... by cheeze on Thursday June 21, 2012 @06:37PM (#4144515)
Re map your caps lock to esc. How often do you use that stupid button anyways?
Re:Show HN: vi in your browser - edit files directly from Dr... by preavy on Friday June 22, 2012 @09:26AM (#4146664)
I would miss caps lock. As soon as I see >2 upper-case letters in a row, I use it. I don't know how people bother to type long acronyms and other words in caps without it.
Re:Show HN: vi in your browser - edit files directly from Dr... by ldh on Thursday June 21, 2012 @05:15PM (#4144227)
I'm not sure it would be such a good idea to implement a hodgepodge of random peoples' mappings.
Re:Show HN: vi in your browser - edit files directly from Dr... by ehamberg on Thursday June 21, 2012 @05:20PM (#4144248)
> I'm not sure it would be such a good idea to implement a hodgepodge of random peoples' mappings.

Ctrl-C is not a (user-defined) mapping. It will leave insert mode, but will not trigger things like abbreviations and autocommands (in Vim), so it's not a good idea to use it over Ctrl-[ (which is supported) or <esc>.

Re:Show HN: vi in your browser - edit files directly from Dr... by ldh on Thursday June 21, 2012 @05:31PM (#4144304)
Ah, right. Thanks for clarifying.