diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-07-13 08:56:58 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-13 08:56:58 +0800 |
commit | b1aa8f5eb8a5407e869335e9987b73f8515c37e5 (patch) | |
tree | 11d8e4909a8b191fbe627354fe68972102d6e467 /runtime/doc/options.txt | |
parent | 10256bb760fcab0dc25f7eb5b0b45966cb771939 (diff) | |
download | rneovim-b1aa8f5eb8a5407e869335e9987b73f8515c37e5.tar.gz rneovim-b1aa8f5eb8a5407e869335e9987b73f8515c37e5.tar.bz2 rneovim-b1aa8f5eb8a5407e869335e9987b73f8515c37e5.zip |
vim-patch:9.1.0572: cannot specify tab page closing behaviour (#29682)
Problem: cannot specify tab page closing behaviour
(Gianluca Pacchiella)
Solution: Add the 'tabclose' option (LemonBoy).
fixes: vim/vim#5967
closes: vim/vim#15204
https://github.com/vim/vim/commit/5247b0b92e191a046b034171a3b34031e317735f
Co-authored-by: LemonBoy <thatlemon@gmail.com>
Diffstat (limited to 'runtime/doc/options.txt')
-rw-r--r-- | runtime/doc/options.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 4bb589fb2c..caa6649b17 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -6343,6 +6343,19 @@ A jump table for the options with a short description can be found at |Q_op|. 'S' flag in 'cpoptions'. Only normal file name characters can be used, `/\*?[|<>` are illegal. + *'tabclose'* *'tcl'* +'tabclose' 'tcl' string (default "") + global + This option controls the behavior when closing tab pages (e.g., using + |:tabclose|). When empty Vim goes to the next (right) tab page. + + Possible values (comma-separated list): + left If included, go to the previous tab page instead of + the next one. + uselast If included, go to the previously used tab page if + possible. This option takes precedence over the + others. + *'tabline'* *'tal'* 'tabline' 'tal' string (default "") global |