diff options
| author | aktersnurra <gustaf@gustafrydholm.xyz> | 2026-04-17 23:34:22 +0200 |
|---|---|---|
| committer | aktersnurra <gustaf@gustafrydholm.xyz> | 2026-04-18 00:50:44 +0200 |
| commit | ac8edfb0db52efe65e01f73ef44133a86571ba02 (patch) | |
| tree | 928d8f0d5ce0520d5acf782c4fdfd452f8f8470f /fnl/plugins/which-key.fnl | |
| parent | 152fd9d787c7433cad95795992e444250cb83216 (diff) | |
More based fixes
Diffstat (limited to 'fnl/plugins/which-key.fnl')
| -rw-r--r-- | fnl/plugins/which-key.fnl | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/fnl/plugins/which-key.fnl b/fnl/plugins/which-key.fnl index 189a4a4..8b66834 100644 --- a/fnl/plugins/which-key.fnl +++ b/fnl/plugins/which-key.fnl @@ -37,18 +37,19 @@ :show_help true :disable {:filetypes [:netrw]}}) -(local groups [{:mode [:n :v] - 1 {1 :<leader>d :group :+diff} - 2 {1 :<leader>f :group :+find} - 3 {1 :<leader>g :group :+git} - 4 {1 :<leader>i :group :+db} - 5 {1 :<leader>j :group :+diagnostics} - 6 {1 :<leader>l :group :+lsp} - 7 {1 :<leader>o :group :+orgmode} - 8 {1 :<leader>r :group :+replace} - 9 {1 :<leader>s :group :+session} - 10 {1 :<leader>w :group :+worktree}} - {1 :<leader><BS> 2 "<cmd>bdelete<cr>" :desc "Close Buffer"}]) +(local groups + [{:mode [:n :v] + 1 {1 :<leader>d :group :+diff} + 2 {1 :<leader>f :group :+find} + 3 {1 :<leader>g :group :+git} + 4 {1 :<leader>i :group :+db} + 5 {1 :<leader>j :group :+diagnostics} + 6 {1 :<leader>l :group :+lsp} + 7 {1 :<leader>o :group :+orgmode} + 8 {1 :<leader>r :group :+replace} + 9 {1 :<leader>s :group :+session} + 10 {1 :<leader>w :group :+worktree}} + {1 :<leader><BS> 2 :<cmd>bdelete<cr> :desc "Close Buffer"}]) (λ config [] (let [which-key (require :which-key)] |