44" License: MIT License
55
66if exists (" g:loaded_vintsearch" ) || &cp
7- " finish
7+ finish
88endif
99let g: loaded_vintsearch = 1
1010let s: keepcpo = &cpo
@@ -92,8 +92,8 @@ endfunction
9292command ! VIntSearchPrintPath call VIntSearch#PrintSearchPath ()
9393command ! VSpath call VIntSearch#PrintSearchPath ()
9494
95- command ! VIntSearchBuildTag call VIntSearch#BuildTag ()
96- command ! VSbtag call VIntSearch#BuildTag ()
95+ command ! VIntSearchBuildSymbolDB call VIntSearch#BuildSymbolDB ()
96+ command ! VSbuild call VIntSearch#BuildSymbolDB ()
9797
9898" """"""""""""""""
9999" search commands
@@ -127,7 +127,26 @@ command! -complete=tag -nargs=1 VIntSearchCmd call VIntSearch#SearchRawWithCmdPa
127127command ! -complete =tag -nargs =* VIntSearchCursorCmd call VIntSearch#SearchCursorWithCmd (<f-args> )
128128
129129" """"""""""""""""
130- " deprecated search commands
130+ " stack commands
131+
132+ command ! VIntSearchMoveBackward call VIntSearch#MoveBackward (1 )
133+ command ! VSbwd call VIntSearch#MoveBackward (1 )
134+
135+ command ! VIntSearchMoveForward call VIntSearch#MoveForward (1 )
136+ command ! VSfwd call VIntSearch#MoveForward (1 )
137+
138+ command ! VIntSearchClearStack call VIntSearch#ClearStack ()
139+ command ! VSclear call VIntSearch#ClearStack ()
140+
141+ command ! VIntSearchPrintStack call VIntSearch#PrintStack ()
142+ command ! VSstack call VIntSearch#PrintStack ()
143+
144+ command ! -nargs =1 VScc call VIntSearch#Cc (<args> , 1 )
145+ command ! VScnext call VIntSearch#Cnext (1 )
146+ command ! VScprev call VIntSearch#Cprev (1 )
147+
148+ " """"""""""""""""
149+ " deprecated - will be removed in version 1.4.0
131150
132151command ! -complete =tag -nargs =1 VIntSearchCtags call VIntSearch#SearchRawDep (<f-args> ,' ctags' )
133152command ! -complete =tag -nargs =1 VSctags call VIntSearch#SearchRawDep (<f-args> ,' ctags' )
@@ -146,32 +165,13 @@ command! -complete=tag -nargs=1 VScfgrep call VIntSearch#SearchRawDep(<f-args>,'
146165command ! -complete =tag -nargs =1 VIntSearchFind call VIntSearch#SearchRawDep (<f-args> ,' find' )
147166command ! -complete =tag -nargs =1 VSfind call VIntSearch#SearchRawDep (<f-args> ,' find' )
148167
149- " """"""""""""""""
150- " deprecated search commands with cursor
151-
152168command ! -complete =tag -nargs =* VIntSearchCtagsCursor call VIntSearch#SearchCursorDep (' ctags' ,<f-args> )
153169command ! -complete =tag -nargs =* VIntSearchGrepCursor call VIntSearch#SearchCursorDep (' grep' ,<f-args> )
154170command ! -complete =tag -nargs =* VIntSearchCFGrepCursor call VIntSearch#SearchCursorDep (' cfgrep' ,<f-args> )
155171command ! -complete =tag -nargs =* VIntSearchFindCursor call VIntSearch#SearchCursorDep (' find' ,<f-args> )
156172
157- " """"""""""""""""
158- " stack commands
159-
160- command ! VIntSearchMoveBackward call VIntSearch#MoveBackward (1 )
161- command ! VSbwd call VIntSearch#MoveBackward (1 )
162-
163- command ! VIntSearchMoveForward call VIntSearch#MoveForward (1 )
164- command ! VSfwd call VIntSearch#MoveForward (1 )
165-
166- command ! VIntSearchClearStack call VIntSearch#ClearStack ()
167- command ! VSclear call VIntSearch#ClearStack ()
168-
169- command ! VIntSearchPrintStack call VIntSearch#PrintStack ()
170- command ! VSstack call VIntSearch#PrintStack ()
171-
172- command ! -nargs =1 VScc call VIntSearch#Cc (<args> , 1 )
173- command ! VScnext call VIntSearch#Cnext (1 )
174- command ! VScprev call VIntSearch#Cprev (1 )
173+ command ! VIntSearchBuildTag call VIntSearch#BuildTag ()
174+ command ! VSbtag call VIntSearch#BuildTag ()
175175
176176" """"""""""""""""""""""""""""""""""""""""""""
177177let &cpo = s: keepcpo
0 commit comments