clever-f.vim
flash.nvim
clever-f.vim | flash.nvim | |
---|---|---|
20 | 9 | |
994 | 1,974 | |
- | - | |
0.0 | 9.2 | |
over 1 year ago | 9 days ago | |
Vim Script | Lua | |
- | 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.
clever-f.vim
-
F/f/T/t highlight plugin?
Looks like easy-motion makes buffer changes, but I didn't know about f/t mode for sneak. In sneak related there is also clever-f which looks like exactly what I want
- Line motions why is there no `[count]gm`?
-
Plugin that visualizes distance from cursor in key strokes?
You can try something like this https://github.com/rhysd/clever-f.vim
-
Is it possible to remap next and previous functions for find in line (f and t)?
It's not exactly what you want, but try out clever-f. Instead of ; and , to go back and forth, you use f and F again. For example finding the 3rd a in a line, you'd press faff rather than fa;;.
-
Why not use <space> as <leader> key?
clever-f plugin in my case.
-
the 'lua' way to customise clever-f - help a newb?
clever-f works almost the way I want it to. (It extends f by highlighting, and then you repeatedly tap f to move to the next occurrence. You have to do something else before hitting f again to search for a new char.)
-
moving in insert mode
clever-f
-
When using a custom mechanical keyboard (like the Ergodox EZ) with autoshift , how do you get around moving with [jk]
I'm using a QMK home-row mod keyboard and I used to have this issue as well. But turned out it helped me to be a better vim user since now I use better navigation methods. For one, J and K are mapped to 5J and 5K (as always). Then I used a plugin called ggandor/lightspeed.nvim to move to different locations. And I use rhysd/clever-f.vim for better horizontal movements.
-
Is there a plugin that only highlights the occurrences of f/F/t/T on the same line without providing any hopping feature?
rhysd/clever-f.vim: Extended f, F, t and T key mappings for Vim.?
-
Any tips how to force self to learn f and t motions
Also consider clever-f to allow f and t to be repeated, or, for a bigger reshaping of your movements, [lightspeed](https://github.com/ggandor/lightspeed.nvim], which integrates clever-f among other.
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?
lightspeed.nvim - deprecated in favor of leap.nvim
eyeliner.nvim - 👀 Move faster with unique f/F indicators.
mini.nvim - Library of 35+ independent Lua modules improving overall Neovim (version 0.7 and higher) experience with minimal effort
substitute.nvim - Neovim plugin introducing a new operators motions to quickly replace and exchange text.
quick-scope - Lightning fast left-right movement in Vim
better-escape.nvim - Escape from insert mode without delay when typing
vim-easymotion - Vim motions on speed!
bufferline.nvim - A snazzy bufferline for Neovim
vim-shot-f - highlight the character which can move directly to (by `f`,`F`,`t`,`T`)
other.nvim - Open alternative files for the current buffer
vim-sneak - The missing motion for Vim :athletic_shoe:
nvim-fFHighlight - Highlight f and F in Neovim