diff options
Diffstat (limited to '.vimrc')
| -rw-r--r-- | .vimrc | 10 |
1 files changed, 6 insertions, 4 deletions
| @@ -6,13 +6,14 @@ call plug#begin() | |||
| 6 | Plug 'mitjafelicijan/sniper.vim' | 6 | Plug 'mitjafelicijan/sniper.vim' |
| 7 | Plug 'ctrlpvim/ctrlp.vim' | 7 | Plug 'ctrlpvim/ctrlp.vim' |
| 8 | Plug 'dense-analysis/ale' | 8 | Plug 'dense-analysis/ale' |
| 9 | Plug 'airblade/vim-gitgutter' | ||
| 9 | call plug#end() | 10 | call plug#end() |
| 10 | 11 | ||
| 11 | set encoding=utf8 spelllang=en_us laststatus=2 tabstop=4 shiftwidth=4 | 12 | set encoding=utf8 spelllang=en_us laststatus=2 tabstop=4 shiftwidth=4 |
| 12 | set number autoindent cursorline ignorecase hlsearch incsearch signcolumn=yes | 13 | set number autoindent cursorline ignorecase hlsearch incsearch signcolumn=yes |
| 13 | set hidden nowrap nobackup noswapfile noundofile autoread updatetime=300 | 14 | set hidden nowrap nobackup noswapfile noundofile autoread updatetime=300 |
| 14 | set backspace=indent,eol,start completeopt=menuone | 15 | set backspace=indent,eol,start completeopt=menuone path+=** |
| 15 | set path+=** wildignore+=tags,*.o,*.a,*.so | 16 | set wildignore+=*/.git/*,*/.hg/*,*/.svn/*,*/vendor,tags,*.o,*.a,*.so |
| 16 | colorscheme wildcharm | 17 | colorscheme wildcharm |
| 17 | 18 | ||
| 18 | nnoremap <C-Right> :bnext<CR> | 19 | nnoremap <C-Right> :bnext<CR> |
| @@ -33,9 +34,10 @@ nmap <silent> gr :ALEFindReferences -quickfix<CR>:sleep 100m<CR>:copen<CR> | |||
| 33 | nmap <silent> gd :ALEGoToDefinition<CR> | 34 | nmap <silent> gd :ALEGoToDefinition<CR> |
| 34 | nmap <silent> re :ALERename<CR> | 35 | nmap <silent> re :ALERename<CR> |
| 35 | 36 | ||
| 36 | let g:ctrlp_use_caching = 0 | 37 | " let g:ctrlp_use_caching = 0 |
| 37 | let g:ctrlp_working_path_mode = '' | 38 | " let g:ctrlp_working_path_mode = '' |
| 38 | 39 | ||
| 40 | let g:ctrlp_working_path_mode = 'ra' | ||
| 39 | let g:ale_hover_to_floating_preview = 1 | 41 | let g:ale_hover_to_floating_preview = 1 |
| 40 | let g:ale_detail_to_floating_preview = 1 | 42 | let g:ale_detail_to_floating_preview = 1 |
| 41 | let g:ale_floating_window_border = 0 | 43 | let g:ale_floating_window_border = 0 |
