move most important config to ansible
This commit is contained in:
12
roles/nvim/files/lua/config/plugins/which-key.lua
Normal file
12
roles/nvim/files/lua/config/plugins/which-key.lua
Normal file
@ -0,0 +1,12 @@
|
||||
return {
|
||||
'folke/which-key.nvim',
|
||||
event = 'VeryLazy',
|
||||
config = function()
|
||||
local wk = require('which-key')
|
||||
wk.add({
|
||||
{ '<leader>nh', '<cmd>nohl<cr>', desc = 'No Highlight' },
|
||||
{ '<leader>l', group = 'LazyGit', icon = { icon = '', color = 'cyan' } },
|
||||
{ '<leader>lg', '<cmd>LazyGit<cr>', desc = 'Open LazyGit', icon = { icon = '', color = 'cyan' } },
|
||||
})
|
||||
end
|
||||
}
|
||||
Reference in New Issue
Block a user