rst: Move the cursor after inserting title markup

master
Dustin C. Hatch 2012-09-05 18:46:16 -06:00
parent 45a01344f0
commit eef494d261
1 changed files with 5 additions and 5 deletions

View File

@ -2,8 +2,8 @@
setlocal textwidth=79 setlocal textwidth=79
" Title and heading key mappings " Title and heading key mappings
inoremap ,t <ESC><S-V>:t.<Bar>s/./=/g<Bar>t-2<CR>:noh<CR>j2A inoremap ,t <ESC><S-V>:t.<Bar>s/./=/g<Bar>t-2<CR>:noh<CR>2jo<CR>
inoremap ,1 <ESC><S-V>:t.<Bar>s/./=/g<CR>:noh<CR>A inoremap ,1 <ESC><S-V>:t.<Bar>s/./=/g<CR>:noh<CR>o<CR>
inoremap ,2 <ESC><S-V>:t.<Bar>s/./*/g<CR>:noh<CR>A inoremap ,2 <ESC><S-V>:t.<Bar>s/./*/g<CR>:noh<CR>o<CR>
inoremap ,3 <ESC><S-V>:t.<Bar>s/./+/g<CR>:noh<CR>A inoremap ,3 <ESC><S-V>:t.<Bar>s/./+/g<CR>:noh<CR>o<CR>
inoremap ,4 <ESC><S-V>:t.<Bar>s/./-/g<CR>:noh<CR>A inoremap ,4 <ESC><S-V>:t.<Bar>s/./-/g<CR>:noh<CR>o<CR>