hydra.nvim
flash.nvim
hydra.nvim | flash.nvim | |
---|---|---|
30 | 9 | |
990 | 1,974 | |
- | - | |
0.0 | 9.2 | |
5 months ago | 7 days ago | |
Lua | 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.
hydra.nvim
-
New input method
similar to hydra?
-
New plugin: Notebook Navigator - Execute and manipulate code cells a la VSCode
A Hydra mode to quickly manipulate and run cells
-
Your favourite Neovim plugins?
Possibly hydra, which everything from submodes to a more customized which-key. Works really well for making a telescope menu or a DAP mode.
-
How to re perform last key strokes?
The other way, that I use for some navigation functions is using hydra.nvim. You can basically create little 'submodes' to group related functionality with quicker mappings. Like after [hjkl] you can just hit hjkl to keep moving around, and then hitting esc or just any key not in the submode to leave it.
-
Is there any generic, simple way to close floating windows created by Neovim?
I use this function to exclude the currently focused floating window and ignore floating windows of some plugins (in this case only the popup from hydra.nvim is ignored):
-
Introducing stackmap.nvim
There is also https://github.com/anuvyklack/keymap-layer.nvim used by https://github.com/anuvyklack/hydra.nvim
-
mini.nvim - release of version 0.8.0
This suggestion and similar (like [[ and ]] to repeat latest target) did come up. I feel like that is the "responsibility" of something like anuvyklack/hydra.nvim or the (some time eventually) planned 'mini.nvim' alternative.
-
Question regarding vertical movement
I installed hop but can't get used to it and just hold j/k/W/B as someone commented higher. Btw, for plaintext files this can be useful, even without hydra: https://github.com/anuvyklack/hydra.nvim/wiki/Quick-words
-
Neovim version of tpope/vim-repeat
Of course, each case is different, but for making repeatable mappings there is anuvyklack/hydra.nvim. Or in some cases you can avoid this by choosing appropriate mappings (like Ctrl + arrows for window resizing which doesn't require repeating several keystrokes for a single operation).
-
Keymap hints while typing commands?
I don't quite know what I am looking at in your screenshot (I haven't used emacs either though), but I use hydra.nvim and I can get a similar end result with it
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?
which-key.nvim - 💥 Create key bindings that stick. WhichKey is a lua plugin for Neovim 0.5 that displays a popup with possible keybindings of the command you started typing.
eyeliner.nvim - 👀 Move faster with unique f/F indicators.
vim-which-key - :tulip: Vim plugin that shows keybindings in popup
substitute.nvim - Neovim plugin introducing a new operators motions to quickly replace and exchange text.
vim-resize-mode - A Vim mode for easier window resizing
better-escape.nvim - Escape from insert mode without delay when typing
winshift.nvim - Rearrange your windows with ease.
bufferline.nvim - A snazzy bufferline for Neovim
Launch.nvim - 🚀 Launch.nvim is modular starter for Neovim.
other.nvim - Open alternative files for the current buffer
nvim-window
nvim-fFHighlight - Highlight f and F in Neovim