aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-30 22:30:54 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-30 22:30:54 +1300
commit8c09a135377913d4e43fb8f0ed45c54e0ee5b1c8 (patch)
tree8e6e4e2d304234a6fb7216ea197f9e5a8a4cd765 /vim
parentAdjust commenting and spacing of Vim wrap config (diff)
downloaddotfiles-8c09a135377913d4e43fb8f0ed45c54e0ee5b1c8.tar.gz
dotfiles-8c09a135377913d4e43fb8f0ed45c54e0ee5b1c8.zip
Append "usetab" to `switchbuf`, not switched set
Just to avoid duplication a little; seems a little clearer this way.
Diffstat (limited to 'vim')
-rw-r--r--vim/config/buffers.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/vim/config/buffers.vim b/vim/config/buffers.vim
index 6102fc76..92055fea 100644
--- a/vim/config/buffers.vim
+++ b/vim/config/buffers.vim
@@ -1,8 +1,6 @@
" Allow jumping between windows and tabs to find an open instance of a given
" buffer with :sbuffer.
+set switchbuf=useopen
if v:version >= 701
- set switchbuf=useopen,usetab
-else
- set switchbuf=useopen
+ set switchbuf+=usetab
endif
-