From bcb1114f1e4ecfe58abd045a721f658fcd575567 Mon Sep 17 00:00:00 2001 From: rootiest Date: Tue, 8 Oct 2024 04:29:10 -0400 Subject: [PATCH] feat: enhance clipboard integration with synchronization features --- lua/plugins/coding.lua | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/lua/plugins/coding.lua b/lua/plugins/coding.lua index 777a78f..eef10ec 100644 --- a/lua/plugins/coding.lua +++ b/lua/plugins/coding.lua @@ -29,8 +29,20 @@ return { { -- Yanky "gbprod/yanky.nvim", opts = { + system_clipboard = { + sync_with_ring = true, + clipboard_register = '"', + }, + highlight = { + on_put = true, + on_yank = true, + timer = 500, + }, preserve_cursor_position = { - enabled = false, + enabled = true, + }, + textobj = { + enabled = true, }, }, }, @@ -73,4 +85,8 @@ return { }, }, }, + { + "Chaitanyabsprip/fastaction.nvim", + opts = {}, + }, }