which-key.nvim
hotpot.nvim
Our great sponsors
which-key.nvim | hotpot.nvim | |
---|---|---|
115 | 16 | |
4,281 | 323 | |
- | - | |
6.8 | 9.4 | |
12 days ago | 10 days ago | |
Lua | Fennel | |
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.
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.
hotpot.nvim
-
Configuring Neovim with Fennel
hotpot.nvim
-
A config using fennel .
There are some plugins out there that provide the Lua glue code (e.g. hotpot.nvim), but you will still have to depend on Fennel. I have not tried any of these plugins, so I have no idea how well they work. Neovim is not Emacs, and Lua is a fine language by itself, so that's what I prefer to stick with. And Vim script of course, it may be bad for plugins, but it's actually quite nice for configuration.
-
Swapping to Fennel
Hotpot: this is mostly just a Fennel compiler, but it is quite nice at that
-
[help] How to write nvim plugins with Fennel?
Another method would be to use hotpot: https://github.com/rktjmp/hotpot.nvim. It's much simpler with what it does, doesn't include the macros and helper functions but you might prefer it. Here's an example: https://github.com/rktjmp/paperplanes.nvim
-
LSP for Fennel?
While there isn't an lsp, https://github.com/rktjmp/hotpot.nvim can give you diagnostics and https://github.com/Olical/conjure can give you cmp completions
- Nvim config in fennel?
-
Hotter Hotpot: bytecode cache beta branch
You can track or subscribe to this issue to see when it goes into master/0.2.0.
-
Best way of using fennel in neovim? Aniseed vs. Hotpot vs. Manually compiling?
I see there are 3 approaches Using aniseed: https://github.com/Olical/aniseed Using hotpot: https://github.com/rktjmp/hotpot.nvim Using plain fennel: https://git.sr.ht/~hauleth/dotfiles/tree/master/item/vim/.config/nvim/init.lua (this is just the one I found, lmk if theres a better version of this)
-
Fennel + Neovim and the fallacy of choice
Here's a macro I wrote ages ago for my settings. Some might turn their noses up at doing this, because really you're just making a potentially leaky if not dysfunctional abstraction over nvim's actual API, but, well I did it for fun π€·ββοΈ.
What are some alternatives?
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
nvim-map-to-lua - Neovim plugin to convert `:map` to `vim.api.nvim_set_keymap`.
legendary.nvim - πΊοΈ A legend for your keymaps, commands, and autocmds, integrates with which-key.nvim, lazy.nvim, and more.
neovim - Vim-fork focused on extensibility and usability
LuaSnip - Snippet Engine for Neovim written in Lua.
hydra.nvim - Create custom submodes and menus
my-lunarvim-config - My config for LunarVim