|
diff --git a/.vimrc b/.vimrc
|
| ... |
| 3 |
|
3 |
|
| 4 |
call plug#begin() |
4 |
call plug#begin() |
| 5 |
Plug 'tpope/vim-commentary' |
5 |
Plug 'tpope/vim-commentary' |
| 6 |
Plug 'mitjafelicijan/sniper.vim' |
|
|
| 7 |
Plug 'mitjafelicijan/c3.vim' |
|
|
| 8 |
Plug 'ctrlpvim/ctrlp.vim' |
6 |
Plug 'ctrlpvim/ctrlp.vim' |
| 9 |
Plug 'dense-analysis/ale' |
7 |
Plug 'dense-analysis/ale' |
| 10 |
Plug 'airblade/vim-gitgutter' |
8 |
Plug 'airblade/vim-gitgutter' |
|
|
9 |
Plug 'mitjafelicijan/sniper.vim' |
|
|
10 |
Plug 'mitjafelicijan/c3.vim' |
| 11 |
call plug#end() |
11 |
call plug#end() |
| 12 |
|
12 |
|
| 13 |
set encoding=utf8 spelllang=en_us laststatus=2 tabstop=4 shiftwidth=4 |
13 |
set encoding=utf8 spelllang=en_us laststatus=2 tabstop=4 shiftwidth=4 |
| ... |
| 25 |
set grepformat=%f:%l:%c:%m |
25 |
set grepformat=%f:%l:%c:%m |
| 26 |
endif |
26 |
endif |
| 27 |
|
27 |
|
| 28 |
nnoremap <C-Right> :bnext<CR> |
28 |
nnoremap <C-Right> :bnext<CR> |
| 29 |
nnoremap <C-Left> :bprevious<CR> |
29 |
nnoremap <C-Left> :bprevious<CR> |
| 30 |
nnoremap <M-Right> :cnext<CR> |
30 |
nnoremap <M-Right> :cnext<CR> |
| 31 |
nnoremap <M-Left> :cprevious<CR> |
31 |
nnoremap <M-Left> :cprevious<CR> |
| 32 |
nnoremap <C-q> :copen<CR> |
32 |
nnoremap <C-q> :copen<CR> |
| 33 |
nnoremap <C-b> :CtrlPBuffer<CR> |
33 |
nnoremap <C-b> :CtrlPBuffer<CR> |
| 34 |
nnoremap <C-k> :ALEHover<CR> |
34 |
nnoremap <C-k> :ALEHover<CR> |
| 35 |
nnoremap <C-j> :ALEDetail<CR> |
35 |
nnoremap <C-j> :ALEDetail<CR> |
| 36 |
nnoremap <Leader>d :bd<CR> |
36 |
nnoremap <Leader>d :bd<CR> |
| 37 |
nnoremap <Leader>q :nohlsearch<CR> |
37 |
nnoremap <Leader>q :nohlsearch<CR> |
| 38 |
nnoremap <Leader>e :ALEPopulateQuickfix<CR>:sleep 100m<CR>:copen<CR> |
38 |
nnoremap <Leader>e :ALEPopulateQuickfix<CR>:sleep 100m<CR>:copen<CR> |
| 39 |
nnoremap <leader>w :silent! grep! <cword> \| cwindow \| redraw!<CR> |
39 |
nnoremap <leader>w :silent! grep! <cword> \| cwindow \| redraw!<CR> |
| 40 |
|
40 |
nnoremap <A-Down> :m .+1<CR>== |
| 41 |
nmap <silent> gr :ALEFindReferences -quickfix<CR>:sleep 100m<CR>:copen<CR> |
41 |
nnoremap <A-Up> :m .-2<CR>== |
| 42 |
nmap <silent> gd :ALEGoToDefinition<CR> |
42 |
nnoremap <A-Right> >> |
| 43 |
nmap <silent> re :ALERename<CR> |
43 |
nnoremap <A-Left> << |
| 44 |
|
44 |
vnoremap <A-Down> :m '>+1<CR>gv=gv |
| 45 |
imap <C-n> <Plug>(ale_complete) |
45 |
vnoremap <A-Up> :m '<-2<CR>gv=gv |
| 46 |
|
46 |
vnoremap <A-Right> >gv |
| 47 |
nnoremap <A-Down> :m .+1<CR>== |
47 |
vnoremap <A-Left> <gv |
| 48 |
nnoremap <A-Up> :m .-2<CR>== |
48 |
nmap <silent> gr :ALEFindReferences -quickfix<CR>:sleep 100m<CR>:copen<CR> |
| 49 |
nnoremap <A-Right> >> |
49 |
nmap <silent> gd :ALEGoToDefinition<CR> |
| 50 |
nnoremap <A-Left> << |
50 |
nmap <silent> re :ALERename<CR> |
| 51 |
vnoremap <A-Down> :m '>+1<CR>gv=gv |
51 |
imap <C-n> <Plug>(ale_complete) |
| 52 |
vnoremap <A-Up> :m '<-2<CR>gv=gv |
|
|
| 53 |
vnoremap <A-Right> >gv |
|
|
| 54 |
vnoremap <A-Left> <gv |
|
|
| 55 |
|
52 |
|
| 56 |
let g:ctrlp_use_caching = 0 |
53 |
let g:ctrlp_use_caching = 0 |
| 57 |
let g:ctrlp_show_hidden = 1 |
54 |
let g:ctrlp_show_hidden = 1 |
| ... |