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

feature request: vi/vim mode text objects #848

Open
SimonYde opened this issue Nov 7, 2024 · 4 comments
Open

feature request: vi/vim mode text objects #848

SimonYde opened this issue Nov 7, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@SimonYde
Copy link

SimonYde commented Nov 7, 2024

When using the vi/vim mode, I find myself lacking the general text objects that exists in most editors/shells with builtin vim mode. I'm talking about the following:

  • diw
  • ciw
  • dap
  • cap
  • vaw
  • viw

The basic inside and around text objects. These I find extremely useful when navigating in my shell with the vim mode and want to edit a word I just so happened to be in the middle of.

References

fish has this feature as an example of a shell with vi/vim-like keybinds.

@SimonYde SimonYde added the enhancement New feature or request label Nov 7, 2024
@fdncred
Copy link
Collaborator

fdncred commented Nov 7, 2024

We landed this PR recently which, I think, does some of these. Can you confirm?
#844

@sholderbach
Copy link
Member

That was just the inside delimiter text objects: i"/i( etc.

@SimonYde
Copy link
Author

SimonYde commented Nov 7, 2024

We landed this PR recently which, I think, does some of these. Can you confirm? #844

My request is I suspect an expansion on the pull request you mention. My request is to add the word and paragraph text objects from vim. Though the pull request goes a long way as is.

@SimonYde SimonYde closed this as not planned Won't fix, can't repro, duplicate, stale Nov 7, 2024
@SimonYde SimonYde reopened this Nov 7, 2024
@fdncred
Copy link
Collaborator

fdncred commented Nov 7, 2024

I'd love to have a full/complete vim keybind solution with configurable keybinding. Most of the vim stuff is hard coded. Would love to change that.

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

No branches or pull requests

3 participants