aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorGregory Anders <greg@gpanders.com>2021-08-16 12:20:46 -0600
committerGitHub <noreply@github.com>2021-08-16 11:20:46 -0700
commit4ba74953b514397b6c061edafe614917925b3a77 (patch)
treede11838a0239fba34c220ba288813bd7f6c3c6bd /runtime
parent7215d356949bf07960cc3a3d8b83772635d729d0 (diff)
downloadrneovim-4ba74953b514397b6c061edafe614917925b3a77.tar.gz
rneovim-4ba74953b514397b6c061edafe614917925b3a77.tar.bz2
rneovim-4ba74953b514397b6c061edafe614917925b3a77.zip
feat(defaults): switchbuf=uselast #15394
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/options.txt2
-rw-r--r--runtime/doc/vim_diff.txt1
2 files changed, 2 insertions, 1 deletions
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