Closed subnut closed 3 years ago
I'm not sure, why somebody would want to enable localsearch by default, but I'll merge a PR that mentions it. Sorry for the lengthy reply time...
I'm not sure, why somebody would want to enable localsearch by default
I do! :smile:
I have localsearch#Enable()
in my .vimrc
I find it very helpful to have my last search local to the window. Thanks for this amazing plugin.
In fact, I even went as far as modifying the Localsearch extension in airline to allow a setting (let g:airline#extensions#localsearch#inverted = 1
) to show the extension only when localsearch is disabled. It shows GS
(denoting GlobalSearch) instead of LS
Sounds nice. Are you going to upstream your changes to the airline extension?
Already did 😄 vim-airline/vim-airline#2240
Uh, nice!
@mox-mox I was thinking, should we mention in the README about the function
localsearch#Toggle()
that is made public? It would be useful for ... if someone wants to enable localsearch by default ininit.vim