Skip to content

vim setup for editing rst files

Pavol Juhas edited this page Dec 10, 2013 · 1 revision

Here is a vim setup that should ease writing of rst files that follow Python documentation guidelines.

  1. make sure your ~/.vimrc file contains the following line:
    filetype plugin indent on
  2. create directory ~/.vim/ftplugin/ if it does not exist yet
    mkdir -p ~/.vim/ftplugin/
  3. copy there the rst.vim file.

You may need to restart vim if step 1 has not been done before.

Clone this wiki locally