mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-10-09 19:11:15 +02:00
opening html/pdf files from corresponding vim by lukesmith added
This commit is contained in:
@@ -99,6 +99,9 @@ autocmd FileType html inoremap ü ü
|
||||
" Compiler for languages
|
||||
map <leader>c :w! \| !compiler <c-r>%<CR>
|
||||
|
||||
" Open corresponding file (pdf/html/...)
|
||||
map <leader>p :!opout <c-r>%<CR><CR>
|
||||
|
||||
" Delete trailing whitespaces on save
|
||||
autocmd BufWritePre * %s/\s\+$//e
|
||||
|
||||
|
Reference in New Issue
Block a user