1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-16 11:24:55 +02:00

Update nvim config

This commit is contained in:
Henrik Hautakoski 2024-02-24 17:01:28 +01:00
parent 3644271f7d
commit e995f07fef
11 changed files with 114 additions and 35 deletions

View file

@ -5,10 +5,18 @@ return {
vim.o.timeout = true
vim.o.timeoutlen = 300
end,
opts = {
-- your configuration comes here
-- or leave it empty to use the default settings
-- refer to the configuration section below
}
opts = {},
config = function()
local wk = require("which-key")
wk.register({
f = {
name = "file", -- optional group name
f = { "<cmd>Telescope find_files<cr>", "Find File" }, -- create a binding with label
n = { "New File" }, -- just a label. don't create any mapping
e = "Edit File" -- same as above
},
}, { prefix = "<leader>" })
end
}