home: vim: add 'which-key-nvim'

This commit is contained in:
Bruno BELANYI 2022-02-26 13:51:34 +01:00
parent b76af022bd
commit 9e7f7ed736
2 changed files with 7 additions and 0 deletions

View file

@ -68,6 +68,9 @@ in
null-ls-nvim # LSP integration for linters and formatters
(nvim-treesitter.withPlugins (_: pkgs.tree-sitter.allGrammars)) # Better highlighting
plenary-nvim # 'null-ls' dependency
# UX improvements
which-key-nvim # Show available mappings
];
extraConfig = builtins.readFile ./init.vim;

View file

@ -0,0 +1,4 @@
lua << EOF
local wk = require("which-key")
wk.setup()
EOF