summaryrefslogtreecommitdiff
path: root/fnl/config/which-key.fnl
diff options
context:
space:
mode:
authoraktersnurra <grydholm@kth.se>2022-04-30 13:05:36 +0200
committeraktersnurra <grydholm@kth.se>2022-04-30 13:05:36 +0200
commit04098ac968410bf3e1b091c1f18eb15e326dcf80 (patch)
treee39b420c002328bba8979ff0c721fe3c622bcb73 /fnl/config/which-key.fnl
parent40aae93e63c6849db1183b026e4b5b64c49c2154 (diff)
style: format
Diffstat (limited to 'fnl/config/which-key.fnl')
-rw-r--r--fnl/config/which-key.fnl11
1 files changed, 6 insertions, 5 deletions
diff --git a/fnl/config/which-key.fnl b/fnl/config/which-key.fnl
index 4d6add4..7230308 100644
--- a/fnl/config/which-key.fnl
+++ b/fnl/config/which-key.fnl
@@ -1,7 +1,8 @@
;; Which-key provides a pop-up meny for some key mappings.
-(module config.which-key {autoload {util util}})
+(module config.which-key
+ {autoload {util util}})
-(def- setup
+(def- setup
{:plugins {:marks true
:registers true
:spelling {:enabled true :suggestions 20}
@@ -29,7 +30,7 @@
:triggers :auto
:triggers_blacklist {:i [:j :k] :v [:j :k]}})
-(def- opts
+(def- opts
{:mode :n
:prefix :<leader>
:buffer nil
@@ -114,7 +115,7 @@
"Replace Buffer"]}
:T {:name :Treesitter :p [:<cmd>TSPlaygroundToggle<cr> :Playground]}})
-(def- vopts
+(def- vopts
{:mode :v
:prefix :<leader>
:buffer nil
@@ -122,7 +123,7 @@
:noremap true
:nowait true})
-(def- vmappings
+(def- vmappings
{:k ["<ESC><CMD>lua require('Comment.api').toggle_linewise_op(vim.fn.visualmode())<CR>"
:Comment]})