LuaSnip
which-key.nvim
Our great sponsors
LuaSnip | which-key.nvim | |
---|---|---|
77 | 115 | |
2,972 | 4,430 | |
- | - | |
9.1 | 6.8 | |
5 days ago | about 1 month 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.
LuaSnip
-
UltiSnips – Snippet Solution for Vim
If you're using Neovim, check out LuaSnip: https://github.com/L3MON4D3/LuaSnip
-
What is your preferred snippet plug-in?
I’ve been using LuaSnip and never put much thought into it. And this was mainly because of because it seemed like the default and had good LSP integration. The one downside is that creating custom snippets is not that ergonomic, but I don’t mind it if it’s the price to pay for speed.
-
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:
-
[Help] Paste triggers in Select mode
There was a similar issue in LuaSnip repo. The culprit was a keymap in the config. Do you happen to have a similar keymap somewhere in your config?
-
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?
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
-
Why does tab sometimes send me to a random position in my buffer?
I had the same issue recently. It was the case when I inserted a snippet but didn't fill out all the placeholders right away. This helped me. This is an autocommand that unlinks the unfinished snippet when you change the mode.
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
-
Visual Mode Issue + startuptime optimization
The menu most certainly comes from folke/which-key.nvim. Take a look into part of your config which sets it up.
-
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!
- Is there a way to confine key remapping to particular files (.tex)?
-
Set it and forget it plugins?
folke/which-key.nvim will help with you with your key maps.
-
Named registers populated by unrecognized content
I recently started actively using which-key plugin that shows the contents of all registers when pressing ".
-
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.
What are some alternatives?
vim-vsnip - Snippet plugin for vim/nvim that supports LSP/VSCode's snippet format.
NvChad - Blazing fast Neovim config providing solid defaults and a beautiful UI, enhancing your neovim experience.
ultisnips - UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips!
vim-which-key - :tulip: Vim plugin that shows keybindings in popup
friendly-snippets - Set of preconfigured snippets for different languages.
LunarVim - 🌙 LunarVim is an IDE layer for Neovim. Completely free and community driven.
nvim-snippy - Snippet plugin for Neovim written in Lua
telescope.nvim - Find, Filter, Preview, Pick. All lua, all the time.
snippets.nvim
nvim-tree.lua - A file explorer tree for neovim written in lua
nvim-cmp - A completion plugin for neovim coded in Lua.
rest.nvim - A fast Neovim http client written in Lua