diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-07-11 08:02:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-11 08:02:59 +0800 |
commit | 45b7a2c50335e1943a36715101e40eda5a1423f3 (patch) | |
tree | a74b324a6edd148f7ee3c6debe142b46e4503ab4 /runtime | |
parent | afbe7736a4966f22146d857f246eac01cd080773 (diff) | |
download | rneovim-45b7a2c50335e1943a36715101e40eda5a1423f3.tar.gz rneovim-45b7a2c50335e1943a36715101e40eda5a1423f3.tar.bz2 rneovim-45b7a2c50335e1943a36715101e40eda5a1423f3.zip |
vim-patch:9.1.0557: moving in the buffer list doesn't work as documented (#29653)
Problem: moving in the buffer list doesn't work as documented
(SenileFelineS)
Solution: Skip non-help buffers, when run from normal buffers, else
only move from help buffers to the next help buffer (LemonBoy)
As explained in the help section for :bnext and :bprev the commands
should jump from help buffers to help buffers (and from regular ones to
regular ones).
fixes: vim/vim#4478
closes: vim/vim#15198
https://github.com/vim/vim/commit/893eeeb44583ca33276e263165b2a6e50fd297d0
Co-authored-by: LemonBoy <thatlemon@gmail.com>
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/news.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt index f1c241a951..604515a808 100644 --- a/runtime/doc/news.txt +++ b/runtime/doc/news.txt @@ -49,6 +49,9 @@ EDITOR now appear left of lower priority signs. • |hl-CurSearch| now behaves the same as Vim and no longer updates on every cursor movement. +• Moving in the buffer list using |:bnext| and similar commands behaves as + documented and skips help buffers if run from a non-help buffer, otherwise + it moves to another help buffer. VIM SCRIPT |