DEV Community

Cover image for Coding with Vim on iPad
Shohei Kameda
Shohei Kameda

Posted on

1

Coding with Vim on iPad

When you search on the web about programming by Vim on iPad, you would see either use iOS vim app or use ssh to a server that you have.
The first option, to use the iOS app, which you need to copy the file to some other devices from iOS. The second option, you need to have the server you connect to.

I introduce Wazaterm here. You only need a browser to use Vim. Let me explain how to use them.

Alt Text

1. Follow the Getting started page

  1. Go to https://www.wazaterm.com and sign up. (You may get $3 worth credits)
  2. Purchase credits (if you could not get)
  3. Start terminal by selecting instance.
  4. Start tmux to keep the sessions.

2. Install Vim with apt

The terminal is ubuntu instance so you can use apt or apt-get to install vim.

$ sudo apt-get install vim
Enter fullscreen mode Exit fullscreen mode

3. Launch Vim

You can keep the terminal running but for the cost, you can shut down the terminal every time you finish the work on the day. Wazatem has Webhook so you can use IFTTE or cron to launch or terminate the terminal. (see here or here for more detail)

$ vim hello_world.rb
Enter fullscreen mode Exit fullscreen mode

Due to iOS limitation, key repeat doesn't work :S
I use "e" to skip the word s. I hope Apple fix this soon...

Have a happy hacking with Vim on the iPad!

Sentry growth stunted Image

If you are wasting time trying to track down the cause of a crash, it’s time for a better solution. Get your crash rates to zero (or close to zero as possible) with less time and effort.

Try Sentry for more visibility into crashes, better workflow tools, and customizable alerts and reporting.

Switch Tools πŸ”

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay