dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit c324ffea09c2ebeb29004e6cb8eee7cafb06796a
parent 20282c5006bc782c9836ca3458c4de50b93ad5d5
Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de>
Date:   Thu, 11 Apr 2019 12:55:33 +0200

Specify pandoc input format

Diffstat:
Mvim/vimrc | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/vim/vimrc b/vim/vimrc @@ -24,6 +24,11 @@ if has("autocmd") au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif endif +" Change leader key +let mapleader = ',' +" Set the time the leader key is active (in ms) +set timeoutlen=4000 + " status line set laststatus=2 set statusline= @@ -48,5 +53,5 @@ call plug#end() command! -nargs=* RunSilent \ | execute ':silent !'.'<args>' \ | execute ':redraw!' -nmap <Leader>pc :RunSilent pandoc -o /tmp/vim-pandoc-out.pdf %<CR> +nmap <Leader>pc :RunSilent pandoc -f markdown -o /tmp/vim-pandoc-out.pdf %<CR> nmap <Leader>pp :RunSilent xdg-open /tmp/vim-pandoc-out.pdf &<CR>