diff options
| author | jdhao <jdhao@hotmail.com> | 2023-09-01 00:23:55 +0200 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2023-09-01 00:26:08 +0200 |
| commit | 359621b126507f7ff5dbbb017004721a54e6a89d (patch) | |
| tree | 9abe8299032c5697b9044f72ef006378a568c70d /after/ftplugin/vim.vim | |
| parent | 4dc2d9575bb35f5a3951d1289c02d1826ad72eb2 (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 'after/ftplugin/vim.vim')
0 files changed, 0 insertions, 0 deletions
