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

evil seeker #7331

Closed
ninrod opened this issue Oct 9, 2016 · 2 comments
Closed

evil seeker #7331

ninrod opened this issue Oct 9, 2016 · 2 comments

Comments

@ninrod
Copy link

ninrod commented Oct 9, 2016

As a vim expatriate, I miss dearly the seeking feature provided by the awesome and fantastic vim plugin wellle/targets.vim.

Here's a quick description of the feature:

If any of the normal pair commands (not containing n or l) is executed when the cursor is not positioned inside a pair, it seeks for pairs before or after the cursor by searching for the appropriate delimiter on the current line. This is similar to using the explicit version containing n or l, but in only seeks on the current line.
wellle

Is there some way to achieve the same effect? I know that there's currently no evil-targets port. But can it be done in evil ways?

//[cursor]
bla[h] blah blah function(a, b, c, d)
  • now I hit cinb (change inside next brackets), or just cib.
//in insert mode
blah blah blah function(|) 

I just find this so convenient and quick. Don't you agree?

@TheBB
Copy link
Contributor

TheBB commented Oct 9, 2016

Duplicate: #6353

We're just waiting for someone to rewrite targets in elisp. Feel free. ;-)

@TheBB TheBB closed this as completed Oct 9, 2016
@ninrod
Copy link
Author

ninrod commented Oct 9, 2016

I'd like to do it. I just wonder how hard that would be for a completely noob in elisp.

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