rst: Move the cursor after inserting title markup
parent
45a01344f0
commit
eef494d261
|
@ -2,8 +2,8 @@
|
|||
setlocal textwidth=79
|
||||
|
||||
" Title and heading key mappings
|
||||
inoremap ,t <ESC><S-V>:t.<Bar>s/./=/g<Bar>t-2<CR>:noh<CR>j2A
|
||||
inoremap ,1 <ESC><S-V>:t.<Bar>s/./=/g<CR>:noh<CR>A
|
||||
inoremap ,2 <ESC><S-V>:t.<Bar>s/./*/g<CR>:noh<CR>A
|
||||
inoremap ,3 <ESC><S-V>:t.<Bar>s/./+/g<CR>:noh<CR>A
|
||||
inoremap ,4 <ESC><S-V>:t.<Bar>s/./-/g<CR>:noh<CR>A
|
||||
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>o<CR>
|
||||
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>o<CR>
|
||||
inoremap ,4 <ESC><S-V>:t.<Bar>s/./-/g<CR>:noh<CR>o<CR>
|
||||
|
|
Reference in New Issue