Whichkey

whichkey layer #

The whichkey layer provides a pop-up for possible key bindings for the command you started typing via the WhichKey plugin.

Configuration #

Any valid configuration for the WhichKey plugin can be passed to this layer.

Examples #

-- path/of/your/vim/config/init.lua

require("visimp")({
  whichkey = {
    window = {
      border = "shadow", -- none, single, double, shadow
      position = "top", -- bottom, top
    }
  }
})

Layer-specific API #

add(mappings) #

Just a wrapper for whichkey’s add method. Under normal circumstances, there is no need to call this method or do anything else to have one’s mappings show up.