99ffa357209c

ReST mappings.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Fri, 27 May 2011 18:03:31 -0400
parents 261369294818
children 32c139c3405e
branches/tags (none)
files .hgsubstate vim/.vimrc

Changes

--- a/.hgsubstate	Fri May 27 10:34:07 2011 -0400
+++ b/.hgsubstate	Fri May 27 18:03:31 2011 -0400
@@ -2,7 +2,7 @@
 b6be751b4b4391e7e25ba51e36300a8e04820846 vim/bundle/ack
 bfdf714f8ea10a6bcba7a1375a5700b11077dcd9 vim/bundle/command-t
 24c9f6c5974d1838a2e1db8c58bf4160298433a2 vim/bundle/easymotion
-2043d87230969829c6635cf9f591514438a83ef5 vim/bundle/gundo
+93b8bc15d06b489433afe8c874cd36b6bbcaee8f vim/bundle/gundo
 1535425d6987812aa87e2123d0e509b847b893d5 vim/bundle/html5
 34e28b3f6f6d702ff2963b8196eccae9344ed4bc vim/bundle/markdown
 930be32a23e902ddc46135ddbb9e76b0fac0c14b vim/bundle/nerdcommenter
--- a/vim/.vimrc	Fri May 27 10:34:07 2011 -0400
+++ b/vim/.vimrc	Fri May 27 18:03:31 2011 -0400
@@ -421,6 +421,14 @@
 au BufRead,BufNewFile ~/Library/Caches/* setlocal buftype=nofile
 
 " }}}
+" ReStructuredText {{{
+
+au Filetype rst nnoremap <buffer> <localleader>1 yypVr=
+au Filetype rst nnoremap <buffer> <localleader>2 yypVr-
+au Filetype rst nnoremap <buffer> <localleader>3 yypVr~
+au Filetype rst nnoremap <buffer> <localleader>4 yypVr`
+
+" }}}
 
 " }}}
 " Convenience mappings -------------------------------------------------------- {{{