aboutsummaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2026-01-14 03:42:01 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2026-01-14 03:42:01 +0100
commit702e2e031a14b6c11836a5f72a9128e0033949a8 (patch)
treecdad88c8608ca369306381d06ca484ae3173f6ce /.vimrc
parent971e4465e1cac497ffd7c3f0b36ff92bb447d03f (diff)
downloaddotfiles-702e2e031a14b6c11836a5f72a9128e0033949a8.tar.gz
Update
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc12
1 files changed, 7 insertions, 5 deletions
diff --git a/.vimrc b/.vimrc
index 135cdb4..d7328d0 100644
--- a/.vimrc
+++ b/.vimrc
@@ -3,13 +3,14 @@ filetype plugin on
3 3
4call plug#begin() 4call plug#begin()
5 Plug 'tpope/vim-commentary' 5 Plug 'tpope/vim-commentary'
6 Plug 'tpope/vim-fugitive'
6 Plug 'mitjafelicijan/sniper.vim' 7 Plug 'mitjafelicijan/sniper.vim'
7 Plug 'ctrlpvim/ctrlp.vim' 8 Plug 'ctrlpvim/ctrlp.vim'
8 Plug 'dense-analysis/ale' 9 Plug 'dense-analysis/ale'
9call plug#end() 10call plug#end()
10 11
11set encoding=utf8 spelllang=en_us laststatus=2 tabstop=4 shiftwidth=4 12set encoding=utf8 spelllang=en_us laststatus=2 tabstop=4 shiftwidth=4
12set number autoindent cursorline ignorecase hlsearch incsearch 13set number autoindent cursorline ignorecase hlsearch incsearch signcolumn=yes
13set hidden nowrap nobackup noswapfile noundofile autoread updatetime=300 14set hidden nowrap nobackup noswapfile noundofile autoread updatetime=300
14set backspace=indent,eol,start completeopt=menuone 15set backspace=indent,eol,start completeopt=menuone
15set path+=** wildignore+=tags,*.o,*.a,*.so 16set path+=** wildignore+=tags,*.o,*.a,*.so
@@ -17,16 +18,17 @@ colorscheme wildcharm
17 18
18nnoremap <C-Right> :bnext<CR> 19nnoremap <C-Right> :bnext<CR>
19nnoremap <C-Left> :bprevious<CR> 20nnoremap <C-Left> :bprevious<CR>
20nnoremap <C-q> :CtrlPQuickfix<CR> 21nnoremap <C-q> :copen<CR>
21nnoremap <C-b> :CtrlPBuffer<CR> 22nnoremap <C-b> :CtrlPBuffer<CR>
22nnoremap <C-k> :ALEHover<CR> 23nnoremap <C-k> :ALEHover<CR>
23nnoremap <C-j> :ALEDetail<CR> 24nnoremap <C-j> :ALEDetail<CR>
24nnoremap <Leader>d :bd<CR> 25nnoremap <Leader>d :bd<CR>
26nnoremap <leader>t :term<CR>
25nnoremap <Leader>q :nohlsearch<CR> 27nnoremap <Leader>q :nohlsearch<CR>
26nnoremap <Leader>e :ALEPopulateQuickfix<CR>:sleep 100m<CR>:CtrlPQuickfix<CR> 28nnoremap <Leader>e :ALEPopulateQuickfix<CR>:sleep 100m<CR>:copen<CR>
27nnoremap <leader>w :vimgrep /<C-r><C-w>/gj **/*<CR>:CtrlPQuickfix<CR> 29nnoremap <leader>w :vimgrep /<C-r><C-w>/gj **/*<CR>:copenx<CR>
28 30
29nmap <silent> gr :ALEFindReferences -quickfix<CR>:sleep 100m<CR>:CtrlPQuickfix<CR> 31nmap <silent> gr :ALEFindReferences -quickfix<CR>:sleep 100m<CR>:copen<CR>
30nmap <silent> gd :ALEGoToDefinition<CR> 32nmap <silent> gd :ALEGoToDefinition<CR>
31nmap <silent> re :ALERename<CR> 33nmap <silent> re :ALERename<CR>
32 34