From afcf5f92e7a4e0320c08839267f5c5ec9fa36dbb Mon Sep 17 00:00:00 2001 From: Andre Schaf Date: Mon, 6 Oct 2025 14:43:39 +0200 Subject: [PATCH] added additional keybindings --- lua/remap.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lua/remap.lua b/lua/remap.lua index dd1c1aa..9a98430 100644 --- a/lua/remap.lua +++ b/lua/remap.lua @@ -23,5 +23,9 @@ vim.keymap.set("n", "t2", ":set expandtab shiftwidth=2 softtabsto vim.keymap.set("n", "t4", ":set expandtab shiftwidth=4 softtabstop=4") vim.keymap.set("n", "t", ":set noexpandtab shiftwidth=4 softtabstop=4") -vim.keymap.set("n", "gt", ":wincmd s :wincmd T") -vim.keymap.set("n", "tc", ":tabc") +vim.keymap.set("n", "gt", ":wincmd s :wincmd T") +vim.keymap.set("n", "tc", ":tabc") + +-- copy current file path +vim.keymap.set("n", "cp", ":let @+ = expand('%')") +