mirror of
https://github.com/balkian/dotfiles.git
synced 2025-08-23 00:02:19 +00:00
Updated vim and scripts
This commit is contained in:
2
bin
2
bin
Submodule bin updated: bc3ea4b0ee...8937afdf4e
@@ -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>
|
||||
|
||||
|
Reference in New Issue
Block a user