|
diff --git a/.vim/vimrc b/.vim/vimrc
|
| ... |
| 2 |
filetype plugin on |
2 |
filetype plugin on |
| 3 |
syntax on |
3 |
syntax on |
| 4 |
|
4 |
|
| 5 |
set encoding=utf8 spelllang=en_us laststatus=2 " tabstop=4 shiftwidth=4 |
5 |
set encoding=utf8 spelllang=en_us laststatus=2 tabstop=4 shiftwidth=4 |
| 6 |
set number autoindent cursorline ignorecase hlsearch incsearch signcolumn=yes |
6 |
set number autoindent cursorline ignorecase hlsearch incsearch signcolumn=yes |
| 7 |
set hidden nowrap nobackup noswapfile noundofile autoread updatetime=100 |
7 |
set hidden nowrap nobackup noswapfile noundofile autoread updatetime=100 |
| 8 |
set backspace=indent,eol,start completeopt=menuone path+=** |
8 |
set backspace=indent,eol,start completeopt=menuone path+=** |
| 9 |
set foldmethod=syntax foldlevel=99 foldopen= lazyredraw scrolloff=10 |
9 |
set foldmethod=syntax foldlevel=99 foldopen= lazyredraw scrolloff=10 |
| 10 |
set wildignore+=*/.git/*,*/.hg/*,*/.svn/*,*/vendor,tags,*.o,*.a,*.so |
10 |
set wildignore+=*/.git/*,*/.hg/*,*/.svn/*,*/vendor,tags,*.o,*.a,*.so |
| 11 |
set completeopt=menu,menuone,popup,noselect,noinsert complete+=t |
11 |
set completeopt=menu,menuone,popup,noselect,noinsert complete+=t |
|
|
12 |
set omnifunc=ale#completion#OmniFunc |
| 12 |
set background=dark |
13 |
set background=dark |
| 13 |
colorscheme wildcharm |
14 |
colorscheme wildcharm |
| 14 |
|
15 |
|
| ... |
| 20 |
nnoremap <Leader>q :nohlsearch<CR> |
21 |
nnoremap <Leader>q :nohlsearch<CR> |
| 21 |
nnoremap <leader>w :silent! grep! <cword> \| cwindow \| redraw!<CR> |
22 |
nnoremap <leader>w :silent! grep! <cword> \| cwindow \| redraw!<CR> |
| 22 |
|
23 |
|
|
|
24 |
nnoremap <C-k> :ALEHover<CR> |
|
|
25 |
nnoremap <C-j> :ALEDetail<CR> |
|
|
26 |
nmap <silent> gr :ALEFindReferences -quickfix<CR>:sleep 100m<CR>:copen<CR> |
|
|
27 |
nmap <silent> gd :ALEGoToDefinition<CR> |
|
|
28 |
nmap <silent> re :ALERename<CR> |
|
|
29 |
imap <C-n> <Plug>(ale_complete) |
|
|
30 |
|
| 23 |
let g:ctrlp_use_caching = 0 |
31 |
let g:ctrlp_use_caching = 0 |
| 24 |
let g:ctrlp_show_hidden = 1 |
32 |
let g:ctrlp_show_hidden = 1 |
| 25 |
let g:ctrlp_working_path_mode = 'ra' |
33 |
let g:ctrlp_working_path_mode = 'ra' |
|
|
34 |
let g:ale_hover_to_floating_preview = 1 |
|
|
35 |
let g:ale_detail_to_floating_preview = 1 |
|
|
36 |
let g:ale_floating_window_border = 0 |
|
|
37 |
let g:ale_virtualtext_cursor = 0 |
|
|
38 |
let g:ale_set_quickf = 1 |