aboutsummaryrefslogtreecommitdiff
path: root/fnl/plugins/which_key.fnl
blob: 959e0a689a550d301a61d4711b6f67529b302d58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
(local whichkey (require :which-key))
(whichkey.setup)

(local mappings {
  1 {1 " f" 2 "<cmd>Neotree toggle<CR>" :desc "fs"}
  2 {1 " w" 2 "<cmd>WinShift<CR>" :desc "win shift"}
  3 {1 " t" 2 "<cmd>ToggleTerm direction=horizontal<CR>" :desc "hterm"}

  :mode [:n :v]
  :silent true
  :noremap true
  :nowait true})

(whichkey.add mappings)