From 66b2c29137bfe2fdc086fda0972de819071589fc Mon Sep 17 00:00:00 2001 From: wn Date: Mon, 6 May 2024 14:41:47 +0800 Subject: [PATCH] Add ale key bindings. --- vimrc.d/32-ale.vim | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/vimrc.d/32-ale.vim b/vimrc.d/32-ale.vim index 0915252..b8fee8d 100644 --- a/vimrc.d/32-ale.vim +++ b/vimrc.d/32-ale.vim @@ -17,11 +17,14 @@ let g:ale_fixers = { " fix when save let g:ale_fix_on_save=1 +nmap (ale_previous_wrap) +nmap (ale_next_wrap) + nmap gh (ale_hover) nmap d (ale_detail) -nmap f (ale_fix) -nmap g (ale_go_to_definition_in_tab) -nmap r (ale_find_references) +nmap x (ale_fix) +nmap g (ale_go_to_definition_in_tab) +nmap r (ale_find_references) let g:ale_floating_preview=1 let g:ale_floating_window_border=['│', '─', '╭', '╮', '╯', '╰', '│', '─']