skywind3000 / gutentags_plus

The right way to use gtags with gutentags
266 stars 49 forks source link

quickfix window doesn't close after selecting the result #12

Open benzwt opened 6 years ago

benzwt commented 6 years ago

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

skywind3000 commented 6 years ago

能不能把格式弄好点?直接这么帖代码看着真费劲。