Menu
  • HOME
  • TAGS

Copy vim ctags and key mapping to and

c,linux,vim,ctags,cscope

It should be : nnoremap <C-q> <C-]> nnoremap <C-a> <C-t> However I would discourage these mappings because they would cause issues. <C-a> in vim is used to increment the number under the cursor by 1, <C-x> similarly is for decrementing a number under the cursor by 1. ...

vim using “cscope find s” command and open result in new tab instead of window

vim,vi,vim-plugin,cscope

The :tab command redirects split windows into split tabs. Just prefix your :cs command with it: :tab cs find s someFunction ...

cscope: How to navigate back with cscope in Vim?

vim,cscope

Your cscope navigation should have set the alternate file, <C-^> then takes you back to the original file. This works only one level. For multiple levels, you can use the jump list and its <C-O> command.

How to set window title from vim in tmux window

vim,tmux,ctags,cscope

The issue was because $TERM in bash is xterm whereas inside tmux $TERM is screen. I updated my .vimrc to select the correct term. if &term == "screen" set t_ts=^[k set t_fs=^[\ endif if &term == "screen" || &term == "xterm" set title endif To get the escape sequence ^[...

jump to cscope definition in an buffer already open

c++,c,vim,cscope

You could come close to what you want with a combination of options: " use the quickfix list/window for all cscope queries set cscopequickfix=s-,g-,c-,d-,i-,t-,e- " quickfix commands jump to the target buffer where it is displayed set switchbuf=useopen,usetab and a remapping: " override the default <C-]> behaviour nnoremap <C-]> :cs...