Browse Source

Added vim navigation mappings for Ale warnings/errors.

master
Daniel Sissom 5 years ago
parent
commit
0d34a0be7e
Signed by untrusted user who does not match committer: djsissom GPG Key ID: 2C30FFB796852389
1 changed files with 6 additions and 0 deletions
  1. + 6
    - 0
      vim/vimrc

+ 6
- 0
vim/vimrc

@ -152,6 +152,12 @@ call plug#end()
" press / instead of _ " press / instead of _
nnoremap <C-_> :NERDTreeToggle<CR> nnoremap <C-_> :NERDTreeToggle<CR>
nnoremap <F2> :ALEToggle<CR> nnoremap <F2> :ALEToggle<CR>
nmap <silent> [W <Plug>(ale_first)
nmap <silent> ]W <Plug>(ale_last)
nmap <silent> [w <Plug>(ale_previous_wrap)
nmap <silent> ]w <Plug>(ale_next_wrap)
nmap <silent> [e <Plug>(ale_previous_wrap_error)
nmap <silent> ]e <Plug>(ale_next_wrap_error)
let g:ycm_autoclose_preview_window_after_insertion = 1 let g:ycm_autoclose_preview_window_after_insertion = 1

Loading…
Cancel
Save