aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Christian Pohle2016-04-14 01:41:59 +0200
committerMax Christian Pohle2016-04-14 01:41:59 +0200
commit86aec2e9fd5d8e54afa38a562b2deb051b0da339 (patch)
treef1cd13bef3492962e8bd4e4baa0520f9cf1a0bd9
parent09ab7308632cd5949dbcc6289aaf095ce9eb09a3 (diff)
downloadvim-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.txt2
-rw-r--r--.vim/vimrc3
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
46dp - put changes from current window into the other 46dp - 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 49zR - 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
48set autoindent | " always set autoindenting on 48set autoindent | " always set autoindenting on
49set copyindent | " copy the previous indentation on autoindenting 49set copyindent | " copy the previous indentation on autoindenting
50set scrolloff=2 | " always keeps at least two lines visible (when seeking) 50set scrolloff=2 | " always keeps at least two lines visible (when seeking)
51set selectmode=mouse | " avoid using select mode (only with mouse) 51" set selectmode=mouse | " avoid using select mode (only with mouse)
52set mousemodel=popup_setpos | " display a default right click menu for the selection (that is c&p is possible)
52set selection=exclusive | " includes last character of the selection into following command (like x or d) 53set selection=exclusive | " includes last character of the selection into following command (like x or d)
53 54
54set whichwrap=b,s,<,>,[,] | " beyond beginning/end line causes cusor to wrap 55set whichwrap=b,s,<,>,[,] | " beyond beginning/end line causes cusor to wrap
..