which-key.nvim
LuaSnip
Our great sponsors
which-key.nvim | LuaSnip | |
---|---|---|
115 | 77 | |
4,318 | 2,858 | |
- | - | |
6.8 | 9.1 | |
13 days ago | 9 days ago | |
Lua | Lua | |
Apache License 2.0 | 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.
which-key.nvim
-
Modeless Vim
There is a well known plugin for neovim to do this kind of behavior. You can even create your own hotkeys into that plugin and will help you navigate and memorize different hotkeys for the editor. The plugin is called whichkey, and this is their github https://github.com/folke/which-key.nvim
-
How to Transform Vim to a Complete IDE?
By default, most of nvim packages have WhichKey plugin which shows popup with available commands. For instance, you press space or g and what for a second:
-
My Favorite Vim Oneliners for Text Manipulation
One of the recent innovations in the Vim space that I've appreciated a lot is which-key by folke for Neovim: https://github.com/folke/which-key.nvim
It makes keybindings in vim discoverable, it's quite magical. For example, press g and get a table of all the various commands that follow from there. Press mapleader and get a table of various commands from there, etc.
-
LazyVim
>The problem with that is that for some rarely used action one forgets...
Install https://github.com/folke/which-key.nvim and you will always have a popup that will tell you what keys to use next.
-
Resources for mastering vim motions
https://github.com/folke/which-key.nvim - it's like a cheat sheet in neovim!
-
Set it and forget it plugins?
folke/which-key.nvim will help with you with your key maps.
-
Should I learn lua? I am a vs code power user, which prevents me from completely adapting neovim, since I always find something is missing in neovim.
3) I'd recommend using Telescope, more specifically, :Telescope keympas. There's also which-key, which might be more intuitive, but I haven't used it.
-
How could one learn to customize Neovim?
If you're ready for it, a more involved but potentially useful plugin is which-key, for key-bindings and navigation thereof.
-
Just got neovim up and working
This goes straight into my init.lua (or in another file if you want to have them separated), then I use https://github.com/folke/which-key.nvim and map (space + c) to (i think it was like that I lost that config part) :doautocmd exe_code. Long story short, I create a vim command that changes depending on the type of file, I execute it with an extension, of course you can map it and forget about which-key but it's a pretty convinient tool for me. There are probably other (even better) methods)but this is what I use. I'm afraid you'll have to get your hands a little bit dirty or find a plugin that does it for you :=)
-
Thinking about migrating from vim, why should I?
which-key, which is probably a biggest quality of life improvement in neovim ecosystem. It gives you contextual help for composable commands, like registers, marks and motions. Nobody can use marks or registers to full extent, because nobody is going to hold 30+ of them in their head. But with which-key, you can. Same for motions - many are useful, but you just don't use them often enough to remember them. But with which-key, you can.
LuaSnip
-
UltiSnips – Snippet Solution for Vim
If you're using Neovim, check out LuaSnip: https://github.com/L3MON4D3/LuaSnip
-
HTML and Css snippets
You can use LuaSnip and load snippets from VSCode. The documentation is pretty complete, but here is my config in case you want another reference.
-
Enabling python's snippets.
I am trying to add snippets for python, i have LuaSnip and friendly-snippets installed, but for some reason it does not load the snippets. This is how i load the plugins:
-
My Haskell snippet collection for Neovim - with tree-sitter and LSP
I have decided to extract my Haskell snippets for LuaSnip into a plugin: haskell-snippets.nvim.
-
How do I use template files via Lua?
Not exactly what you're talking about but you could look into LuaSnip?
-
How to setup 'nvim-cmp' properly?
BTW, how to achieve "javadoc.mp4" in LuaSnip's README?
There are a few more resources for new users as well on the official repo, and you can find the implementation in Examples/snippets.lua
-
Does anyone know how to quickly create class, interface, record, ...etc in java with nvim
You mean snippets? If yes, you can try Luasnip and friendly-snippets with nvim-cmp and here's the setup guide. Hope it helps
- nvim-cmp autocompletion issues with C++
-
HTML auto quoting plugin?
Try this. https://github.com/windwp/nvim-ts-autotag You can also go the snippet way with lua snip https://github.com/L3MON4D3/LuaSnip
What are some alternatives?
vim-vsnip - Snippet plugin for vim/nvim that supports LSP/VSCode's snippet format.
ultisnips - UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips!
friendly-snippets - Set of preconfigured snippets for different languages.
nvim-snippy - Snippet plugin for Neovim written in Lua
snippets.nvim
nvim-cmp - A completion plugin for neovim coded in Lua.
NvChad - Blazing fast Neovim config providing solid defaults and a beautiful UI, enhancing your neovim experience.
vim-which-key - :tulip: Vim plugin that shows keybindings in popup
LunarVim - 🌙 LunarVim is an IDE layer for Neovim. Completely free and community driven.
telescope.nvim - Find, Filter, Preview, Pick. All lua, all the time.
nvim-tree.lua - A file explorer tree for neovim written in lua
rest.nvim - A fast Neovim http client written in Lua