From 4ba74953b514397b6c061edafe614917925b3a77 Mon Sep 17 00:00:00 2001 From: Gregory Anders Date: Mon, 16 Aug 2021 12:20:46 -0600 Subject: feat(defaults): switchbuf=uselast #15394 --- runtime/doc/options.txt | 2 +- runtime/doc/vim_diff.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'runtime') diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 484ea4465f..4f54e71d79 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -6116,7 +6116,7 @@ A jump table for the options with a short description can be found at |Q_op|. specify special kinds of buffers. See |special-buffers|. *'switchbuf'* *'swb'* -'switchbuf' 'swb' string (default "") +'switchbuf' 'swb' string (default "uselast") global This option controls the behavior when switching between buffers. Possible values (comma separated list): diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt index d96eb84a79..51159b9840 100644 --- a/runtime/doc/vim_diff.txt +++ b/runtime/doc/vim_diff.txt @@ -56,6 +56,7 @@ the differences. - 'sidescroll' defaults to 1 - 'smarttab' is enabled - 'startofline' is disabled +- 'switchbuf' defaults to "uselast" - 'tabpagemax' defaults to 50 - 'tags' defaults to "./tags;,tags" - 'ttimeoutlen' defaults to 50 -- cgit