News for hackers. Stuff that matters.
Re:Vim ported to iOS by edanm on Friday January 20, 2012 @01:34AM (#3488605)
Small tip - I use "jk" instead of "jj" for ESC.

I always thought the difference was personal preference, but there is actually 1 good reason to use "jk". If you get used to pressing "jk" all the time, you'll probably end up using it in Normal mode as well as insert mode. "jj" will move up 2 rows in Normal mode, while "jk" doesn't do anything. Therefore you can use "jk" as a reflex every time you get to the keyboard, and it won't screw you up.

Re:Vim ported to iOS by ulisesrmzroche on Friday January 20, 2012 @10:23AM (#3489726)
ctrl-c, to avoid any of that stuff. 'jk' will move you one row down, and one row up.
Re:Vim ported to iOS by edanm on Friday January 20, 2012 @11:19AM (#3489968)
Yes, except ctrl-c moves you off home row, which I wanted to avoid.

Also, technically, ctrl-c is not the same as escape - it also sends a cancel signal. I actually have no idea what the practical difference is, I just know that some commands treat it differently.

Re:Vim ported to iOS by ulisesrmzroche on Friday January 20, 2012 @12:46PM (#3490335)
It doesn't check for abbreviations and doesn't trigger InsertLeave, which essentially means that any pending command is aborted, but you're totally right about not leaving the home row.

I just right now remapped caps-lock to control and use CTRL-[ to escape instead.

Re:Vim ported to iOS by sedm0784 on Friday January 20, 2012 @11:01AM (#3489887)
There's no "ctrl" key on the iOS keyboard, though.