vim-exchange
nvim-treesitter-textobjects
vim-exchange | nvim-treesitter-textobjects | |
---|---|---|
14 | 87 | |
740 | 1,898 | |
- | 3.7% | |
2.3 | 8.5 | |
3 months ago | 8 days ago | |
Vim Script | Scheme | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vim-exchange
-
Trying to write an editor plugin / tool to swap arguments (something like vim-sexp but for haskell)
I use the vim-exchange plugin.
-
swap words according to pattern
not sure that would be the best solution. I would use https://github.com/tommcdo/vim-exchange like this cxiwWW..
-
Maccy 0.26
It cannot. I sometimes need this feature but I just use an editor plugin (https://github.com/tommcdo/vim-exchange) for this..
-
mini.basics - Common configuration presets for options/mappings/autocommands
A bit of a feedback: - I've never really studied quickfix/loclist capabilities much until recently during writing a slightly updated version of :cnext/:cprev. It is indeed a very nice feature, albeit with a lot of "old Vim" presence to it. The 'fzf.vim' and 'telescope.nvim' were always enough for me. Now I have a small hope of trying to make a "poor man Telescope". - Never really understood the utility of 'vim-subversive'. It seems to be very similar to :s or "Visually select -> hit * -> cgn -> dot repeat until needed". - There is a MiniMisc.zoom() as an alternative to 'vim-maximizer'. - I use 'vim-argwrap' myself and do plan to do its analogue. Although hope to make a more or less simple function in 'mini.misc' instead of the whole module. - I did use 'sideways.vim' but replaced it with combination of "argument" textobject from 'mini.ai' and tommcdo/vim-exchange (which I do plan to rewrite, but not quite soon). Here is how (cxia + cxila; exchange "inner argument" with "last inner argument"). Far from perfect, but works most of the time. - I had 'undotree' in my installed plugins for more than a year and I've never really used it. I've seen an idea here, I think, about "straightening" undo history to become a single line instead of a tree. I currently like this idea better than 'undotree'. - Yes, something with "toggle bools" as functionality might be coming. But not very soon.
-
Switch position of function argument using IdeaVim in pycharm
I'm using https://github.com/tommcdo/vim-exchange in Vim.
-
Swapping words
Yeah, I use sideways.vim and vim-exchange. (Not entirely sure which solves what OP is asking about.)
- What is the coolest, unknown(-ish) plugin that you're using that other people could benefit from?
-
Paste a word without losing the yank buffer
For vim users tommcdo/vim-exchange cxiw jump to another word then press dot
-
How to switch the words on either side of dashes?
I use vim-exchange for situations like this. Old plugin, but still works fine. You visually select one side, press X, visually select the other side and press X. You can also use cx{motion}, and cx{motion} again if you don't want to use visual mode.
- How many plugins do you use on a daily basis and what are they?
nvim-treesitter-textobjects
-
Use treesitter to jump to next argument without going into nested function calls?
I was hoping to use nvim-treesitter-textobjects to jump to the next argument via something like this:
-
Code navigation ctags/cscope/gnu global alternative?
You want to look at nvim-treesitter-textobjects. It let's you define keymaps for navigating text objects defined by treesitter and you can also use them with commands like d, c and so on.
-
My Favorite Vim Oneliners for Text Manipulation
Thank you! It looks like nvim-treesitter-textobjects is a good plugin to start with:
https://github.com/nvim-treesitter/nvim-treesitter-textobjec...
-
How to move between the topmost/root node in treesitter?
I'm aware of nvim-treesitter-textobjects and I suspect my answer lies in this plugin, but is there a way to move between root nodes that is agnostic of the node type?
-
Manipulating and moving between function arguments in Neovim
Thanks! I just started using https://github.com/nvim-treesitter/nvim-treesitter-textobjects, and it works as a charm.
-
Searching for plugin to provide granular treesitter visual mode navigation
nvim-treesitter-textobjects
-
Vim Tip - Jump to start of function or code block
In this case, reading here is probably a good start: https://github.com/nvim-treesitter/nvim-treesitter-textobjects
-
Getting v(a|i)B working in Ruby?
Have a look at https://github.com/nvim-treesitter/nvim-treesitter-textobjects. Set up the @block.inner and @block.outer textobjects and it should work.
-
How do you jump to the beginning of a function
nvim-treesitter-textobjects lets you jump to (for instance) functions more accurately than with a regex-based approach using ]f
Or even better, one can use nvim-treesitter-textobjects. It already provides function/class selection and go-to functionality out-of-the-box.
What are some alternatives?
vim-sandwich - Set of operators and textobjects to search/select/edit sandwiched texts.
vim-multiple-cursors - True Sublime Text style multiple selections for Vim
vim-swap - Reorder delimited items.
nvim-treesitter-refactor - Refactor module for nvim-treesitter
traces.vim - Range, pattern and substitute preview for Vim
targets.vim - Vim plugin that provides additional text objects
vim-subversive - Vim plugin providing operator motions to quickly replace text
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
vim-yoink - Vim plugin that maintains a yank history to cycle between when pasting
vim-textobj-user - Vim plugin: Create your own text objects
nvim-dap-ui - A UI for nvim-dap
vscode-neovim - Vim mode for VSCode, powered by Neovim