summaryrefslogtreecommitdiff
path: root/lua/config/options.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lua/config/options.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/lua/config/options.lua b/lua/config/options.lua
index 5a7be5d..cf30af5 100644
--- a/lua/config/options.lua
+++ b/lua/config/options.lua
@@ -59,3 +59,7 @@ map("n", "N", "Nzzzv", { desc = "Previous Search Result" })
-- Reset search highlight on ESC
map("n", "<Esc>", "<cmd>nohlsearch<CR>", { desc = "Reset search highlight" })
+
+-- Copy and paste to/from clipboard
+map("n", "<leader>y", [["+y]], { desc = "Copy to clipboard" })
+map("n", "<leader>p", [["+p]], { desc = "Paste from clipboard" })