after
:Gscopefind g foobar
the quickfix window open and list out the result.
By selecting the result, a new window was open but the quickfix window stays open.
what settings should I set, such that the quickfix window close as soon as I select the result ?
my settings are as follow:
my settings are as follow:
let g:gutentags_cache_dir=$VIM_HOME."/tags"
let g:gutentags_project_root=['.proj']
let g:gutentags_modules=['ctags', 'gtags_cscope']
"let g:gutentags_modules = ['ctags', 'cscope']
let g:gutentags_ctags_extra_args=['-I SCODE']
let g:gutentags_ctags_extra_args+=['--c++-kinds=+px']
let g:gutentags_ctags_extra_args+=['--c-kinds=+px']
"let g:gutentags_file_list_command = 'find . -type f -name ".h" -o -name ".c" '
let g:gutentags_file_list_command = {
\ 'markers': {
\ '.git': 'git cfiles',
\ '.hg': 'hg files',
\ },
\ }
""=================== 'skywind3000/gutentags_plus' =================
" forbid gutentags adding gtags databases
let g:gutentags_auto_add_gtags_cscope = 0
let g:gutentags_plus_nomap = 1
nmap <C->s :GscopeFind s
nmap <C->d :GscopeFind g
nmap <C->c :GscopeFind c
nmap <C->t :GscopeFind t
nmap <C->e :GscopeFind e
nmap <C->f :GscopeFind f =expand("")
nmap <C->i :GscopeFind i =expand("")
nmap <C->v :GscopeFind d
nmap <C->a :GscopeFind a
after :Gscopefind g foobar the quickfix window open and list out the result. By selecting the result, a new window was open but the quickfix window stays open.
what settings should I set, such that the quickfix window close as soon as I select the result ?
my settings are as follow: my settings are as follow:
let g:gutentags_cache_dir=$VIM_HOME."/tags" let g:gutentags_project_root=['.proj'] let g:gutentags_modules=['ctags', 'gtags_cscope'] "let g:gutentags_modules = ['ctags', 'cscope'] let g:gutentags_ctags_extra_args=['-I SCODE'] let g:gutentags_ctags_extra_args+=['--c++-kinds=+px'] let g:gutentags_ctags_extra_args+=['--c-kinds=+px'] "let g:gutentags_file_list_command = 'find . -type f -name ".h" -o -name ".c" ' let g:gutentags_file_list_command = { \ 'markers': { \ '.git': 'git cfiles', \ '.hg': 'hg files', \ }, \ }
""=================== 'skywind3000/gutentags_plus' ================= " forbid gutentags adding gtags databases let g:gutentags_auto_add_gtags_cscope = 0 let g:gutentags_plus_nomap = 1
nmap <C->s :GscopeFind s
nmap <C->d :GscopeFind g
nmap <C->c :GscopeFind c
nmap <C->t :GscopeFind t
nmap <C->e :GscopeFind e
nmap <C->f :GscopeFind f =expand("")
nmap <C->i :GscopeFind i =expand("")
nmap <C->v :GscopeFind d
nmap <C->a :GscopeFind a