mirror of
https://github.com/balkian/dotfiles.git
synced 2025-08-23 08:02:19 +00:00
First commit
This commit is contained in:
11
vim/ftplugin/tex.vim
Normal file
11
vim/ftplugin/tex.vim
Normal file
@@ -0,0 +1,11 @@
|
||||
setlocal formatoptions+=wa
|
||||
|
||||
function! SyncTexForward()
|
||||
let execstr = "silent !okular --unique ".LatexBox_GetOutputFile()."\\#src:".line(".")."%:p &"
|
||||
exec execstr
|
||||
endfunction
|
||||
nmap <Leader>f :call SyncTexForward()<CR>
|
||||
map <leader>ct yyp:s/begin/end/<CR>
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user