flash.nvim
neogit
flash.nvim | neogit | |
---|---|---|
9 | 54 | |
1,997 | 3,357 | |
- | 5.7% | |
9.0 | 9.9 | |
11 days ago | 1 day ago | |
Lua | Lua | |
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?
neogit
-
Neovim: creating keymaps in lua
I would use this feature of lazy.nvim in a plugin that I rarely need. Something neogit for example. I can spend hours coding without using it. In that particular case I think is nice to have the option to load it when I actually call it.
-
GitUI
This looks very much like the Noevim plugin I began using about a month ago: neogit[0].
The keybindings were a bit rough, and it took me about an hour of use before I was really comfortable with the overall workflow. Once I was, though, Iโve found it to be much faster than my previous workflow (suspending neovim and using git directly in the shell).
0: https://github.com/NeogitOrg/neogit
-
Is there a discard all option in neogit?
Edit: FYI: I made a feature request and got the answer, that it it possible to visually select the files and discard them like this together.
- Massive Update to Neogit and New Home!
-
What IDEA or Vscode feature/function you want to have in neovim eco-system?
This is what I use for general git interaction and itโs pretty neat: neogit. Also integrates diffview
-
Magit
For neovim users, there's a work-in-progress clone, neogit: https://github.com/timUntersberger/neogit/
Some of my colleagues use emacs/magit, and after seeing how absolutely lovely the workflow is, I've put in a lot of work over the last few months expanding it. You can check out my fork here: https://github.com/ckolkey/neogit/
One thing I particularly like to tease my emacs' colleagues about is that my magit is faster than theirs thanks to neovim's async capabilities.
- Your favourite Neovim plugins?
-
What do you use for git integration in neovim?
You could use neogit (https://github.com/TimUntersberger/neogit) for basic commands however I have found it's easier / more versatile to just use lazygit in either another tmux tmux window or within neovim itself.
-
Switching from Emacs. My experience
The only thing I truly miss from Emacs is [Magit](https://magit.vc/) since I still consider it the best git wrapper available. It is just too good. Unfortunately [Neogit](https://github.com/TimUntersberger/neogit) is not quite there yet although I hope it makes it at some point. I didn't like [Fugitive]https://github.com/tpope/vim-fugitive), but I ended up finding a good enough workaround by using [Lazygit](https://github.com/jesseduffield/lazygit) through [Toggleterm](https://github.com/akinsho/toggleterm.nvim).
- Neovim vs VSCode Neovim - what are the tradeoffs?
What are some alternatives?
eyeliner.nvim - ๐ Move faster with unique f/F indicators.
vim-fugitive - fugitive.vim: A Git wrapper so awesome, it should be illegal
substitute.nvim - Neovim plugin introducing a new operators motions to quickly replace and exchange text.
lazygit.nvim - Plugin for calling lazygit from within neovim.
better-escape.nvim - Escape from insert mode without delay when typing
octo.nvim - Edit and review GitHub issues and pull requests from the comfort of your favorite editor
bufferline.nvim - A snazzy bufferline for Neovim
lazygit - simple terminal UI for git commands
other.nvim - Open alternative files for the current buffer
difftastic - a structural diff that understands syntax ๐ฅ๐ฉ
nvim-fFHighlight - Highlight f and F in Neovim
gitsigns.nvim - Git integration for buffers