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

New Textobj: backwards-seeking textobjects #76

Open
3 tasks done
rish987 opened this issue Feb 19, 2024 · 0 comments
Open
3 tasks done

New Textobj: backwards-seeking textobjects #76

rish987 opened this issue Feb 19, 2024 · 0 comments

Comments

@rish987
Copy link

rish987 commented Feb 19, 2024

Textobj requested

I often find that the text object I want is located behind, rather than in front of, the current cursor position. I was wondering if it would be possible to enhance all of the textobjects that currently have forwards-seeking behavior to also have a backwards-seeking variant. We could perhaps reserve a special character such that, if it preceeds the mapping for any text object, instructs it to seek backwards rather than forwards (or perhaps capitalize one of the letters).

Sample Text

N/A

Inner/Outer Difference

No response

Vimscript plugin already implementing the textobj

No response

Filetypes

all

Checklist

  • The textobj would be useful to more users than just me. (You can use the API to create custom textobj.)
  • There is no lua plugin already implementing the textobj in an adequate manner.
  • I read the docs and checked that there is no such textobj already.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant