|
diff --git a/.vimrc b/.vimrc
|
| ... |
| 8 |
Plug 'ctrlpvim/ctrlp.vim' |
8 |
Plug 'ctrlpvim/ctrlp.vim' |
| 9 |
Plug 'dense-analysis/ale' |
9 |
Plug 'dense-analysis/ale' |
| 10 |
Plug 'airblade/vim-gitgutter' |
10 |
Plug 'airblade/vim-gitgutter' |
| 11 |
Plug 'madox2/vim-ai' |
|
|
| 12 |
call plug#end() |
11 |
call plug#end() |
| 13 |
|
12 |
|
| 14 |
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 |
| ... |
| 17 |
set backspace=indent,eol,start completeopt=menuone path+=** |
16 |
set backspace=indent,eol,start completeopt=menuone path+=** |
| 18 |
set foldmethod=syntax foldlevel=99 foldopen= lazyredraw scrolloff=10 |
17 |
set foldmethod=syntax foldlevel=99 foldopen= lazyredraw scrolloff=10 |
| 19 |
set wildignore+=*/.git/*,*/.hg/*,*/.svn/*,*/vendor,tags,*.o,*.a,*.so |
18 |
set wildignore+=*/.git/*,*/.hg/*,*/.svn/*,*/vendor,tags,*.o,*.a,*.so |
| 20 |
set omnifunc=ale#completion#OmniFunc |
|
|
| 21 |
set completeopt=menu,menuone,popup,noselect,noinsert |
19 |
set completeopt=menu,menuone,popup,noselect,noinsert |
| 22 |
set background=dark |
20 |
set background=dark |
| 23 |
colorscheme wildcharm |
21 |
colorscheme wildcharm |
| ... |
| 39 |
nnoremap <leader>t :term<CR> |
37 |
nnoremap <leader>t :term<CR> |
| 40 |
nnoremap <Leader>q :nohlsearch<CR> |
38 |
nnoremap <Leader>q :nohlsearch<CR> |
| 41 |
nnoremap <Leader>e :ALEPopulateQuickfix<CR>:sleep 100m<CR>:copen<CR> |
39 |
nnoremap <Leader>e :ALEPopulateQuickfix<CR>:sleep 100m<CR>:copen<CR> |
| 42 |
nnoremap <leader>w :silent grep! -R "<C-r><C-w>" .<CR>:redraw!<CR>:copen<CR> |
40 |
nnoremap <leader>w :silent! grep! <cword> \| cwindow \| redraw!<CR> |
| 43 |
|
41 |
|
| 44 |
nmap <silent> gr :ALEFindReferences -quickfix<CR>:sleep 100m<CR>:copen<CR> |
42 |
nmap <silent> gr :ALEFindReferences -quickfix<CR>:sleep 100m<CR>:copen<CR> |
| 45 |
nmap <silent> gd :ALEGoToDefinition<CR> |
43 |
nmap <silent> gd :ALEGoToDefinition<CR> |
| 46 |
nmap <silent> re :ALERename<CR> |
44 |
nmap <silent> re :ALERename<CR> |
|
|
45 |
|
|
|
46 |
imap <C-n> <Plug>(ale_complete) |
| 47 |
|
47 |
|
| 48 |
let g:ctrlp_use_caching = 0 |
48 |
let g:ctrlp_use_caching = 0 |
| 49 |
let g:ctrlp_working_path_mode = 'ra' |
49 |
let g:ctrlp_working_path_mode = 'ra' |
| ... |