flash.nvim
vim-sneak
flash.nvim | vim-sneak | |
---|---|---|
9 | 37 | |
1,997 | 3,165 | |
- | - | |
9.0 | 4.2 | |
11 days ago | 3 months ago | |
Lua | Vim Script | |
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?
vim-sneak
-
F/f/T/t highlight plugin?
Why not sneak or easymotion?
- Weekly Vim tips and tricks thread! #24
-
What do you use 's' for in normal mode? vanilla? or something like leap?
I've tried leap et al, but I still come back to sneak, and use that plugin's standard mappings for s and S.
-
Favourite Vim Easter Eggs?
I don't like many Vim plugins, but I absolutely must have sneak: https://github.com/justinmk/vim-sneak
-
Using preconfigured distro vs rolling your own config
imo there are even few plugin authors who actually understand this well, and certainly no distro author does. Some of the few examples of good "vim philosophy" plugins are vim-sneak and vim-unimpaired.
-
find-extender.nvim A Plugin that extends the nvim find command
Nice, but you've reinvented the wheel :) https://github.com/goldfeld/vim-seek -> https://github.com/justinmk/vim-sneak -> https://github.com/ggandor/leap.nvim
-
Blog | My Vim Command Workflow
By vim motions, do you mean native motions or extended motions with plugins like vim easymotion and vim sneak? Those are the two I've been trying out recently.
- Leap.nvim: Neovim’s Answer to the Mouse
-
cmdheight = 0 discussion in vim_dev
Please see https://github.com/justinmk/vim-sneak/pull/299
- Vim sneak breaks comma mapped as leader key.
What are some alternatives?
eyeliner.nvim - 👀 Move faster with unique f/F indicators.
vim-easymotion - Vim motions on speed!
substitute.nvim - Neovim plugin introducing a new operators motions to quickly replace and exchange text.
hop.nvim - Neovim motions on speed!
better-escape.nvim - Escape from insert mode without delay when typing
monkeytype - The most customizable typing website with a minimalistic design and a ton of features. Test yourself in various modes, track your progress and improve your speed.
bufferline.nvim - A snazzy bufferline for Neovim
nvim-tree.lua - A file explorer tree for neovim written in lua
other.nvim - Open alternative files for the current buffer
quick-scope - Lightning fast left-right movement in Vim
nvim-fFHighlight - Highlight f and F in Neovim
ace-jump-mode - a quick cursor jump mode for emacs