Spot an error? Know how to make this page better? I appreciate pull requests.


Notes for neovim (which should mostly work in vim)

Commonly Used Commands

I use neovim daily, but most of these commands should work in vanilla vim too.

Diff Operations


Text Insertion

When pasting code use :set paste to preserve indenting of pasted code.

Text Wrapping

Wrap code to textwidth: gq