summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vimrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 79ea9fb..506914f 100644
--- a/vimrc
+++ b/vimrc
@@ -68,6 +68,10 @@ nmap <leader>l :set list!<CR>
" remap vim-comentary : nmap \\ <Plug>Commentary
map <C-c> \\\
+" jump to definition, <C-t> to jump back to the call
+nmap <C-y> g<C-]>
+inoremap <C-x> <C-X><C-]>
+
" Don't use Ex mode, use Q for formatting
map Q gq