mirror of
https://github.com/balkian/dotfiles.git
synced 2024-11-21 11:42:28 +00:00
Updated vim and scripts
This commit is contained in:
parent
931a9daaa6
commit
7a93605688
2
bin
2
bin
@ -1 +1 @@
|
||||
Subproject commit bc3ea4b0ee59e42dc8a8f6f029d0bdc226ca2a71
|
||||
Subproject commit 8937afdf4e5a770a1b598f374198963d96968d27
|
@ -1,7 +1,7 @@
|
||||
"setlocal formatoptions+=wa
|
||||
|
||||
function! SyncTexForward()
|
||||
let execstr = "silent !okular --unique ".LatexBox_GetOutputFile()."\\#src:".line(".")."%:p &"
|
||||
let execstr = "silent !evince ".LatexBox_GetOutputFile()."\\#src:".line(".")."%:p &"
|
||||
exec execstr
|
||||
endfunction
|
||||
nmap <Leader>f :call SyncTexForward()<CR>
|
||||
@ -14,7 +14,7 @@ set suffixes+=.log,.aux,.bbl,.blg,.idx,.ilg,.ind,.out,.pdf
|
||||
let g:LatexBox_latexmk_options="-pvc"
|
||||
let g:Tex_CompileRule_pdf = 'pdflatex --synctex=1 -interaction=nonstopmode $*'
|
||||
let g:LatexBox_output_type="pdf"
|
||||
let g:LatexBox_viewer="okular --unique"
|
||||
let g:LatexBox_viewer="evince"
|
||||
|
||||
|
||||
let tlist_tex_settings = 'latex;l:labels;s:sections;t:subsections;u:subsubsections'
|
||||
|
5
vimrc
5
vimrc
@ -19,12 +19,13 @@ Bundle "ervandew/supertab"
|
||||
Bundle "majutsushi/tagbar"
|
||||
Bundle "MarcWeber/vim-addon-mw-utils"
|
||||
Bundle "tomtom/tlib_vim"
|
||||
Bundle "honza/snipmate-snippets"
|
||||
Bundle "honza/vim-snippets"
|
||||
Bundle "garbas/vim-snipmate"
|
||||
Bundle "SpellCheck"
|
||||
Bundle "mattn/gist-vim"
|
||||
Bundle "mattn/webapi-vim"
|
||||
Bundle "kien/ctrlp.vim.git"
|
||||
Bundle "klen/python-mode"
|
||||
|
||||
filetype plugin indent on " required!
|
||||
|
||||
@ -67,7 +68,7 @@ noremap \ ,
|
||||
" noremap <silent> ,cc :<C-B>silent <C-E>s/^/<C-R>=escape(b:comment_leader,'\/')<CR>/<CR>:nohlsearch<CR>
|
||||
" noremap <silent> ,cu :<C-B>silent <C-E>s/^\V<C-R>=escape(b:comment_leader,'\/')<CR>//e<CR>:nohlsearch<CR>
|
||||
"
|
||||
imap <C-v> <C-O>"+gP<CR>
|
||||
imap <C-v> <C-O>"+gP
|
||||
noremap <C-S> :w<CR>
|
||||
imap <C-S> <C-O>:w<CR>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user