diff options
author | Max Christian Pohle | 2016-04-14 01:41:59 +0200 |
---|---|---|
committer | Max Christian Pohle | 2016-04-14 01:41:59 +0200 |
commit | 86aec2e9fd5d8e54afa38a562b2deb051b0da339 (patch) | |
tree | f1cd13bef3492962e8bd4e4baa0520f9cf1a0bd9 | |
parent | 09ab7308632cd5949dbcc6289aaf095ce9eb09a3 (diff) | |
download | vim-86aec2e9fd5d8e54afa38a562b2deb051b0da339.tar.bz2 vim-86aec2e9fd5d8e54afa38a562b2deb051b0da339.zip |
mouse: no select mode, right mouse click menu
fixed mouse: right click menu and no automatic switch to select mode
-rw-r--r-- | .vim/doc/shortcuts.txt | 2 | ||||
-rw-r--r-- | .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 | |||
46 | dp - put changes from current window into the other | 46 | dp - put changes from current window into the other |
47 | ]c - jump to the next change | 47 | ]c - jump to the next change |
48 | [c - jump to the prevous change | 48 | [c - jump to the prevous change |
49 | 49 | zR - opens all folds (unfold all) | |
@@ -48,7 +48,8 @@ set ts=2 sts=2 sw=2 expandtab | " indentation which i like (abbr: tabstop, softt | |||
48 | set autoindent | " always set autoindenting on | 48 | set autoindent | " always set autoindenting on |
49 | set copyindent | " copy the previous indentation on autoindenting | 49 | set copyindent | " copy the previous indentation on autoindenting |
50 | set scrolloff=2 | " always keeps at least two lines visible (when seeking) | 50 | set scrolloff=2 | " always keeps at least two lines visible (when seeking) |
51 | set selectmode=mouse | " avoid using select mode (only with mouse) | 51 | " set selectmode=mouse | " avoid using select mode (only with mouse) |
52 | set mousemodel=popup_setpos | " display a default right click menu for the selection (that is c&p is possible) | ||
52 | set selection=exclusive | " includes last character of the selection into following command (like x or d) | 53 | set selection=exclusive | " includes last character of the selection into following command (like x or d) |
53 | 54 | ||
54 | set whichwrap=b,s,<,>,[,] | " beyond beginning/end line causes cusor to wrap | 55 | set whichwrap=b,s,<,>,[,] | " beyond beginning/end line causes cusor to wrap |