Add which-key registrations

This commit is contained in:
iFargle 2024-02-15 14:06:26 +09:00
parent 65029e225c
commit 9dd7251627

View file

@ -92,8 +92,6 @@
nix-develop.enable = true; nix-develop.enable = true;
# tab bar like Firefox or Chrome # tab bar like Firefox or Chrome
bufferline.enable = true; bufferline.enable = true;
# Popup to show shortcuts
which-key.enable = true;
# Automatic indent # Automatic indent
intellitab.enable = true; intellitab.enable = true;
# Highlight all entries of the currently selected word # Highlight all entries of the currently selected word
@ -111,6 +109,22 @@
# git plugin for vim # git plugin for vim
fugitive.enable = true; fugitive.enable = true;
# Popup to show shortcuts
which-key = {
enable = true;
registrations = {
"<leader>b" = "Manage buffers";
"<leader>c" = "Colorscheme";
"<leader>g" = "Git Options";
"<leader>l" = "LSP Options";
"<leader>n" = "NvimTree";
"<leader>t" = "ToggleTerm";
"<leader>w" = "Manage Windows";
"<leader>wo" = "Open New...";
"<leader>wr" = "Resize";
};
};
# Airline / Powerline alternative # Airline / Powerline alternative
lualine = { lualine = {
enable = true; enable = true;