Added some key bindings for reStructuredText titles/headings

This commit is contained in:
Dustin C. Hatch
2012-02-11 12:36:01 -06:00
parent 9b6a49d823
commit 17be127868

5
ftplugin/rst.vim Normal file
View File

@@ -0,0 +1,5 @@
nnoremap ,t <S-V>:t.<Bar>s/./=/g<Bar>t-2<CR>:noh<CR>
nnoremap ,1 <S-V>:t.<Bar>s/./=/g<CR>:noh<CR>
nnoremap ,2 <S-V>:t.<Bar>s/./*/g<CR>:noh<CR>
nnoremap ,3 <S-V>:t.<Bar>s/./+/g<CR>:noh<CR>
nnoremap ,4 <S-V>:t.<Bar>s/./-/g<CR>:noh<CR>