From 38be1f6e7484e9699b3aa9ed806b8a8de356bbf8 Mon Sep 17 00:00:00 2001 From: Ruslan Date: Tue, 21 Jul 2026 12:10:18 +0300 Subject: [PATCH] feat(mappings): copy path --- lua/crentist/remap.lua | 4 ++++ 1 file changed, 4 insertions(+) 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' }) +