aboutsummaryrefslogtreecommitdiff
path: root/_config.yml
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2023-09-01 00:23:55 +0200
committerjdhao <jdhao@hotmail.com>2023-09-01 00:26:08 +0200
commit359621b126507f7ff5dbbb017004721a54e6a89d (patch)
tree9abe8299032c5697b9044f72ef006378a568c70d /_config.yml
parent4dc2d9575bb35f5a3951d1289c02d1826ad72eb2 (diff)
fix multi visual line delete issue
For TextYankPost event, it includes both yank and delete, we should only restore cursor position for yank, not for delete. Otherwise, it messes up with text deletion when you visually select multiple lines and delete them. See also issue reported here: https://github.com/jdhao/nvim-config/pull/222#issuecomment-1698634645
Diffstat (limited to '_config.yml')
0 files changed, 0 insertions, 0 deletions