Update Ctrl-Enter mappings to work in both terminal and Gvim

This commit is contained in:
2015-04-25 21:11:59 +05:30
parent 12817ffbe2
commit 6b9906fa7e
3 changed files with 11 additions and 4 deletions
+2 -2
View File
@@ -36,10 +36,10 @@ nmap <leader>sc :SessionClose<CR>
" }
" Ctrl-Enter in insert mode will append ';' to the line and insert a new line
imap <C-CR> <ESC>A;<CR>
imap <NL> <ESC>A;<CR>
" Ctrl-Enter in normal mode will jump to tag definition using cscope
nmap <C-CR> :vert scs f g <C-R><C-W><CR>
nmap <NL> :vert scs f g <C-R><C-W><CR>
" Ctrl-? in normal mode will jump to tag references using cscope
nmap <C-?> :vert scs f t <C-R><C-W><CR>