diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2025-08-03 23:16:02 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2025-08-03 23:16:02 +0200 |
| commit | c7e39fec3c9e72c721bd3d8bf855a0b52f3e5bca (patch) | |
| tree | 0991c5471b866844911c994befe63d0e021b78ef /.vimrc | |
| parent | 222b60120c8db5aeb3d1e00fef8d4347bd3a8e30 (diff) | |
| download | dotfiles-c7e39fec3c9e72c721bd3d8bf855a0b52f3e5bca.tar.gz | |
Update
Diffstat (limited to '.vimrc')
| -rw-r--r-- | .vimrc | 9 |
1 files changed, 4 insertions, 5 deletions
| @@ -7,11 +7,10 @@ call plug#begin() | |||
| 7 | Plug 'ctrlpvim/ctrlp.vim' | 7 | Plug 'ctrlpvim/ctrlp.vim' |
| 8 | call plug#end() | 8 | call plug#end() |
| 9 | 9 | ||
| 10 | set laststatus=2 encoding=utf8 spelllang=en_us tabstop=4 shiftwidth=4 | 10 | set path+=** laststatus=2 encoding=utf8 spelllang=en_us tabstop=4 shiftwidth=4 |
| 11 | set number relativenumber autoindent cursorline ignorecase signcolumn=yes | 11 | set number relativenumber autoindent cursorline ignorecase signcolumn=yes |
| 12 | set hidden nowrap nobackup noswapfile noundofile autoread updatetime=300 | 12 | set hidden nowrap nobackup noswapfile noundofile autoread updatetime=300 |
| 13 | set hlsearch incsearch backspace=indent,eol,start path+=** | 13 | set hlsearch incsearch backspace=indent,eol,start completeopt=menuone |
| 14 | set completeopt=menuone,noinsert,noselect,longest | ||
| 15 | colorscheme wildcharm | 14 | colorscheme wildcharm |
| 16 | 15 | ||
| 17 | nnoremap <C-Right> :bnext<cr> | 16 | nnoremap <C-Right> :bnext<cr> |
| @@ -19,8 +18,8 @@ nnoremap <C-Left> :bprevious<cr> | |||
| 19 | nnoremap <C-q> :copen<cr> | 18 | nnoremap <C-q> :copen<cr> |
| 20 | nnoremap <C-b> :CtrlPBuffer<cr> | 19 | nnoremap <C-b> :CtrlPBuffer<cr> |
| 21 | nnoremap <Leader>q :nohlsearch<cr> | 20 | nnoremap <Leader>q :nohlsearch<cr> |
| 22 | nnoremap <Leader>c :silent call system('ctags -R .')<CR> | 21 | nnoremap <Leader>c :silent call system('ctags --c++-kinds=+p -R .')<CR> |
| 23 | nnoremap <leader>g :vimgrep /<C-r><C-w>/ %<CR>:copen<CR> | 22 | nnoremap <leader>g :vimgrep /<C-r><C-w>/ **/*<CR>:copen<CR> |
| 24 | 23 | ||
| 25 | let g:ctrlp_use_caching = 0 | 24 | let g:ctrlp_use_caching = 0 |
| 26 | let g:ctrlp_working_path_mode = '' | 25 | let g:ctrlp_working_path_mode = '' |
