From 86aec2e9fd5d8e54afa38a562b2deb051b0da339 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Thu, 14 Apr 2016 01:41:59 +0200 Subject: mouse: no select mode, right mouse click menu fixed mouse: right click menu and no automatic switch to select mode --- .vim/vimrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.vim/vimrc') diff --git a/.vim/vimrc b/.vim/vimrc index 44982f2..4c18b8c 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -48,7 +48,8 @@ set ts=2 sts=2 sw=2 expandtab | " indentation which i like (abbr: tabstop, softt set autoindent | " always set autoindenting on set copyindent | " copy the previous indentation on autoindenting set scrolloff=2 | " always keeps at least two lines visible (when seeking) -set selectmode=mouse | " avoid using select mode (only with mouse) +" set selectmode=mouse | " avoid using select mode (only with mouse) +set mousemodel=popup_setpos | " display a default right click menu for the selection (that is c&p is possible) set selection=exclusive | " includes last character of the selection into following command (like x or d) set whichwrap=b,s,<,>,[,] | " beyond beginning/end line causes cusor to wrap -- cgit v1.2.3