emacs-which-key
which-key.nvim
Our great sponsors
emacs-which-key | which-key.nvim | |
---|---|---|
25 | 55 | |
1,416 | 1,728 | |
- | - | |
5.2 | 4.5 | |
7 days ago | 4 days ago | |
Emacs Lisp | Lua | |
GNU General Public License v3.0 only | 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.
emacs-which-key
-
About to declare Emacs bankruptcy. Any advice for cool or new packages, defaults, or ideas I should use before I start building my init.el? Also interested in guides to using evil.
install which-key. It's literally the perfect extension. There is no reason not to use which-key and you will be glad you have it some day.
-
What are some must-have packages for emacs?
beacon which-key auto-package-update dired-hacks helm
-
How to get doom emacs keybindings?
Hey there. I migrated from Doom to vanilla Emacs earlier this year and went through the process of backporting a bunch of Doom's features into vanilla. As others have said, general.el is the package you want to do this. Doom doesn't really replace the control key with space. Rather, it defines keybindings that allow you to chord the default keybindings with the space prefix. While I haven't ported every hotkey over (and have changed some of the keybindings), the code in my config replicates Doom's behavior (prefix with the space leader key). You should also use which-key, which will show the available hotkeys after pressing a prefix. Doom has this enabled by default and there is no configuration required to get it working with the general prefix keys.
-
Very basic commands seem zany to me.. does it make sense later?
In addition to the Mastering Emacs blog, I think you may find this useful: https://github.com/justbur/emacs-which-key.
-
How did you get started with vanilla emacs?
- whick-key helps you easily see which keybinds are possible.
-
Tips To Learn Emacs Fast as in Very Fast
Install which-key, it will help you a lot.
-
Which which-key should I install?
The Melpa versioning scheme is a bit unfortunate, since it does not use the same semantic versioning scheme as rest of the community but uses dates when package is submitted. But it is built on 2022, 2nd Feb, which is the day of the latest update when which-key was bumped to version 3.6.0. You can check the GitHub repo.
The version on melpa is whatever's currently on the Github repo. The version on GNU only updates when the author actually publishes a release. So depends on whether you want to live on the bleeding edge or not.
-
Newb question about UI
Enabling which-key will help you out with the keybindings stuff.
-
Your first taste of emacs
A great package for learning emacs is which-key. This package makes a minibuffer popup with a key map based on the last key you just pressed (i.e if there are any). Add (use-package which-key :config (which-key-mode t)) to your config and try pressing C-x to see what options you have from there.
which-key.nvim
-
Vim, infamous for its steep learning curve, often leaves new users confused where to start. Today is the 10th anniversary of the infamous "How do I exit Vim" question, which made news when it first hit 1 million views.
But again, that's not a specifically vim issue, its endemic to TUIs (hence bash completions and all the other hacks to make discoverability accesible). As well, there are some projects to ameliorate this in vim like the which-key family of plugins01 and others like them.
-
Is there any plugin that helps to create a custom menu or popup?
For keybindings specifically, folke/which-key.nvim. If you actually want to create your own, the most popular UI component plugin that I can think of is MunifTanjim/nui.nvim
- Menus
-
Is my understanding of Vim and Emacs correct?
__usability features__ Emacs has a lot of great ideas for usability, some of which have been copied to vim like which-key https://github.com/folke/which-key.nvim https://github.com/liuchengxu/vim-which-key
-
Considering a stream deck…
If it is just about remembering key bindings I would recommend https://github.com/folke/which-key.nvim
-
Plugin to improve your vim usage?
Not exactly what you asked for, but I like which-key.nvim. It gives you a preview of the next available key. Few know all of Vim's keybindings, and I have trouble just remembering all the ones I've added over the years.
-
Hydra: the port of famous Emacs package
They do not interfere. which-key can show entering mappings, but currently it shows something like (Hydra4_on_enter)(Hydra4_J)(Hydra4_wait). It seems that folke/which-key is in unmaintained mode: 98 issues and number is only growing. With this pull request which-key should utilize desc field, but which_key_ignore doesn't handle properly. If it will, it is possible either to hide hydras from the which-key menu: or show something like: Hydra: or Hydra:
-
Why bother with Vim in 2022 (UI Design Discussion)
For example, there are some very useful plugins like which-key that hugely help in discoverability without sacrificing on vims expressiveness.
-
What is the biggest barrier of entry for learning vim?
Printing cheat sheets is helpful. At some point, make your own. which-key.nvim (or vim-which-key) is a plugin I wish I had found years ago. It gives you hints of next keys available to press. It's great for beginners, and experts. It's like the ultimate real-time cheatsheet.
-
Plugins like Harpoon (for marking / jumping to a collection of files)?
I use chentoast/marks.nvim, which-key.nvim and :telescope marks. This combination of plugins makes working with marks much easier.
What are some alternatives?
LunarVim - An IDE layer for Neovim with sane defaults. Completely free and community driven.
NvChad - An attempt to make neovim cli functional like an IDE while being very beautiful, blazing fast startuptime ~ 14ms to 67ms
telescope.nvim - Find, Filter, Preview, Pick. All lua, all the time.
vim-which-key - :tulip: Vim plugin that shows keybindings in popup
nvim-tree.lua - A file explorer tree for neovim written in lua
nvim-map-to-lua - Neovim plugin to convert `:map` to `vim.api.nvim_set_keymap`.
neovim - Vim-fork focused on extensibility and usability
lvim - My lvim configration, based on kylo252's
LuaSnip - Snippet Engine for Neovim written in Lua.
rest.nvim - A fast Neovim http client written in Lua
tokyonight.nvim - 🏙 A clean, dark Neovim theme written in Lua, with support for lsp, treesitter and lots of plugins. Includes additional themes for Kitty, Alacritty, iTerm and Fish.
nvim-lua-guide - A guide to using Lua in Neovim