diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2021-07-23 14:30:09 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2021-07-23 14:30:09 +0200 |
| commit | 3037d6bd668640f618b9da384b20058b8e73a974 (patch) | |
| tree | 7dce987726a62c78ad542790739fcdedfc5bdffb /config/vim | |
| parent | 0f224c6f8b0fb84c0e14c077019e2ace12874163 (diff) | |
| parent | 3cec0350754c8ac948df5b857baa5dfd5e93bb45 (diff) | |
| download | dotfiles-3037d6bd668640f618b9da384b20058b8e73a974.tar.gz dotfiles-3037d6bd668640f618b9da384b20058b8e73a974.tar.bz2 dotfiles-3037d6bd668640f618b9da384b20058b8e73a974.zip | |
Merge branch 'master' of github.com:cacharle/dotfiles
Diffstat (limited to 'config/vim')
| -rw-r--r-- | config/vim/vimrc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/config/vim/vimrc b/config/vim/vimrc index 13e5220..7d2441b 100644 --- a/config/vim/vimrc +++ b/config/vim/vimrc @@ -272,6 +272,7 @@ augroup vimrc_files autocmd Filetype vim setlocal foldmethod=marker " vim fold method to marker autocmd FileType haskell set formatprg=stylish-haskell autocmd FileType lisp,html,css,htmldjango setlocal shiftwidth=2 + autocmd Filetype markdown nnoremap <leader>r :execute 'silent !pandoc % -o %:r.pdf &' \| redraw! \| echom 'Converting to pdf: ' . expand('%:r') . '.pdf'<CR> augroup END " }}} @@ -334,5 +335,3 @@ nnoremap <leader>ss :setlocal spell!<CR> hi link juliaFunctionCall Identifier hi link juliaParDelim Delimiter - -autocmd Filetype markdown nnoremap <leader>r :execute 'silent !pandoc % -o %:r.pdf &' \| redraw! \| echom 'Converting to pdf: ' . expand('%:r') . '.pdf'<CR> |
