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('%')") +