lsplines fix
This commit is contained in:
36
vim/.vim/lua/plugins/whichkey.lua
Normal file
36
vim/.vim/lua/plugins/whichkey.lua
Normal file
@ -0,0 +1,36 @@
|
||||
return {
|
||||
"folke/which-key.nvim",
|
||||
event = "VeryLazy",
|
||||
init = function()
|
||||
vim.o.timeout = true
|
||||
vim.o.timeoutlen = 300
|
||||
end,
|
||||
config = function()
|
||||
require("which-key").setup({})
|
||||
-- local wk = require("which-key")
|
||||
--
|
||||
-- wk.register({ [";"] = { ":" } }, { mode = "v" })
|
||||
-- wk.register({ [";"] = { ":" } }, { mode = "n" })
|
||||
--
|
||||
-- wk.register({
|
||||
-- ["%%"] = { '<C-R>=fnameescape(expand("%:p:h")."/")<CR>', "Current File Directory" },
|
||||
-- }, { mode = "c" })
|
||||
--
|
||||
-- wk.register({
|
||||
-- ["jk"] = { "<esc>" },
|
||||
-- ["J"] = { ":tabprevious<CR>" },
|
||||
-- ["K"] = { ":tabnext<CR>" },
|
||||
-- ["vv"] = { "<C-W>v" },
|
||||
-- ["ss"] = { "<C-W>s" },
|
||||
-- ["<space><space>"] = { ":w<CR>" },
|
||||
-- })
|
||||
--
|
||||
-- wk.register({
|
||||
-- t = {
|
||||
-- name = "+tab",
|
||||
-- t = { ":tabedit<Space>" },
|
||||
-- d = { ":tabclose<CR>" },
|
||||
-- },
|
||||
-- })
|
||||
end,
|
||||
}
|
Reference in New Issue
Block a user