aboutsummaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc9
1 files changed, 4 insertions, 5 deletions
diff --git a/.vimrc b/.vimrc
index 2bbfebf..36c721e 100644
--- a/.vimrc
+++ b/.vimrc
@@ -7,11 +7,10 @@ call plug#begin()
7 Plug 'ctrlpvim/ctrlp.vim' 7 Plug 'ctrlpvim/ctrlp.vim'
8call plug#end() 8call plug#end()
9 9
10set laststatus=2 encoding=utf8 spelllang=en_us tabstop=4 shiftwidth=4 10set path+=** laststatus=2 encoding=utf8 spelllang=en_us tabstop=4 shiftwidth=4
11set number relativenumber autoindent cursorline ignorecase signcolumn=yes 11set number relativenumber autoindent cursorline ignorecase signcolumn=yes
12set hidden nowrap nobackup noswapfile noundofile autoread updatetime=300 12set hidden nowrap nobackup noswapfile noundofile autoread updatetime=300
13set hlsearch incsearch backspace=indent,eol,start path+=** 13set hlsearch incsearch backspace=indent,eol,start completeopt=menuone
14set completeopt=menuone,noinsert,noselect,longest
15colorscheme wildcharm 14colorscheme wildcharm
16 15
17nnoremap <C-Right> :bnext<cr> 16nnoremap <C-Right> :bnext<cr>
@@ -19,8 +18,8 @@ nnoremap <C-Left> :bprevious<cr>
19nnoremap <C-q> :copen<cr> 18nnoremap <C-q> :copen<cr>
20nnoremap <C-b> :CtrlPBuffer<cr> 19nnoremap <C-b> :CtrlPBuffer<cr>
21nnoremap <Leader>q :nohlsearch<cr> 20nnoremap <Leader>q :nohlsearch<cr>
22nnoremap <Leader>c :silent call system('ctags -R .')<CR> 21nnoremap <Leader>c :silent call system('ctags --c++-kinds=+p -R .')<CR>
23nnoremap <leader>g :vimgrep /<C-r><C-w>/ %<CR>:copen<CR> 22nnoremap <leader>g :vimgrep /<C-r><C-w>/ **/*<CR>:copen<CR>
24 23
25let g:ctrlp_use_caching = 0 24let g:ctrlp_use_caching = 0
26let g:ctrlp_working_path_mode = '' 25let g:ctrlp_working_path_mode = ''