From 5c6e737e1bc1c80b351a300474ab717af55ec6cc 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", + }, }