Updated
Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
parent
c7934633be
commit
614cbc4891
2
.vimrc
2
.vimrc
@ -82,4 +82,4 @@ nnoremap <silent> <C-t> :tabnew <CR>
|
||||
nnoremap <F7> :tabprevious<CR>
|
||||
nnoremap <F8> :tabnext<CR>
|
||||
|
||||
command W :execute ':silent w !sudo tee % > /dev/null' | :edit!
|
||||
cnoremap w!! execute 'silent! write !sudo tee % >/dev/null' <bar> edit!
|
||||
|
@ -97,7 +97,7 @@ nnoremap <F7> :tabprevious<CR>
|
||||
nnoremap <F8> :tabnext<CR>
|
||||
nnoremap <F2> :GoRun<CR>
|
||||
|
||||
command W :execute ':silent w !sudo tee % > /dev/null' | :edit!
|
||||
cnoremap w!! execute 'silent! write !sudo tee % >/dev/null' <bar> edit!
|
||||
|
||||
" latex
|
||||
autocmd BufWritePost *.tex silent! execute "!pdflatex --shell-escape -synctex=1 -interaction=nonstopmode % > /dev/null " | redraw!
|
||||
|
Loading…
Reference in New Issue
Block a user