in help files we see:
""""
'switchbuf' 'swb' string (default "")
global
{not in Vi}
This option controls the behavior when switching between buffers.
Possible values (comma separated list):
useopen If included, jump to the first open window that
contains the specified buffer (if there is one).
Otherwise: Do not examine other windows.
This setting is checked with |quickfix| commands, when
jumping to errors (":cc", ":cn", "cp", etc.). It is
also used in all buffer related split commands, for
example ":sbuffer", ":sbnext", or ":sbrewind".
usetab Like "useopen", but also consider windows in other tab
pages.
split If included, split the current window before loading
a buffer. Otherwise: do not split, use current window.
Supported in |quickfix| commands that display errors.
newtab Like "split", but open a new tab page. Overrules
"split" when both are present.
"""
i want disable switchbuf option. I want no move behavior when i write
:make command and error occurred.
I prefer open quickfix window and click on each error by my self .
default value is "", but vim will continue work like bufswitch is
"useopen" option.
There is no difference between "" and "useopen" option.
2009/8/16 Dasn <[email protected]>:
>
> Sat, 15 Aug 2009 17:56:40 +0800,Sergey Vakulenko
>
>>
>> it is possible disable switchbuf option?
>> when i set "set switchbuf=", vim continue jumping to buffer.
>>
>
> Would you mind describing it (your problem) in more detail?
>
> --
> Dasn
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---