blob: 4f8cfbe2e7ce2465bf600262d9b64b3ef4e7278a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
set nocompatible
call plug#begin()
Plug 'tpope/vim-commentary'
Plug 'ctrlpvim/ctrlp.vim'
Plug 'dense-analysis/ale'
Plug 'airblade/vim-gitgutter'
call plug#end()
set laststatus=2 encoding=utf8 spelllang=en_us tabstop=4 shiftwidth=4 path=**
set number relativenumber autoindent cursorline ignorecase signcolumn=yes
set hidden nowrap nobackup noswapfile noundofile autoread updatetime=300
colorscheme wildcharm
nnoremap <C-Right> :bnext<cr>
nnoremap <C-Left> :bprevious<cr>
nnoremap <C-q> :copen<cr>
nnoremap <C-b> :CtrlPBuffer<cr>
nnoremap <Leader>e :nohlsearch<cr>
nnoremap <Leader>q :ALEHover<cr>
nnoremap <Leader>w :ALEDetail<cr>
nnoremap <Leader>gc :r !< % lazycommit<cr>
nmap <silent> gr :ALEFindReferences<cr>
nmap <silent> gd :ALEGoToDefinition<cr>
nmap <silent> re :ALERename<cr>
let g:ctrlp_use_caching = 0
let g:ale_completion_enabled = 0
let g:ale_hover_to_floating_preview = 1
let g:ale_detail_to_floating_preview = 1
let g:ale_virtualtext_cursor = 0
let g:ale_set_quickfix = 1
|