targets.vim
avy
targets.vim | avy | |
---|---|---|
48 | 30 | |
2,512 | 1,667 | |
- | - | |
0.0 | 1.8 | |
6 months ago | 5 months ago | |
Vim Script | Emacs Lisp | |
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.
targets.vim
-
How to move really efficiently in Vim?
targets is nice too.
-
Two Weeks into Vim: A Transformation
The thing that has the biggest impact on me is ci”, ca”, da”, etc.. so I suggested getting used to using those.. and then you can get more pedantic with it using https://github.com/wellle/targets.vim
-
Is there a shorcut to select words in quotes including the quotes?
I do recommend getting, targets.vim https://github.com/wellle/targets.vim .. which unlocks the n(ext) and l(ast) verbs(?) ..ahhhh it’s REALLY REALLY good, I use 2in” like a lot
-
Text-object selection works forward, but not backwards, and I'm curious about that
In fact, as /u/Chillbrosaurus_Rex points out, there's a plugin, targets.vim, that expands on Vim's built-in text objects, and one of the things it does is to provide this kind of forward and reverse direction functionality.
- Installing argtextobj.vim
- How to delete inside backtick pairs, e.g JS template strings.
-
neovim plugins that have improved your workflow
Hey, I use targets.vim, how does it compare with that?
-
Leap.nvim: Neovim’s Answer to the Mouse
You might benefit from targets.vim, it works well with your thought process. It adds a bunch of new really useful editing targets (which should be builtin imo).
https://github.com/wellle/targets.vim
-
Is there a textobject for `object.` in `object.property.another`?
Thanks for the through explanation. I has seen that and considered using it in the past. Can I ask how it compares to https://github.com/wellle/targets.vim? Would you consider mini.ai a replacement or complementary?
-
Why does ci" work from elsewhere on a line, but it doesn't for ci[ , ci{ ?
This is provided by targets.vim, along with a bunch of other useful text objects.
avy
-
Is there an Obsidian plugin similar to AceJump for IntelliJ IDEs or avy for Emacs?
What I'm looking for is something like AceJump for IntelliJ IDEs or avy for Emacs. These tools let you navigate to some part of the visible text with just a few keystrokes. Here's the behavior I would like in Obsidian, copied from AceJump's page:
-
Vim-like “jump” cursor for Mac OS Window Management
For my emacs friends, here's a wonderful package that provides the same functionality: https://github.com/abo-abo/avy
And, if you're interested in some historical context for this "type characters and jump to point" functionality, the Canon Cat: https://youtu.be/o_TlE_U_X3c
-
Kill until next char preceding space | Uppercase | underscore
Personally I've learned to do things the "Emacs way" and got used to its killing behavior. For multi-line stuff I would mark the region and then use navigation commands to get the point where I want it. For more complex scenarios I use either C-s/C-r or just use avy to get the point where it needs to be. For single line stuff I think M-z works well. Maybe this package could be useful to you as well? Just some ideas, I think there are actually many options here (including going over to evil ;) and it depends on your preferences and needs.
-
Today Is International Mouse Arm Day. Do you use the mouse in Emacs?
I make extensive use of avy for these kinds of situations.
-
org-metadown in regular text!
Avy (avy-move-line) can do it very nicely and interactively for you, see this video.
-
[Spacemacs] Is bidirectional easy motion possible in spacemacs?
It sounds like avy is what you're looking for?
-
Navigate to positions within long words
Perhaps avy. I would use the commandavy-goto-char-2 then type N a and the corresponding jump key (if it appears). avy-goto-subword-1 is a bit more niche but might also work well.
-
Leap.nvim: Neovim’s Answer to the Mouse
I'm jumping around on the screen using -> https://github.com/abo-abo/avy#avy-goto-char
This UX does not break my flow (it doesn't require focus/conscious thought):
1. Press + while looking at the place I want to jump to
- Nested/conditional keybindings to navigate in text
-
How to combine evil operator keys + isearch?
I installed a package called avy which can do anything I have no issues whatsoever. If you're interested here is my very simple config. There are several options, I like the one with the timer.
What are some alternatives?
nvim-treesitter-textobjects
evil-snipe - 2-char searching ala vim-sneak & vim-seek, for evil-mode
wilder.nvim - A more adventurous wildmenu
evil-guide - Draft of a guide for using emacs with evil
todoist.nvim - A todoist extension for neovim
meow - Yet another modal editing on Emacs / 猫态编辑
Neovim-from-scratch - 📚 A Neovim config designed from scratch to be understandable
leap.nvim - Neovim's answer to the mouse 🦘
harpoon
consult - :mag: consult.el - Consulting completing-read
paq-nvim - 🌚 Neovim package manager
vim-easymotion - Vim motions on speed!