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

Vim Various Text Objects #15293

Open
1 task done
ovidius72 opened this issue Jul 26, 2024 · 6 comments
Open
1 task done

Vim Various Text Objects #15293

ovidius72 opened this issue Jul 26, 2024 · 6 comments
Labels
enhancement [core label] vim

Comments

@ovidius72
Copy link

ovidius72 commented Jul 26, 2024

Check for existing issues

  • Completed

Describe the feature

There is a plugin that allows to use 30 extra text objects. https://github.com/chrisgrieser/nvim-various-textobjs
Some of them are really useful and I use them all the days.
I was wondering if it is possibile to add them in zed (or at least some of them).

Thanks.

If applicable, add mockups / screenshots to help present your vision of the feature

No response

@ovidius72 ovidius72 added admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue labels Jul 26, 2024
@JosephTLyons JosephTLyons added vim and removed triage Maintainer needs to classify the issue admin read Pending admin review labels Jul 26, 2024
@Avi-D-coder
Copy link

Avi-D-coder commented Sep 3, 2024

Adding support for tree-sitter and or lsp text object would also be great.
https://github.com/nvim-treesitter/nvim-treesitter-textobjects

@AlbertMarashi
Copy link
Contributor

Here i thought something like this would be implemented

@AlbertMarashi
Copy link
Contributor

How hard would it be to add support for a zed editor command that allows anyone to run any kind of arbitrary tree-sitter queries?

"(": ["editor::scm_query", "...SCM QUERY HERE..."]

@0x2CA
Copy link
Contributor

0x2CA commented Nov 12, 2024

@ConradIrwin https://github.com/nvim-treesitter/nvim-treesitter-textobjects
I wonder if this would be a good start for the zed plugin to extend vim?
This feature sounds like it might be a good fit for

@ConradIrwin
Copy link
Member

Yeah. That said, much of it is also something we should have by default.

@kunsttyv
Copy link

@ConradIrwin treesitter textobjects in Zed would be such a killer feature, [ x is already quite useful, as limited as it is. I am a Python programmer and being able to do modal editing on AST objects would be extremely powerful, almost like writing Lisp in Emacs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement [core label] vim
Projects
None yet
Development

No branches or pull requests

7 participants