diff options
author | Squibid <me@zacharyscheiman.com> | 2023-04-30 18:41:13 -0400 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2023-04-30 18:41:13 -0400 |
commit | 01a09f243ce07d367c539d69d4a7f4541ab1dcd7 (patch) | |
tree | ec2af23e59a38d4f9ac476e69abc07c8110b52a1 /after/plugin/whichkey.lua | |
parent | 7c5d3eff786bef884022cc813448bb085ba4eccd (diff) | |
download | nvim-01a09f243ce07d367c539d69d4a7f4541ab1dcd7.tar.gz nvim-01a09f243ce07d367c539d69d4a7f4541ab1dcd7.tar.bz2 nvim-01a09f243ce07d367c539d69d4a7f4541ab1dcd7.zip |
new config old version is now on v1 branch
Diffstat (limited to 'after/plugin/whichkey.lua')
-rw-r--r-- | after/plugin/whichkey.lua | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/after/plugin/whichkey.lua b/after/plugin/whichkey.lua new file mode 100644 index 0000000..66c8a9e --- /dev/null +++ b/after/plugin/whichkey.lua @@ -0,0 +1,20 @@ +local status_ok, whichkey = pcall(require, "which-key") +if not status_ok then + return +end + +whichkey.setup { + icons = { + breadcrumb = '>>', + separator = '->', + }, + winblend = 0, + window = { + border = 'shadow', + margin = { 1, 5, 2, 5 }, + }, + layout = { + width = { min = 20, max = 50 }, + align = 'left', + } +} |