News for hackers. Stuff that matters.
Re:Vim ported to iOS by cleverjake on Thursday January 19, 2012 @05:58PM (#3487303)
I'm confused, how does one use the esc key without a keyboard?
Re:Vim ported to iOS by neckbeard on Thursday January 19, 2012 @06:02PM (#3487323)
As explained on the splashscreen, they've remapped that to backslash. I suspect it'd be much more useful with a BT keyboard - lack of ctrl and tab for a start.

The font is pretty ugly too - I can't easily tell the difference between q and g.

However, it is a neat hack, if not very usable.

Re:Vim ported to iOS by daxelrod on Thursday January 19, 2012 @10:53PM (#3488236)
This commit [1] seems to indicate that it's possible to change the font.

However, I can't actually figure out a way to do so; ":set guifont" doesn't appear to work.

[1]: https://github.com/applidium/Vim/commit/be572d759e857de58453...

Re:Vim ported to iOS by Ecco on Friday January 20, 2012 @02:47AM (#3488737)
Hi :-) I added font support pretty much at the last minute. Here's an example of something that should work ":set guifont=Courier:h14"
Re:Vim ported to iOS by jcitme on Thursday January 19, 2012 @10:27PM (#3488169)
It doesn't seem retina optimized. The font is horrendous on my iPhone 4.
Re:Vim ported to iOS by Ecco on Friday January 20, 2012 @02:49AM (#3488742)
Actually it is (or it should be. Just file a bug if it doesn't work for you). By default anti-aliasing is disabled, but you can toggle it on.
Re:Vim ported to iOS by zzzmarcus on Thursday January 19, 2012 @06:05PM (#3487340)
They remapped backslash to esc. Kind of a pain since you have to go through 2 keyboards to get to it, but it works.
Re:Vim ported to iOS by redthrowaway on Thursday January 19, 2012 @06:44PM (#3487505)
How are you supposed to code without backslashes? Are they anticipating never needing to escape anything?
Re:Vim ported to iOS by lshevtsov on Friday January 20, 2012 @01:19AM (#3488577)
How exactly would going through 2 keyboards to switch modes work in a practical situation?
Re:Vim ported to iOS by jamesgeck0 on Friday January 20, 2012 @10:54AM (#3489859)
That's why you'd edit .vimrc to rebind the functionality provided by escape to 'jj' or 'jk' or something of the nature.
Re:Vim ported to iOS by thought_alarm on Thursday January 19, 2012 @06:44PM (#3487502)
The correct way to do it is to attach a toolbar to the top of the keyboard that contains any special keys or commands that one needs, such as "Esc".
Re:Vim ported to iOS by lena on Friday January 20, 2012 @01:40PM (#3490589)
This would be awesome for vim. Not just for the escape key, but also for other often used keys. I love the virtual keyboard in Codea for example.