clever-f.vim
Extended f, F, t and T key mappings for Vim. (by rhysd)
hop.nvim
Neovim motions on speed! (by hadronized)
clever-f.vim | hop.nvim | |
---|---|---|
20 | 46 | |
994 | 2,417 | |
- | - | |
0.0 | 2.9 | |
over 1 year ago | 8 months ago | |
Vim Script | Lua | |
- | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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
Posts with mentions or reviews of clever-f.vim.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-10.
-
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.
hop.nvim
Posts with mentions or reviews of hop.nvim.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-26.
-
hardtime.nvim - A Neovim plugin helping you establish good command workflow and habit
Personally I like to just hop using the hop plugin: https://github.com/phaazon/hop.nvim
-
Using hop.nvim on empty line breaks plugin (bug?)
I am using hop.nvim and hop.nvim works great most of the time except when I'm on an empty line. Suppose I'm editing this snippet and ^ represents my cursor
-
Rapidly selecting/copying in kitty?
I waas thinking about something ala https://github.com/phaazon/hop.nvim to do fast selections, f.e.: -Entering visual mode or a specific mode -Search for f.e. 2 characters -Getting "hints" (like in vimium) for the matches -Being able to select and copy the hinted matches and being able to chose to either yank a line, a word, a url... etc
- Question regarding vertical movement
- Neovim - Workflow para Java, C# e JS/TypeScript (Atualização com Neovim 0.8 e LSP)
-
Quick tip: One keymap can save you from using multiple plugins
So I was previously using a bunch of plugins to be able to move between frequently used block delimiters "(){}...", things like Vim-matchup or Nvim-treesitter-textobjects. However, i had the sudden realization that what I was really doing was hopping between block delimiters most of the time, so I uninstalled all of them and created a keymap that works faster and requires only one plugin Hop.nvim, which I already use to obtain EasyMotion like movements. Here's the keymap, you can customize it to your liking to add common characters where you hop to (be careful as it is not a regular regex expression):
- Always Pin Your Neovim Plugins
- (Neo)Vim motions on speed
-
sneak vs lightspeed vs vanilla
I prefer to use Hop with :HopWord. It just highlight every word in buffer. f({char}) ({char})
-
Launch a `/` search only in the visible part of a buffer
If you are interested in a plugin solution, there is HopPattern in https://github.com/phaazon/hop.nvim
What are some alternatives?
When comparing clever-f.vim and hop.nvim you can also consider the following projects:
lightspeed.nvim - deprecated in favor of leap.nvim
mini.nvim - Library of 35+ independent Lua modules improving overall Neovim (version 0.7 and higher) experience with minimal effort
leap.nvim - Neovim's answer to the mouse 🦘
quick-scope - Lightning fast left-right movement in Vim
vim-easymotion - Vim motions on speed!
vim-sneak - The missing motion for Vim :athletic_shoe:
vim-shot-f - highlight the character which can move directly to (by `f`,`F`,`t`,`T`)
AceJump - 🅰️ single character search, select, and jump
vim-dadbod-ui - Simple UI for https://github.com/tpope/vim-dadbod
clever-f.vim vs lightspeed.nvim
hop.nvim vs lightspeed.nvim
clever-f.vim vs mini.nvim
hop.nvim vs leap.nvim
clever-f.vim vs quick-scope
hop.nvim vs vim-easymotion
clever-f.vim vs vim-easymotion
hop.nvim vs vim-sneak
clever-f.vim vs vim-shot-f
hop.nvim vs AceJump
clever-f.vim vs vim-sneak
hop.nvim vs vim-dadbod-ui