Adding a lot of plugin

This commit is contained in:
2023-12-21 00:40:03 +01:00
parent c39e13a353
commit 9a2bca5f6d
11 changed files with 267 additions and 2 deletions

View File

@@ -0,0 +1,21 @@
function conf ()
--- Global options
vim.o.timeout = true
vim.o.timeoutlen = 300
--- Override keymap
local km = vim.keymap.set
km('n', '<C-s>', ':WhichKey<cr>', { desc = "Which-key" })
local wk = require("which-key")
wk.register({
n = {
name = "nohl",
},
}, { prefix = "<leader>" })
end
return {
"folke/which-key.nvim",
event = "VeryLazy",
config = conf,
}