opout script added for opening .pdfs from vim

This commit is contained in:
Luke Smith
2018-07-30 01:19:40 -04:00
parent 7805bedbce
commit e4a64f6527
3 changed files with 18 additions and 1 deletions

2
.vimrc
View File

@@ -46,7 +46,7 @@ let mapleader =" "
nnoremap S :%s//g<Left><Left>
" Open corresponding.pdf
map <leader>p :!zathura <c-r>%<backspace><backspace><backspace>pdf &<CR><CR>
map <leader>p :!opout <c-r>%<CR><CR>
" Compile document
map <leader>c :!compiler <c-r>%<CR>