diff options
Diffstat (limited to 'files/vim/plugin')
| -rw-r--r-- | files/vim/plugin/qname.1.2.vim | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/files/vim/plugin/qname.1.2.vim b/files/vim/plugin/qname.1.2.vim index 7ecd92f..4e81318 100644 --- a/files/vim/plugin/qname.1.2.vim +++ b/files/vim/plugin/qname.1.2.vim @@ -27,6 +27,9 @@ " Fix logic to not include buffers with modifiable off " 2025-10-30: " Treat <S-BS> the same as <BS> +" 2025-11-04: +" Open selected buffer in the current window, even if the same buffer is +" already open in another window. " " 1.2 2013-01-03 " ADD: <Tab> and <S-Tab> moves selection like <Up> and <Down> @@ -157,11 +160,7 @@ function! s:build() endfunc function! s:swb(bno) - if bufwinnr(a:bno) == -1 - exe "hid b" a:bno - else - exe bufwinnr(a:bno) . "winc w" - endif + exe "hid b" a:bno endfunc function! s:fmatch(src,pat) |