flash.nvim
nvim-lastplace
flash.nvim | nvim-lastplace | |
---|---|---|
9 | 5 | |
1,997 | 279 | |
- | - | |
9.0 | 0.0 | |
10 days ago | 10 months ago | |
Lua | Lua | |
Apache License 2.0 | 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.
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?
nvim-lastplace
-
Your favourite Neovim plugins?
"ethanholz/nvim-lastplace" - opens file at the last place you were in
- How to save last position in files
-
Intelligently reopen files at your last edit position with `remember.nvim`
related: https://github.com/ethanholz/nvim-lastplace
-
nvim-lastplace, a Lua rewrite of vim-lastplace for Neovim 0.5
Completely agree! I have sent a Pull Request.
What are some alternatives?
eyeliner.nvim - 👀 Move faster with unique f/F indicators.
remember.nvim - A port of the Vim plugin vim-lastplace. It uses the same logic as vim-lastplace, but leverages the Neovim Lua API.
substitute.nvim - Neovim plugin introducing a new operators motions to quickly replace and exchange text.
toggleterm.nvim - A neovim lua plugin to help easily manage multiple terminal windows
better-escape.nvim - Escape from insert mode without delay when typing
gitlinker.nvim - A lua neovim plugin to generate shareable file permalinks (with line ranges) for several git web frontend hosts. Inspired by tpope/vim-fugitive's :GBrowse
bufferline.nvim - A snazzy bufferline for Neovim
nvim-fzf - A Lua API for using fzf in neovim.
other.nvim - Open alternative files for the current buffer
FTerm.nvim - :fire: No-nonsense floating terminal plugin for neovim :fire:
nvim-fFHighlight - Highlight f and F in Neovim
nvim-moonmaker - Moonscript plugin support for neovim