diff options
author | Karel Kočí <cynerd@email.cz> | 2024-02-04 09:24:35 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2024-02-04 09:24:35 +0100 |
commit | af0d7448982881a5e2d63aff8e2d9c2f47582e8f (patch) | |
tree | f4924d5b309035c448d0cb23a6251f51cb60248e /vimrc | |
parent | 186ba16ae2c7dafcc1ed39a5fe244ab91f4e58ab (diff) | |
download | myconfigs-af0d7448982881a5e2d63aff8e2d9c2f47582e8f.tar.gz myconfigs-af0d7448982881a5e2d63aff8e2d9c2f47582e8f.tar.bz2 myconfigs-af0d7448982881a5e2d63aff8e2d9c2f47582e8f.zip |
vim: various tweaks and improvements
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -200,8 +200,16 @@ let g:UltiSnipsJumpForwardTrigger='<c-j>' let g:UltiSnipsJumpBackwardTrigger='<c-k>' " ALE bidings -nmap <leader>[ <Plug>(ale_go_to_definition) -nmap <leader>] <Plug>(ale_go_to_definition_in_tab) +nmap <leader>] <Plug>(ale_go_to_definition_in_split) +nmap <leader>[ <Plug>(ale_go_to_implementation_in_split) +nmap <leader>[ <Plug>(ale_go_to_type_definition_in_split) +nmap <leader>f <Plug>(ale_fix) + +" Copy line location +" TODO this should work but it doesn't for some reason +" nmap <leader><leader>c :let @+=expand("%:p") . ":" . line(".")<cr> +nmap <leader><leader>c :exec "!wl-copy '" . expand("%:p") . ":" . line(".") . "'"<cr><cr> + " LanguageTool let g:grammarous#languagetool_cmd = 'languagetool' |