substitute.nvim
flash.nvim
Our great sponsors
substitute.nvim | flash.nvim | |
---|---|---|
11 | 9 | |
447 | 1,950 | |
- | - | |
7.0 | 9.2 | |
5 months ago | about 1 month ago | |
Lua | Lua | |
Do What The F*ck You Want To Public 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.
substitute.nvim
-
Your favourite Neovim plugins?
https://github.com/gbprod/substitute.nvim https://github.com/smjonas/duplicate.nvim
-
Operator Modifier?
Try this https://github.com/gbprod/substitute.nvim
-
What do you use 's' for in normal mode? vanilla? or something like leap?
That one - https://github.com/gbprod/substitute.nvim . It is two plugins in one technically, substitute and exchange.
-
single yank and multiple pastes over selection
I use substitute.nvim for this purpose, which adds the "substitute" verb that you can apply to a text object to paste over it (without modifying your register).
-
What Vim Motions Do I Need For This?
I know you can accomplish this with vanilla vim motions, but I use a plugin for substituting textobjects with what's in my registers called substitute.nvim. vim-subversive and vim-exchange are other alternatives.
-
keep yank after paste the content above anthor content.
I would recommend substitute.nvim. It lets you input text over a text-object, and doesn't affect your " register
-
neovim plugins that have improved your workflow
vim-subversive/substitute.nvim
-
New Plugin: cool-substitute
Very cool! I think there is also https://github.com/gbprod/substitute.nvim
-
Paste a word without losing the yank buffer
For neovim users -> gbprod/substitute.nvim sxiw jump to another word and press dot
- GitHub - gbprod/substitute.nvim: Neovim plugin introducing a new operators motions to quickly replace and exchange text.
flash.nvim
-
What is a Treesitter Search?
I came across this term in https://github.com/folke/flash.nvim but couldn't figure out how to use this Search method.
-
A way to go to surrounding treesitter nodes
flash.nvim supports jumping to treesitter nodes by labels(just like leap does for searching text). You might want to give that a try and see if it fits your needs.
-
F/f/T/t highlight plugin?
The new plugin from Folke https://github.com/folke/flash.nvim has enhanced f, t, F, T motions and tons leap motions features!
-
New input method
There actually is one plugin, namely flash.nvim, which does something roughly in that direction for search; as soon as you type a unique string it jumps you to the respective location. https://github.com/folke/flash.nvim
-
I give-up, need help with Folke's flash.nvim
return { -- https://github.com/folke/flash.nvim { "folke/flash.nvim", event = "VeryLazy", opts = { labels = "asdfghjklqwertyuiopzxcvbnm", }, config = function(_, opts) local flash = require("flash") flash.setup(opts) _G.flashnav = { jump = function () flash.jump({ search = { mode = "search"}, }) end, jumptoline = function () flash.jump({ search = { mode = "search", max_length = 0 }, label = { after = { 0, 0 } }, pattern = "^" }) end
-
lazy.nvim - "Outsource plugin configurations"?
-- Plugins require("lazy").setup({ -- Motions [https://github.com/folke/flash.nvim] "folke/flash.nvim", event = "VeryLazy", ---@type Flash.Config opts = {}, keys = { { "s", mode = { "n", "x", "o" }, function() require("flash").jump() end, desc = "Flash", }, { "S", mode = { "n", "o", "x" }, function() require("flash").treesitter() end, desc = "Flash Treesitter", }, { "r", mode = "o", function() require("flash").remote() end, desc = "Remote Flash", }, { "R", mode = { "o", "x" }, function() require("flash").treesitter_search() end, desc = "Flash Treesitter Search", }, { "", mode = { "c" }, function() require("flash").toggle() end, desc = "Toggle Flash Search", }, }, })
-
flash.nvim: navigate your code with search labels, enhanced character motions and Treesitter integration
I just released a new plugin!
- Your favourite Neovim plugins?
What are some alternatives?
vim-cutlass - Plugin that adds a 'cut' operation separate from 'delete'
eyeliner.nvim - 👀 Move faster with unique f/F indicators.
vim-mark - Highlight several words in different colors simultaneously.
better-escape.nvim - Escape from insert mode without delay when typing
range-highlight.nvim - An extremely lightweight plugin (~ 120loc) that hightlights ranges you have entered in commandline.
bufferline.nvim - A snazzy bufferline for Neovim
telescope-command-palette.nvim - Create key-bindings and watch them with telescope :telescope:
other.nvim - Open alternative files for the current buffer
nvim-neoclip.lua - Clipboard manager neovim plugin with telescope integration
nvim-fFHighlight - Highlight f and F in Neovim
mini.ai - Neovim Lua plugin to extend and create `a`/`i` textobjects. Part of 'mini.nvim' library.
vim-sneak - The missing motion for Vim :athletic_shoe: