vim: map <leader>r to ALERepeatSelection, add -relative flag to ALEFindReferences

feature/improve-speed
bretello 2021-03-14 15:52:03 +01:00
parent d88b203b73
commit 7bdba383c6
Signed by: brethil
GPG Key ID: 876AAC6290170FE7
1 changed files with 2 additions and 1 deletions

View File

@ -67,11 +67,12 @@ nnoremap <leader>H :HighlightCoverageForAll<CR>
" Ale
nmap <silent> <C-k> <Plug>(ale_previous_wrap)
nmap <silent> <C-j> <Plug>(ale_next_wrap)
nmap <leader>R :ALERepeatSelection<CR>
nmap <leader>sv :ALEGoToDefinition -vsplit<CR>
nmap <leader>sh :ALEGoToDefinition -split<CR>
nmap <leader>st :ALEGoToDefinition -tab<CR>
nmap <leader>A :ALEGoToDefinition<CR>
nmap <leader>n :ALEFindReferences<CR>
nmap <leader>n :ALEFindReferences -relative<CR>
nmap <leader>h :ALEHover<CR>
nmap <leader>r :ALERename<CR>
nmap <leader>` :ALELint<CR>