aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc12
1 files changed, 10 insertions, 2 deletions
diff --git a/vimrc b/vimrc
index b8889dd..7f3a488 100644
--- a/vimrc
+++ b/vimrc
@@ -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'