From e62c2c3c95855232f0211459966a45a098f46a43 Mon Sep 17 00:00:00 2001 From: Christian Segundo Date: Sat, 20 Jan 2024 23:56:23 +0100 Subject: mass exodus --- public/nvim/.nvim/lua/plugins/core/which-key.lua | 45 ------------------------ 1 file changed, 45 deletions(-) delete mode 100644 public/nvim/.nvim/lua/plugins/core/which-key.lua (limited to 'public/nvim/.nvim/lua/plugins/core/which-key.lua') diff --git a/public/nvim/.nvim/lua/plugins/core/which-key.lua b/public/nvim/.nvim/lua/plugins/core/which-key.lua deleted file mode 100644 index 6e046a3..0000000 --- a/public/nvim/.nvim/lua/plugins/core/which-key.lua +++ /dev/null @@ -1,45 +0,0 @@ -return { - "folke/which-key.nvim", - event = "VeryLazy", - init = function() - vim.o.timeout = true - vim.o.timeoutlen = 300 - end, - - opts = { - f = { name = "File" }, - b = { - name = "Buffer", - n = { "BufferNext", "Next" }, - p = { "BufferPrevious", "Previous" }, - c = { "BufferClose", "Close" }, - ["1"] = { "BufferGoto 1", "1" }, - ["2"] = { "BufferGoto 2", "2" }, - ["3"] = { "BufferGoto 3", "3" }, - ["4"] = { "BufferGoto 4", "4" }, - ["5"] = { "BufferGoto 5", "5" }, - ["6"] = { "BufferGoto 6", "6" }, - ["7"] = { "BufferGoto 7", "7" }, - ["8"] = { "BufferGoto 8", "8" }, - ["9"] = { "BufferGoto 9", "9" }, - }, - l = { - name = "LSP", - a = { "lua vim.lsp.buf.code_action()", "Action" }, - f = { "lua vim.lsp.buf.format({ async = false, timeout_ms = 5000 })", "Format" }, - d = { "lua vim.diagnostic.open_float()", "Diagnostic" }, - h = { "lua vim.lsp.buf.hover()", "Help" }, - g = { - name = "Go to", - D = { "lua vim.lsp.buf.declaration()", "Go to declaration" }, - d = { "lua vim.lsp.buf.definition()", "Go to definition" }, - i = { "lua vim.lsp.buf.definition()", "Go to implementation" }, - }, - }, - }, - - config = function(_, opts) - local wk = require("which-key") - wk.register(opts, { prefix = "" }) - end, -} -- cgit v1.2.3