Some markdown mappings
This commit is contained in:
1 parent
44a00206d3
commit
cdbd375a68
1 file changed
+7
@@ -168,6 +168,13 @@ augroup pandoc_syntax
|
|||||||
au! BufNewFile,BufFilePre,BufRead *.md set filetype=markdown.pandoc
|
au! BufNewFile,BufFilePre,BufRead *.md set filetype=markdown.pandoc
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
|
" Markdown table formatting
|
||||||
|
fun FormatMarkdownDashes()
|
||||||
|
s/\v([ -])@<= ([ -])@=/-/g
|
||||||
|
endfun
|
||||||
|
nnoremap ga- :call FormatMarkdownDashes()<enter>
|
||||||
|
nmap ga\| gaip*\|
|
||||||
|
|
||||||
nnoremap <buffer> <CR> <C-]>
|
nnoremap <buffer> <CR> <C-]>
|
||||||
map <Tab> >>
|
map <Tab> >>
|
||||||
map <S-Tab> <<
|
map <S-Tab> <<
|
||||||
|
|||||||
Reference in new issue
Block a user