diff options
| -rw-r--r-- | .vimrc | 7 |
1 files changed, 4 insertions, 3 deletions
| @@ -8,9 +8,10 @@ call plug#begin() | |||
| 8 | call plug#end() | 8 | call plug#end() |
| 9 | 9 | ||
| 10 | set encoding=utf8 spelllang=en_us laststatus=2 tabstop=4 shiftwidth=4 | 10 | set encoding=utf8 spelllang=en_us laststatus=2 tabstop=4 shiftwidth=4 |
| 11 | set path+=** number autoindent cursorline ignorecase hlsearch incsearch | 11 | set number autoindent cursorline ignorecase hlsearch incsearch |
| 12 | set hidden nowrap nobackup noswapfile noundofile autoread updatetime=300 | 12 | set hidden nowrap nobackup noswapfile noundofile autoread updatetime=300 |
| 13 | set backspace=indent,eol,start completeopt=menuone grepprg=rg\ --vimgrep | 13 | set backspace=indent,eol,start completeopt=menuone |
| 14 | set path+=** wildignore+=tags,*.o,*.a,*.so | ||
| 14 | colorscheme wildcharm | 15 | colorscheme wildcharm |
| 15 | 16 | ||
| 16 | nnoremap <C-Right> :bnext<cr> | 17 | nnoremap <C-Right> :bnext<cr> |
| @@ -19,7 +20,7 @@ nnoremap <C-q> :copen<cr> | |||
| 19 | nnoremap <C-b> :CtrlPBuffer<cr> | 20 | nnoremap <C-b> :CtrlPBuffer<cr> |
| 20 | nnoremap <Leader>q :nohlsearch<cr> | 21 | nnoremap <Leader>q :nohlsearch<cr> |
| 21 | nnoremap <Leader>c :silent call system('ctags --c++-kinds=+p -R .')<CR> | 22 | nnoremap <Leader>c :silent call system('ctags --c++-kinds=+p -R .')<CR> |
| 22 | nnoremap <leader>r :grep <C-r><C-w><CR>:copen<CR> | 23 | nnoremap <leader>g :vimgrep /<C-r><C-w>/gj **/*<CR>:copen<CR> |
| 23 | 24 | ||
| 24 | let g:ctrlp_use_caching = 0 | 25 | let g:ctrlp_use_caching = 0 |
| 25 | let g:ctrlp_working_path_mode = '' | 26 | let g:ctrlp_working_path_mode = '' |
