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/doc/shortcuts.txt | 2 +- .vim/vimrc | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.vim/doc/shortcuts.txt b/.vim/doc/shortcuts.txt index fe61034..2597ed6 100644 --- a/.vim/doc/shortcuts.txt +++ b/.vim/doc/shortcuts.txt @@ -46,4 +46,4 @@ do - get changes from other window into the current dp - put changes from current window into the other ]c - jump to the next change [c - jump to the prevous change - +zR - opens all folds (unfold all) 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