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?
[ Parent
| on HN ]
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.
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...
Hi :-) I added font support pretty much at the last minute. Here's an example of something that should work ":set guifont=Courier:h14"
It doesn't seem retina optimized. The font is horrendous on my iPhone 4.
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.
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?
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".