From 04f0dc4bea07fd0e452258f03dd8b7dd35a557e5 Mon Sep 17 00:00:00 2001 From: Raoul Branten Date: Mon, 27 Jan 2025 16:13:48 +0100 Subject: [PATCH] tab navigation and jump to definition in new tab always --- lua/core/keymaps.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lua/core/keymaps.lua b/lua/core/keymaps.lua index fff3ec1..e27d896 100644 --- a/lua/core/keymaps.lua +++ b/lua/core/keymaps.lua @@ -21,3 +21,10 @@ vim.g.maplocalleader = ' ' -- toggle tagbar plugin vim.keymap.set('n', '', ':TagbarToggle fj') + +-- tab navigation using +vim.keymap.set('n', '', ':tabnext') +vim.keymap.set('n', '', ':tabprevious') + +-- jump to definition in new tab +vim.keymap.set('n', '', 'tab split | lua vim.lsp.buf.definition()', {})