Skip to content

cursor position after yanked? #25282

Answered by yutkat
ZhaoYouYa asked this question in Q&A
Sep 21, 2023 · 2 comments · 1 reply
Discussion options

You must be logged in to vote
vim.keymap.set({ "x" }, "gy", "y`>", { noremap = true, silent = true })

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@ZhaoYouYa
Comment options

Answer selected by ZhaoYouYa
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants