From 7b88e10eeb119a853f54c5284c2212e34b41e31d Mon Sep 17 00:00:00 2001 From: Dennis Date: Mon, 27 Oct 2025 12:55:54 +0100 Subject: [PATCH] adds command for opening thing in other window --- modules/nvim/config/lua/plugins/which-key.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/nvim/config/lua/plugins/which-key.lua b/modules/nvim/config/lua/plugins/which-key.lua index 961a803..2b20bf1 100644 --- a/modules/nvim/config/lua/plugins/which-key.lua +++ b/modules/nvim/config/lua/plugins/which-key.lua @@ -14,6 +14,12 @@ return { wk.setup(opts) wk.add({ + { + "od", + "vsplit | lua vim.lsp.buf.definition()", + desc = "Go to definition in other window", + mode = "n", + }, { "b", group = "+buffer", mode = "n" }, { "bd",