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

Select text-object not strictly under the cursor #62

Open
sigvaldm opened this issue Jan 25, 2018 · 2 comments
Open

Select text-object not strictly under the cursor #62

sigvaldm opened this issue Jan 25, 2018 · 2 comments

Comments

@sigvaldm
Copy link

I'm not sure this is the right place to ask, but I often find myself with the cursor on the start of a line, for instance like this:

\emph{wrong text}

and trying to hit ci} to change wrong text. It feels to me like it should work, much the same as you can use <C-a> to increment the next integer on a line of text. But it does not, instead I have to do f}ci}.

I know this is not a user-defined text-object, but perhaps this plugin could also add that sort of functionality? Or is there some other preferred way of doing what I want?

Kind regards.

@kana
Copy link
Owner

kana commented Jan 25, 2018

As far as I know, there is no easy way to achieve the desired behavior. You have to redefine i}.

@sigvaldm
Copy link
Author

I see. Maybe one day, when I become proficient with Vim and find myself with some spare time, I'll look into this opportunity. Thanks anyway :)

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