6 ms·
I do. iPhone 6 + Prompt (a SSH client) + tmux + Neovim/Vim + a remote dev server for Android phones use JuiceSHH instead Prompt Usually I use a notebook sshi
by greenspot 10y ago
I do.
iPhone 6 + Prompt (a SSH client) + tmux + Neovim/Vim + a remote dev server
for Android phones use JuiceSHH instead Prompt
Usually I use a notebook sshing to my dev server but when I am on the go and get good ideas I immediately try them on mobile before getting home. With tmux I am still in the same session having easy access to all windows and panes. Vim's key bindings are the best way to use an editor on a phone anyway. All very satisfying and not much slower. Sometimes when I need to go to bed and still want to play around with the code the same: I tinker a bit more till I fall asleep.
Or today: I read about a new JS NLP library on my phone I want to quickly test: I just start Prompt and type "npm i nlp_compromise", fire up Vim and play around.
I am quite fast with the iPhone keyboard and I think the reason is that I use the keyboard in general without any assistance, so no spellchecking, prediction, etc. Just the plain keyboard and after a while using it like this you get super good and fast (it took some weeks though). The keyboard of the iPhone is also one of its features I like most: it's extremely responsive and never lagging.
Prompt extends the iPhone keyboard well: you get Ctrl, Alt, Tab and more keys nearby and aesthetically very similar which I like. Prompt is quite slick and iPhone's iTerm.
So, it's not about doing entire projects from A to Z on your phone but it can get ultra productive when your are away from your computer and get those 'shower thoughts' you haven't gotten for three hours sitting in front of the screen. Then a phone as a devkit comes quite handy.
- jdnier 10y agoHow do you switch between command and insert modes in vim on your iPhone keyboard?
- greenspot 10y agoI mapped jj to Esc in my .vimrc but Prompt has also Esc as an extra key. But jj is faster. So with jj you get from Insert to Normal mode and from there just : either from the keyboard or from Prompt's extra keys. All like on a normal notebook.
- srtjstjsj 10y agoIs coding on your phone really better than tapping out a note and then filling in the details when you have a keyboard?
- greenspot 10y agoGood question but most note taking software on iOS doesn't have Vim bindings, so I take Vim on a server for note taking already. Then I can also get right into the actual code anyway.
- ghrifter 10y agoThat has to be a troll post. No one in their sane mind would code on a phone when a keyboard is close by. Like if you were flying or something sure I guess writing something in notepad then emailing it to yourself later... But writing in bed? Please.
- askafriend 10y agoIt's an extremely skilled troll though... let's give them some credit.
- bound008 10y agoI just wish Prompt would add "mouse" support so I could scroll my vim panes and/or drag around the dividers. I asked their support and they said no plans for that ever.
- leesalminen 10y ago> I like most: it's extremely responsive and never lagging. I spent an embarrassing amount of time yesterday figuring out why login forms in my app were incredibly laggy to text entry with stock keyboard + Safari. Root cause? Had hundreds of login items in the keychain for that domain. Whoops!
- neurostimulant 10y agoIf only Prompt 2 supports Mosh like JuiceSSH. In fact, I can't seem to find any mosh client in iOS AppStore.
- seeing 10y agoI wish there was a special keyboard widget on the iPhone for coding. I want the keys in the keyboard to be bigger than what the iPhone currently displays.