From 5c774bbdfb23e4ad71198d2b67b6d66477cbb231 Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Sat, 31 May 2025 01:13:34 +0200 Subject: [PATCH] Cursor sticks to character during surround operations --- nvim/dot-config/nvim/lua/plugins/surround.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nvim/dot-config/nvim/lua/plugins/surround.lua b/nvim/dot-config/nvim/lua/plugins/surround.lua index 17cef72..3535984 100644 --- a/nvim/dot-config/nvim/lua/plugins/surround.lua +++ b/nvim/dot-config/nvim/lua/plugins/surround.lua @@ -6,5 +6,7 @@ return { event = "VeryLazy", --- @module "nvim-surround" --- @type user_options - opts = {}, + opts = { + move_cursor = "sticky", + }, }