diff options
Diffstat (limited to 'vim/vimrc.symlink')
-rw-r--r-- | vim/vimrc.symlink | 60 |
1 files changed, 28 insertions, 32 deletions
diff --git a/vim/vimrc.symlink b/vim/vimrc.symlink index 6e89276..0478767 100644 --- a/vim/vimrc.symlink +++ b/vim/vimrc.symlink @@ -5,40 +5,25 @@ 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 Plugin 'norm2782/vim-clean' " Clean -" Colour scheme -Plugin 'altercation/vim-colors-solarized' +" Other plugins +Plugin 'terryma/vim-multiple-cursors' " Multiple cursors +Plugin 'scrooloose/syntastic' " Syntastic +Plugin 'altercation/vim-colors-solarized' " Colour scheme -" 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 +" End Vundle +" Common settings set tabstop=4 shiftwidth=4 set cc=80 set linebreak @@ -48,6 +33,27 @@ set dir=~/swp filetype plugin indent on syntax enable +set background=light +colorscheme morning + +" Syntastic +set statusline+=%#warningmsg# +set statusline+=%{SyntasticStatuslineFlag()} +set statusline+=%* + +let g:syntastic_always_populate_loc_list = 1 +let g:syntastic_auto_loc_list = 1 +let g:syntastic_check_on_open = 1 +let g:syntastic_check_on_wq = 0 + +" VimTeX +let g:vimtex_latexmk_options = '-pdf -shell-escape -enable-pipes' +let g:vimtex_latexmk_file_line_error = 0 +let g:tex_flavor='latex' + +" Mutt +au BufRead /tmp/mutt-* set tw=72 + " 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 @@ -67,13 +73,3 @@ cabbrev pz Pz cabbrev px Px cabbrev pv Pv -set background=light -colorscheme morning - -let g:vimtex_latexmk_options = '-pdf -shell-escape -enable-pipes' -let g:vimtex_latexmk_file_line_error = 0 - -let g:tex_flavor='latex' - -au BufRead /tmp/mutt-* set tw=72 - |