Skip to content

Vim tab completion for RubyMotion

by Amitava

Here is a quick rundown on setting up tab completion in vim for RubyMotion.

Configure ctags support

Using ctags with vim can save us from typing really long class or method name by hand. RubyMotion already includes a rake task for generating ctags for a project, but first we need to ensure the proper ctags executable is installed in the system. ctags can be installed using a package manager. OSX users can inatall it using homebrew.

~> brew install ctags

Generate RubyMotion ctags file

After ctags is installed run the following rake task from inside the root of the RubyMotion project directory.

~> rake ctags

This will generate the ctags file that we will use in vim to setup tab completion.

Setup vim for tab completion

supertab is a vim plugin which allows you to use Tab for all your insert completion needs. Once installed there is no need to type those long class or method names anymore. Just type two or three characters and press Tab and it will use the ctags file to display a list of matching names.

vim tabcompletion for RubyMotion

More articles

  • Building our own infra using our office hardware

    How we turned a Mac mini and a stack of MacBooks into a self-hosted k3s cluster, moved our apps off a managed platform, and run it all over Tailscale.

    Read more →
  • What Is an AI Harness?

    A harness is the code that sits around an LLM and lets it actually do things: read files, run commands, search the web. The model writes text. The harness turns that text into actions, and the results back into text.

    Read more →

Your competitors are already using AI. The question is how fast you want to unlock the value.

  • Don't know where to start?

    AI is everywhere but it's unclear which investments will actually move your metrics and which are expensive experiments.

  • Your data isn't ready

    Most AI projects fail at the data layer. Pipelines, quality, access all need work before LLMs can deliver value.

  • Internal teams are stretched

    Your engineers are shipping product. They don't have capacity to also become AI specialists with production-grade experience.

  • Legacy systems block everything

    Aging, undocumented codebases make AI integration slow, risky, and expensive. They need to move first.

Don't worry. We've got you covered.

Start with the audit.

Book a free discovery call