" Vundle set nocompatible " be iMproved, required filetype off " required " set the runtime path to include Vundle and initialize set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() " alternatively, pass a path where Vundle should install plugins "call vundle#begin('~/some/path/here') " " let Vundle manage Vundle, required Plugin 'gmarik/Vundle.vim' " Multiple cursors Plugin 'terryma/vim-multiple-cursors' " Special syntaxes Plugin 'groenewege/vim-less' " Less Plugin 'digitaltoad/vim-jade' " Jade Plugin 'lervag/vimtex' "TeX " Colour scheme Plugin 'altercation/vim-colors-solarized' " All of your Plugins must be added before the following line call vundle#end() " required filetype plugin indent on " required " To ignore plugin indent changes, instead use: "filetype plugin on " " Brief help " :PluginList - lists configured plugins " :PluginInstall - installs plugins; append `!` to update or just " :PluginUpdate " :PluginSearch foo - searches for foo; append `!` to refresh local cache " :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal " " see :h vundle for more details or wiki for FAQ " Put your non-Plugin stuff after this line set tabstop=4 shiftwidth=4 expandtab set linebreak set nu filetype plugin indent on syntax enable " X clipboard manipulation using xsel " See: http://vim.wikia.com/wiki/Accessing_the_system_clipboard " Use :cz in visual mode to copy to clipboard, :pz for pasting " x instead of z for primary selection, v for secondary selection command -range Cz :silent :,w !xsel -i -b command -range Cx :silent :,w !xsel -i -p command -range Cv :silent :,w !xsel -i -s cabbrev cv Cv cabbrev cz Cz cabbrev cx Cx command -range Pz :silent :r !xsel -o -b command -range Px :silent :r !xsel -o -p command -range Pv :silent :r !xsel -o -s cabbrev pz Pz cabbrev px Px cabbrev pv Pv set background=light colorscheme morning let g:vimtex_latexmk_options = '-pdf -shell-escape' let g:vimtex_latexmk_file_line_error = 0 let g:tex_flavor='latex'