vim-swap
telescope-undo.nvim
vim-swap | telescope-undo.nvim | |
---|---|---|
6 | 9 | |
287 | 510 | |
- | - | |
0.0 | 5.8 | |
9 months ago | 9 days ago | |
Vim Script | Lua | |
- | MIT License |
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-swap
-
Which vim plugins do not have a lua equivalent yet?
Only one I use that hasn't been mentioned is a standalone vim-swap replacement. The existing ones all need treesitter (that I know of)
-
What is the coolest, unknown(-ish) plugin that you're using that other people could benefit from?
vim-swap provides an easy way to swap delimited items. It also provides textobjects targeting them, so deleting an argument becomes as easy as da,
-
Does the Neovim team have any plan to develop "User Custom Modes"
I use this feature right now, and it simplifies a lot. I use t to open tabmode so I can create or destroy tabs easily. b, which I use more often, opens bufmode so I can switch the buffer in the current window, or delete it while preserving my layout. gs allows me to swap delimited items using hjkl. w is for visually switching between open splits. Etc etc
-
Is there a plugin that provides "di," in neovim?
I recommend machakann/vim-swap. This plugin provides the way to swap function parameters, and text-objects that can be used to select parameters:
-
anyone know an elegant way to swap the orders of two parameters in a function call? foo(bar, baz) becomes foo(baz, bar)
I've been using vim-swap for a while and it's simple enough: when on top of a delimited argument, you can hit g> or g< to swap right or left, respectively.
- iswap.nvim: Interactively swap function arguments, list elements, and more using tree-sitter!
telescope-undo.nvim
-
Is there a way to record and view all commands used on the file?
there's also telescope-undo and vim-mundo
-
Highlight the text that was affected by 'u'
I would say for small changes it's probably not that bad, and for big changes, an option could be to use https://github.com/debugloop/telescope-undo.nvim to preview the changes before you apply them.
-
Never lose what you wrote - track typed things in vim though the history!
telescope undo does exactly what you described
-
People who migrated from vscode
telescope-undo?
-
Which vim plugins do not have a lua equivalent yet?
nowadays I like the UI of telescope-undo more
-
Just discovered "mbbill/undotree" - I am amazed!!!
there is a new plugin that lets you browse your undotree via telescope: https://github.com/debugloop/telescope-undo.nvim
-
[new plugin] telescope extension to view and search your undo tree 🌴
The author of that issue over at https://github.com/debugloop/telescope-undo.nvim/issues/10 found out whats going on, let me know if that doesn't help for you.
What are some alternatives?
targets.vim - Vim plugin that provides additional text objects
nvim
vim-exchange - Easy text exchange operator for Vim
neotest-playwright - A playwright adapter for neotest.
iswap.nvim - Interactively select and swap function arguments, list elements, and much more. Powered by tree-sitter.
highlight-undo.nvim - Highlight changed text after Undo / Redo operations
nvim-treesitter-textobjects
mini.nvim - Library of 35+ independent Lua modules improving overall Neovim (version 0.7 and higher) experience with minimal effort
nvim-tabmode - A rewrite of Iron-E/vim-tabmode using Iron-E/nvim-libmodal
vim-mundo - :christmas_tree: Vim undo tree visualizer
neovim - Vim-fork focused on extensibility and usability
nvim-typora - Bindings for Typora's Markdown in Neovim