From 7bdba383c6da318ccd75c2b72990872087b01f86 Mon Sep 17 00:00:00 2001 From: bretello Date: Sun, 14 Mar 2021 15:52:03 +0100 Subject: [PATCH] vim: map r to ALERepeatSelection, add -relative flag to ALEFindReferences --- vim/shortcuts.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vim/shortcuts.vim b/vim/shortcuts.vim index ce82eec..0f5bb23 100644 --- a/vim/shortcuts.vim +++ b/vim/shortcuts.vim @@ -67,11 +67,12 @@ nnoremap H :HighlightCoverageForAll " Ale nmap (ale_previous_wrap) nmap (ale_next_wrap) +nmap R :ALERepeatSelection nmap sv :ALEGoToDefinition -vsplit nmap sh :ALEGoToDefinition -split nmap st :ALEGoToDefinition -tab nmap A :ALEGoToDefinition -nmap n :ALEFindReferences +nmap n :ALEFindReferences -relative nmap h :ALEHover nmap r :ALERename nmap ` :ALELint