diff options
Diffstat (limited to 'vim')
-rw-r--r-- | vim/vimrc.symlink | 32 |
1 files changed, 20 insertions, 12 deletions
diff --git a/vim/vimrc.symlink b/vim/vimrc.symlink index b90f0cb..2604495 100644 --- a/vim/vimrc.symlink +++ b/vim/vimrc.symlink @@ -7,20 +7,19 @@ set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() " let Vundle manage Vundle, required -Plugin 'gmarik/Vundle.vim' +Plugin 'gmarik/Vundle.vim', {'pinned': 1} " Special syntaxes -Plugin 'groenewege/vim-less' " Less -Plugin 'digitaltoad/vim-jade' " Jade -Plugin 'lervag/vimtex' " TeX -Plugin 'norm2782/vim-clean' " Clean +Plugin 'groenewege/vim-less' " Less +Plugin 'digitaltoad/vim-jade' " Jade +Plugin 'lervag/vimtex' " TeX +Plugin 'timjs/vim-clean' " Clean " Other plugins -Plugin 'terryma/vim-multiple-cursors' " Multiple cursors -Plugin 'scrooloose/syntastic' " Syntastic -Plugin 'altercation/vim-colors-solarized' " Colour scheme +Plugin 'terryma/vim-multiple-cursors' " Multiple cursors +Plugin 'camilstaps/syntastic' " Syntastic -call vundle#end() " required +call vundle#end() " End Vundle " Common settings @@ -29,12 +28,22 @@ set cc=80 set linebreak set nu set dir=~/swp +set listchars=nbsp:¬,tab:▸\ ,extends:»,precedes:«,trail:• +set list + +" Move through long lines as they were short multiple lines +map j gj +map k gk filetype plugin indent on syntax enable -set background=light -colorscheme morning +command! -nargs=1 Silent + \ | execute ':silent '.<q-args> + \ | execute ':redraw!' + +command! -nargs=0 Smake + \ | execute ':Silent make' " Syntastic set statusline+=%#warningmsg# @@ -76,4 +85,3 @@ command -range Pv :silent :r !xsel -o -s cabbrev pz Pz cabbrev px Px cabbrev pv Pv - |