mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-22 11:31:30 +01:00
vim: map <leader>r to ALERepeatSelection, add -relative flag to ALEFindReferences
This commit is contained in:
parent
d88b203b73
commit
7bdba383c6
|
@ -67,11 +67,12 @@ nnoremap <leader>H :HighlightCoverageForAll<CR>
|
||||||
" Ale
|
" Ale
|
||||||
nmap <silent> <C-k> <Plug>(ale_previous_wrap)
|
nmap <silent> <C-k> <Plug>(ale_previous_wrap)
|
||||||
nmap <silent> <C-j> <Plug>(ale_next_wrap)
|
nmap <silent> <C-j> <Plug>(ale_next_wrap)
|
||||||
|
nmap <leader>R :ALERepeatSelection<CR>
|
||||||
nmap <leader>sv :ALEGoToDefinition -vsplit<CR>
|
nmap <leader>sv :ALEGoToDefinition -vsplit<CR>
|
||||||
nmap <leader>sh :ALEGoToDefinition -split<CR>
|
nmap <leader>sh :ALEGoToDefinition -split<CR>
|
||||||
nmap <leader>st :ALEGoToDefinition -tab<CR>
|
nmap <leader>st :ALEGoToDefinition -tab<CR>
|
||||||
nmap <leader>A :ALEGoToDefinition<CR>
|
nmap <leader>A :ALEGoToDefinition<CR>
|
||||||
nmap <leader>n :ALEFindReferences<CR>
|
nmap <leader>n :ALEFindReferences -relative<CR>
|
||||||
nmap <leader>h :ALEHover<CR>
|
nmap <leader>h :ALEHover<CR>
|
||||||
nmap <leader>r :ALERename<CR>
|
nmap <leader>r :ALERename<CR>
|
||||||
nmap <leader>` :ALELint<CR>
|
nmap <leader>` :ALELint<CR>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user