Question

I use cscope with vim and it works great Ctrl+] for going to a definition) and Ctrl+T to pop out of the tag stack. When I tried to use it with gvim, Ctrl+T opens a new tab. So I created a .gvimrc file under $HOME, and

nmap <C-S-t> <ESC>:tabnew<cr>
imap <C-S-t> <ESC>:tabnew<cr>i

and the new mappings work but it does not overwrite the default functionality of C-t for :tabnew. Where can I change that ?

If I cannot change gvim behavior, atleast let me change cscope to using a different key combination so that it does not conflict. Please help !

Thanks

Was it helpful?

Solution

Found it @ http://www.mail-archive.com/vim_use@googlegroups.com/msg10540.html

Change cscope to use Ctrl+o (letter o) to jump back instead of Ctrl+T and all is well.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top