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 'VundleVim/Vundle.vim' " The following are examples of different formats supported. " Keep Plugin commands between vundle#begin/end. " plugin on GitHub repo "##Plugin 'tpope/vim-fugitive' " plugin from http://vim-scripts.org/vim/scripts.html "##Plugin 'L9' " Git plugin not hosted on GitHub "##Plugin 'git://git.wincent.com/command-t.git' " git repos on your local machine (i.e. when working on your own plugin) ""Plugin 'file:///home/gmarik/path/to/plugin' " The sparkup vim script is in a subdirectory of this repo called vim. " Pass the path to set the runtimepath properly. "##Plugin 'rstacruz/sparkup', {'rtp': 'vim/'} " Install L9 and avoid a Naming conflict if you've already installed a " different version somewhere else. ""Plugin 'ascenator/L9', {'name': 'newL9'} " ça va pas, il casse tout "Plugin 'leafgarland/typescript-vim' " 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 nocompatible set showcmd set wildmenu set backspace=eol,start,indent syntax on filetype plugin indent on set mouse=v set number colorscheme zellner highlight LineNr ctermfg=yellow "set autoindent set smartindent set cindent set expandtab set tabstop=4 retab set shiftwidth=4 set ruler set softtabstop=4 " warn > 79 highlight OverLength ctermbg=black ctermfg=gray guibg=#592929 match OverLength /\%80v.\+/ ""highlight ColorColumn ctermbg=gray ""set colorcolumn=80 " language ""set spell spelllang=en_us set spell spelllang=fr set complete+=k " save inoremap :up " remove trailing spaces nnoremap :let _s=@/ :%s/\s\+$//e :let @/=_s :nohl :unlet _s " hit by mistake inoremap "_dda " j but create newline inoremap o set nospell " quick diff buffer vs save command D :w !diff -u % - " force unix mode on write ""set ff=unix " copy-paste using X buffers map :w !xclip vmap "*y map :r!xclip -o " line numbers in netrw file explorer let g:netrw_bufsettings = 'noma nomod nu nobl nowrap ro' " status line set laststatus=2