vim-startify icon indicating copy to clipboard operation
vim-startify copied to clipboard

cscope does not work when open a file from startify

Open zaiqiang-dong opened this issue 3 years ago • 0 comments

cscope does not work when open a file from startify, show Error "Type number and <Enter> (q or empty cancels): 1E429: File "include/linux/mm.h" does not exist"

as follow: https://raw.githubusercontent.com/zaiqiang-dong/misc/898eedc33cee488ea613b01b12d28c3c160f0989/termtosvg_3w1o_9oc.svg

cscope config in init.vim as follow: """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " cscope setting """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" if has("cscope") set csto=1 set cst set nocsverb " add any database in current directory

set tags=tags; if filereadable("cscope.out") cs add cscope.out else let cscope_file=findfile("cscope.out",".;") let cscope_pre=matchstr(cscope_file,".*/") if !empty(cscope_file)&&filereadable(cscope_file) exe "cs add" cscope_file cscope_pre endif endif set csverb endif let Tlist_Show_One_File=1 let Tlist_Exit_OnlyWindow=1 let Tlist_Ctags_Cmd="/usr/bin/ctags" let Tlist_Auto_Open=1 "set cscopequickfix=s-,c-,d-,i-,t-,e-

nmap cs :cs find s <C-R>=expand("")<CR><CR> nmap cg :cs find g <C-R>=expand("")<CR><CR> nmap cc :cs find c <C-R>=expand("")<CR><CR> nmap ct :cs find t <C-R>=expand("")<CR><CR> nmap ce :cs find e <C-R>=expand("")<CR><CR> nmap cf :cs find f <C-R>=expand("")<CR><CR> nmap ci :cs find i <C-R>=expand("")<CR>$<CR> nmap cd :cs find d <C-R>=expand("")<CR><CR>

zaiqiang-dong avatar Jan 30 '23 04:01 zaiqiang-dong