dotfiles/nvim/.config/nvim/after/plugin/which_key.lua
Sanchayan Maity 108630d19c nvim: Move plugin configuration files to after/plugin
Now that neovim runtime can also source lua files from traditional vim
runtime directories like after/plugin/ftplugin etc, move all plugin
configuration files to after/plugin.
2021-06-17 10:07:51 +05:30

7 lines
261 B
Lua

local remap = vim.api.nvim_set_keymap
vim.g.which_key_use_floating_win = 1
remap('n', '<Leader>', ':<C-U>WhichKey \'<Space>\'<CR>', { noremap = true, silent = true })
remap('n', '<LocalLeader>', ':<C-U>WhichKey \',\'<CR>', { noremap = true, silent = true })