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