From 17be127868f4a3b465c43b093a5f584c9a224311 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Sat, 11 Feb 2012 12:36:01 -0600 Subject: [PATCH] Added some key bindings for reStructuredText titles/headings --- ftplugin/rst.vim | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 ftplugin/rst.vim diff --git a/ftplugin/rst.vim b/ftplugin/rst.vim new file mode 100644 index 0000000..87cde23 --- /dev/null +++ b/ftplugin/rst.vim @@ -0,0 +1,5 @@ +nnoremap ,t :t.s/./=/gt-2:noh +nnoremap ,1 :t.s/./=/g:noh +nnoremap ,2 :t.s/./*/g:noh +nnoremap ,3 :t.s/./+/g:noh +nnoremap ,4 :t.s/./-/g:noh