comparison runtime/doc/options.txt @ 32429:bfc23ba1bba5 v9.0.1546

patch 9.0.1546: some commands for opening a file don't use 'switchbuf' Commit: https://github.com/vim/vim/commit/54be5fb382d2bf25fd1b17ddab8b21f599019b81 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Fri May 12 17:49:13 2023 +0100 patch 9.0.1546: some commands for opening a file don't use 'switchbuf' Problem: Some commands for opening a file don't use 'switchbuf'. Solution: Use 'switchbuf' for more commands. (Yegappan Lakshmanan, closes #12383, closes #12381)
author Bram Moolenaar <Bram@vim.org>
date Fri, 12 May 2023 19:00:04 +0200
parents 3d4e28569a6d
children 2a17771529af
comparison
equal deleted inserted replaced
32428:46c8cee129fc 32429:bfc23ba1bba5
7926 7926
7927 *'switchbuf'* *'swb'* 7927 *'switchbuf'* *'swb'*
7928 'switchbuf' 'swb' string (default "") 7928 'switchbuf' 'swb' string (default "")
7929 global 7929 global
7930 This option controls the behavior when switching between buffers. 7930 This option controls the behavior when switching between buffers.
7931 Mostly for |quickfix| commands some values are also used for other 7931 This option is checked, when
7932 commands, as mentioned below. 7932 - jumping to errors with the |quickfix| commands (|:cc|, |:cn|, |:cp|,
7933 etc.)
7934 - jumping to a tag using the |:stag| command.
7935 - opening a file using the |CTRL-W_f| or |CTRL-W_F| command.
7936 - jumping to a buffer using a buffer split command (e.g. |:sbuffer|,
7937 |:sbnext|, or |:sbrewind|).
7933 Possible values (comma-separated list): 7938 Possible values (comma-separated list):
7934 useopen If included, jump to the first open window that 7939 useopen If included, jump to the first open window in the
7935 contains the specified buffer (if there is one). 7940 current tab page that contains the specified buffer
7936 Otherwise: Do not examine other windows. 7941 (if there is one). Otherwise: Do not examine other
7937 This setting is checked with |quickfix| commands, when 7942 windows.
7938 jumping to errors (":cc", ":cn", "cp", etc.). It is
7939 also used in all buffer related split commands, for
7940 example ":sbuffer", ":sbnext", or ":sbrewind".
7941 usetab Like "useopen", but also consider windows in other tab 7943 usetab Like "useopen", but also consider windows in other tab
7942 pages. 7944 pages.
7943 split If included, split the current window before loading 7945 split If included, split the current window before loading
7944 a buffer for a |quickfix| command that display errors. 7946 a buffer for a |quickfix| command that display errors.
7945 Otherwise: do not split, use current window (when used 7947 Otherwise: do not split, use current window (when used