Back to the XOmB OS archive

Using Vim for kernel development

The basics taught by the old wiki and where to find the original examples and the Vim manual.

Using Vim

The wiki's Vim guide taught editing as an incremental skill. The core idea was to practice one movement or command at a time until it becomes routine. In normal mode, Vim treats keys as commands. Use i to start entering text and Escape to return to normal mode. In command-line mode, :w writes the file and :q exits.

The original tutorial also covers movement, search, copying, undo, and macros. Vim's built-in :help and vimtutor are good companions to the archived page because they describe the features of the installed version.