diff --git a/lua/crentist/remap.lua b/lua/crentist/remap.lua index 9f69828..fd3569d 100644 --- a/lua/crentist/remap.lua +++ b/lua/crentist/remap.lua @@ -45,3 +45,7 @@ vim.keymap.set("n", "", "cprev") vim.keymap.set("n", "", "PrtChatToggle") +vim.keymap.set('n', 'cp', function() + vim.fn.setreg('+', vim.fn.expand('%')) +end, { desc = 'Copy file path' }) +