Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure vim-over to be able to replace default search #53

Open
jwmann opened this issue Oct 13, 2015 · 1 comment
Open

Configure vim-over to be able to replace default search #53

jwmann opened this issue Oct 13, 2015 · 1 comment

Comments

@jwmann
Copy link

jwmann commented Oct 13, 2015

Hi there,

I use vim-over constantly when I'm working, it's very useful to have that live preview.

What I really love about it, is that I can build my regular expressions live while I'm typing it so I can quickly have a reference to know if my pattern is proper or not.

What would be extremely great is if :OverCommandLine was capable of replacing the default vim search.

So instead of the usual > s/foo/bar you can just do > /foo

Now this actually already works but there are a couple issues with it.

  1. :OverCommandLine does not respect the incsearch setting. ( it will not immediately jump to the first search term as you type it ). Manual Page for Reference
  2. Pressing Enter after typing your search, will jump to the first search term, however it does not go to the word itself of the search result only the beginning of the line it is on.

If you'd like a perfect example of what I'm looking for, this plugin actually does exactly what I'm describing. https://github.com/haya14busa/incsearch.vim

Vim-Over can technically do exactly what incsearch.vim can do but with small amendments to the above issues.

Please let me know what you think.
Thanks

@joelmo
Copy link
Contributor

joelmo commented Dec 15, 2015

I also want this but. Problem is the execute command has no effect. @osyo-manga do you know what may cause this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants