aboutsummaryrefslogtreecommitdiff
path: root/vim/mouse.vim
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2018-02-21 01:01:29 -0500
committerMitch Riedstra <mitch@riedstra.us>2018-02-21 01:01:29 -0500
commit5d40569e5c1ca453df1bf7b0547f3f69e3e684d7 (patch)
tree0658eeaef820299519a2dcd0666278727fc83676 /vim/mouse.vim
parent261aaa8cf687be76e67fe5423f59450365769889 (diff)
downloadvim-cfg-5d40569e5c1ca453df1bf7b0547f3f69e3e684d7.tar.gz
vim-cfg-5d40569e5c1ca453df1bf7b0547f3f69e3e684d7.tar.xz
Add a makefile to rework init.vim. Commit update init.vm TODO: remove in the future and run make in setup
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
+