pumpkin: steam-run: install
[julm/julm-nix.git] / home-manager / profiles / vim / ale.vim
index 708eecc79558d16ee27b188ee1707feb177cde79..1409c65d1c05557d14d31b8e478d0e502d1a1513 100644 (file)
@@ -36,6 +36,10 @@ let g:ale_virtualtext_delay = 10
 "nmap <silent> <C-l> :ALENext<CR>
 nmap <silent> <C-w> :ALEPrevious -wrap -error<CR>
 nmap <silent> <C-e> :ALENext -wrap -error<CR>
+nmap gd :ALEGoToDefinition<CR>
+nmap gm :ALECodeAction<CR>
+"nmap <silent> <C-k> <Plug>(ale_previous_wrap)
+"nmap <silent> <C-l> <Plug>(ale_next_wrap)
 
 function! LinterStatus() abort
   let l:counts = ale#statusline#Count(bufnr(''))
@@ -66,9 +70,6 @@ augroup CloseLoclistWindowGroup
   autocmd QuitPre * if empty(&buftype) | lclose | endif
 augroup END
 
-"nmap <silent> <C-k> <Plug>(ale_previous_wrap)
-"nmap <silent> <C-l> <Plug>(ale_next_wrap)
-
 hi ALEWarningSign ctermbg=darkyellow ctermfg=black
 hi ALEVirtualTextError ctermfg=red
 hi ALEVirtualTextWarning ctermfg=yellow
@@ -116,5 +117,3 @@ let g:ale_completion_symbols = {
 \ 'type_parameter': 'type param',
 \ '<default>': 'v'
 \ }
-
-nmap gd :ALEGoToDefinition<CR>