From 61c027738785e0585202b7b3a828e05344510f66 Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Fri, 21 Nov 2025 14:50:30 -0500 Subject: Tweaks --- files/vim/plugin/qname.1.2.vim | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'files/vim/plugin') 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 the same as +" 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: and moves selection like and @@ -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) -- cgit v1.2.3-101-g0448