summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vimrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 506914f..54d4678 100644
--- a/vimrc
+++ b/vimrc
@@ -75,6 +75,12 @@ inoremap <C-x> <C-X><C-]>
" Don't use Ex mode, use Q for formatting
map Q gq
+" to jump to a definition, <C-t> to jump back to the caller code
+map <C-v> g<C-]>
+
+" code completion
+inoremap <C-d> <C-X><C-]>
+
" Make p in Visual mode replace the selected text with the "" register.
vnoremap p <Esc>:let current_reg = @"<CR>gvs<C-R>=current_reg<CR><Esc>