summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/vim/vimrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/.config/vim/vimrc b/.config/vim/vimrc
index 6483d08..ec8cb6d 100644
--- a/.config/vim/vimrc
+++ b/.config/vim/vimrc
@@ -89,6 +89,12 @@ map <C-y> "+y
nnoremap ; :
vnoremap ; :
+if has('gui_running')
+ " Make shift-insert work like in Xterm
+ map <S-Insert> <MiddleMouse>
+ map! <S-Insert> <MiddleMouse>
+endif
+
" strip ^M linebreaks from dos formatted files
map M :%s/ $//g