diff --git a/bin b/bin index bc3ea4b..8937afd 160000 --- a/bin +++ b/bin @@ -1 +1 @@ -Subproject commit bc3ea4b0ee59e42dc8a8f6f029d0bdc226ca2a71 +Subproject commit 8937afdf4e5a770a1b598f374198963d96968d27 diff --git a/vim/ftplugin/tex.vim b/vim/ftplugin/tex.vim index 41c8d57..a59b419 100644 --- a/vim/ftplugin/tex.vim +++ b/vim/ftplugin/tex.vim @@ -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 f :call SyncTexForward() @@ -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' diff --git a/vimrc b/vimrc index 422daf1..c4594f3 100644 --- a/vimrc +++ b/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 ,cc :silent s/^/=escape(b:comment_leader,'\/')/:nohlsearch " noremap ,cu :silent s/^\V=escape(b:comment_leader,'\/')//e:nohlsearch " -imap "+gP +imap "+gP noremap :w imap :w