diff options
author | vE5li <ve5li@tuta.io> | 2024-01-29 04:08:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-28 19:08:51 -0800 |
commit | af6537bc66e2ea506b9640c34720ef85d4704be6 (patch) | |
tree | 4ffa528dff7c9aafeaa8157690a89e3bf1adc90a /runtime/lua/vim/_meta/api_keysets.lua | |
parent | eee52d3427e2c97c0e9a9347bafdd55d49830ec7 (diff) | |
download | rneovim-af6537bc66e2ea506b9640c34720ef85d4704be6.tar.gz rneovim-af6537bc66e2ea506b9640c34720ef85d4704be6.tar.bz2 rneovim-af6537bc66e2ea506b9640c34720ef85d4704be6.zip |
fix(jumplist): Ctrl+o, Ctrl+i weird behavior when deleting buffers #25461
Problem:
- Navigation is not always symmetric: pressing Ctrl+o n times followed
by Ctrl+i n times does not always gets me back to where I started.
- Invalid buffers are not skipped by Ctrl+i/o, I have to press Ctrl+i/o
multiple times to get to the next/previous buffer.
Solution:
- Remove all entries of a buffer from the jump list when deleting it.
- Don't add a new entry to the jump list if the next buffer to be
displayed is already in the jump list.
Closes #25365
Diffstat (limited to 'runtime/lua/vim/_meta/api_keysets.lua')
0 files changed, 0 insertions, 0 deletions