Live data from Hacker News

Vim ported to iOS

applidium.com

81–90 of 133 posts

Re: Vim ported to iOS

#81
post #28
post #26

Interesting that they actually exit on ":q", which is prohibited by the iOS Human Interface Guidelines: http://developer.apple.com/library/ios/#documentation/UserEx... Also, ":Explore" and then "-", "-", "-"... works to browse the file system, or at least the parts allowed by the app sandbox

I think they're called "guidelines" for a reason, and nowhere in them is the word "prohibited" used.

Guidelines here mean the "vims" ( see what I did there ) and fancies of Apple.

Re: Vim ported to iOS

#82

Earlier quoted context omitted.

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"

Re: Vim ported to iOS

#83

... and the one feature they don't list: iCloud .vimrc sync!

Hi. Indeed, iCloud syncing will be awesome. I did not add it to this release yet though. If anyone wants to contribute, patches are welcome!

Re: Vim ported to iOS

#84
post #57

Earlier quoted context omitted.

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.

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.

Re: Vim ported to iOS

#85

Wow, the only thing missing now is Git / Github.

Definitely. Unfortunately Git is GPL, and given the trouble we went through with VLC we decided not to work on that feature. It's definitely sad though.

Re: Vim ported to iOS

#86
post #65

Earlier quoted context omitted.

Unfortunately, imap jj in the .vimrc doesn't seem to work. :(

I did `:imap al `. So then you can simultaneously press A and L to leave insert mode. Very easy on the iPad.

Oh, that's super smart! I might consider adding this as the default in the next release. Thanks!!!

Re: Vim ported to iOS

#87
post #10

"Unfortunately, without an escape key it’s not possible to leave insert mode. That’s why by default the backslash key (‘\’) is mapped to the ‘Esc’ key. You’re free to overwrite this setting by unmapping the backslash key." from http://applidium.com/en/applications/vim/support/

You'd think this would be a great use for a custom gesture. Actually, having various gestures available as mappable objects would be pretty cool...

Definitely :-) Just add this as a feature request on GitHub. I was considering adding this, but I wasn't sure if other people would like it.

Re: Vim ported to iOS

#88
post #28

Earlier quoted context omitted.

I think they're called "guidelines" for a reason, and nowhere in them is the word "prohibited" used.

Guidelines here mean the "vims" ( see what I did there ) and fancies of Apple.

Shakes head

Emacs a mountain of a mole-hill, that one.

Re: Vim ported to iOS

#89
post #64
post #42

Earlier quoted context omitted.

You don't need an external keyboard to type effectively on the iPad. It comes with practice.

My wrists went in a week. How on earth did you manage?

Just like with a standard keyboard you need to get yourself in a decent ergonomic position before doing prolonged iPad typing. The temptation is a lot stronger on the iPad to fudge a little on the positioning which can very quickly be disastrous.

Namely: 90 degree angle on the elbow joint while making sure you don't slant your wrists up to reach the keys.

Re: Vim ported to iOS

#90
post #66
post #59

Vim is for coding. How does this work out on the iPad? Does one edit remote files locally, and compile/run remotely? (the benefit is the editing feels instant - no keystroke latency.) Or has Apple let up on the "no coding for you!" iPad/iPhone terms? (I thought they would eventually, once their dev environment is firmly established - and they'll have to, if/when they adopt iOS on their {lap,/desk}tops - but maybe tod…

Vim is for coding. How does this work out on the iPad? With a bluetooth keyboard and a charging dock or a stand, iPad is a great platform for Vim coding. Does one edit remote files locally, and compile/run remotely? (the benefit is the editing feels instant - no keystroke latency.) With Dropbox support this would be possible. Or has Apple let up on the "no coding for you!" iPad/iPhone terms? There is no such term. Th…

> With a bluetooth keyboard and a charging dock or a stand, iPad is a great platform for Vim coding.

So, when your iPad is a laptop Vim is great!

Post reply on HN