aboutsummaryrefslogtreecommitdiff
path: root/vim/config/buffers.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-28 22:24:32 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-28 22:24:32 +1300
commitb841310211f3e54c82ecb4efaa3ccc3544947ec3 (patch)
tree8f355170a33f357537851c4f0d21de00b965aedb /vim/config/buffers.vim
parentMove substitution .vimrc config into subfile (diff)
downloaddotfiles-b841310211f3e54c82ecb4efaa3ccc3544947ec3.tar.gz
dotfiles-b841310211f3e54c82ecb4efaa3ccc3544947ec3.zip
Move buffers .vimrc config into subfile
Diffstat (limited to 'vim/config/buffers.vim')
-rw-r--r--vim/config/buffers.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/vim/config/buffers.vim b/vim/config/buffers.vim
new file mode 100644
index 00000000..6102fc76
--- /dev/null
+++ b/vim/config/buffers.vim
@@ -0,0 +1,8 @@
+" Allow jumping between windows and tabs to find an open instance of a given
+" buffer with :sbuffer.
+if v:version >= 701
+ set switchbuf=useopen,usetab
+else
+ set switchbuf=useopen
+endif
+