File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -175,6 +175,14 @@ function! easycomplete#ui#TrackSearchPrev()
175175 return " N"
176176endfunction
177177
178+ function ! easycomplete#ui#TrackSearchGlobal ()
179+ if ! exists (" b:cs_searched" ) || b: cs_searched == v: false
180+ let b: cs_searched = v: true
181+ endif
182+ let b: cs_searched = v: true
183+ return " *"
184+ endfunction
185+
178186function ! easycomplete#ui#HiFloatBorder ()
179187 if g: easycomplete_pum_pretty_style == 1
180188 let l: bg = easycomplete#ui#GetBgColor (" Normal" )
Original file line number Diff line number Diff line change 673673endif
674674nnoremap <expr> n easycomplete#ui#TrackSearchNext()
675675nnoremap <expr> N easycomplete#ui#TrackSearchPrev()
676- nnoremap <expr> * easycomplete#ui#TrackSearchNext ()
676+ nnoremap <expr> * easycomplete#ui#TrackSearchGlobal ()
677677cnoremap <expr> <CR> easycomplete#ui#CmdlineCR()
678678inoremap <silent> <expr> <BS> easycomplete#BackSpace()
679679inoremap <Plug> EasycompleteTabTrigger <c-r> =easycomplete#CleverTab()<cr>
You can’t perform that action at this time.
0 commit comments