feat(vim): add which-key

This commit is contained in:
Patrick 2024-10-27 14:18:38 +01:00
parent 42cbcb2d4b
commit b10d75c428
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
2 changed files with 3 additions and 2 deletions

View file

@ -70,11 +70,11 @@
smartindent = true; smartindent = true;
# Only wait 20 milliseconds for characters to arrive (see :help timeout) # Only wait 20 milliseconds for characters to arrive (see :help timeout)
timeoutlen = 20; timeoutlen = 500; # wait for whichkey
ttimeoutlen = 20; ttimeoutlen = 20;
# Disable timeout, set ttimeout (only timeout on keycodes) # Disable timeout, set ttimeout (only timeout on keycodes)
timeout = false; timeout = true;
ttimeout = true; ttimeout = true;
# replace grep with ripgrep # replace grep with ripgrep

View file

@ -7,6 +7,7 @@
]; ];
programs.nixvim.plugins = { programs.nixvim.plugins = {
web-devicons.enable = true; web-devicons.enable = true;
which-key.enable = true;
lualine = { lualine = {
enable = true; enable = true;
settings = { settings = {