diff options
Diffstat (limited to '.vim')
-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 |