configuration/config/nvim/ftplugin/markdown.vim

15 lines
307 B
VimL
Raw Normal View History

2015-12-29 21:26:04 +01:00
" Making and showing html
nnoremap <buffer> <Leader>c :terminal markdown '%:p' > '%:p:r.html'<CR>
nnoremap <buffer> <Leader>i :!rifle '%:p:r.html'<CR>
setlocal textwidth=0
setlocal wrapmargin=0
setlocal colorcolumn=0
setlocal wrap
setlocal linebreak
setlocal nolist
nmap <buffer> j gj
nmap <buffer> k gk