aboutsummaryrefslogtreecommitdiff
path: root/vim/mouse.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/mouse.vim')
-rw-r--r--vim/mouse.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/vim/mouse.vim b/vim/mouse.vim
new file mode 100644
index 0000000..3679475
--- /dev/null
+++ b/vim/mouse.vim
@@ -0,0 +1,8 @@
+
+" Be smart about the mouse
+set mouse+=a
+if &term =~ '^screen'
+ " tmux knows the extended mouse mode
+ set ttymouse=xterm2
+endif
+