From af0d7448982881a5e2d63aff8e2d9c2f47582e8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 4 Feb 2024 09:24:35 +0100 Subject: vim: various tweaks and improvements --- vimrc | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'vimrc') diff --git a/vimrc b/vimrc index b8889dd..7f3a488 100644 --- a/vimrc +++ b/vimrc @@ -200,8 +200,16 @@ let g:UltiSnipsJumpForwardTrigger='' let g:UltiSnipsJumpBackwardTrigger='' " ALE bidings -nmap [ (ale_go_to_definition) -nmap ] (ale_go_to_definition_in_tab) +nmap ] (ale_go_to_definition_in_split) +nmap [ (ale_go_to_implementation_in_split) +nmap [ (ale_go_to_type_definition_in_split) +nmap f (ale_fix) + +" Copy line location +" TODO this should work but it doesn't for some reason +" nmap c :let @+=expand("%:p") . ":" . line(".") +nmap c :exec "!wl-copy '" . expand("%:p") . ":" . line(".") . "'" + " LanguageTool let g:grammarous#languagetool_cmd = 'languagetool' -- cgit v1.2.3