]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - gvimrc
vimrc: set g:GPGUsePipes to 1
[config/dotfiles.git] / gvimrc
diff --git a/gvimrc b/gvimrc
index bbf75f4612c3917e0c65cd8d25cf6506868c8668..8d36ddf130f92d8156490f0179738f7a61f1b6fc 100644 (file)
--- a/gvimrc
+++ b/gvimrc
@@ -1,5 +1,20 @@
 " GVim configuration file.
 
+" Copyright (C) 2011-2012  Simon Ruderich
+"
+" This file is free software: you can redistribute it and/or modify
+" it under the terms of the GNU General Public License as published by
+" the Free Software Foundation, either version 3 of the License, or
+" (at your option) any later version.
+"
+" This file is distributed in the hope that it will be useful,
+" but WITHOUT ANY WARRANTY; without even the implied warranty of
+" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+" GNU General Public License for more details.
+"
+" You should have received a copy of the GNU General Public License
+" along with this file.  If not, see <http://www.gnu.org/licenses/>.
+
 
 " Stop the cursor from blinking.
 set guicursor+=a:blinkon0
@@ -14,6 +29,22 @@ set guioptions-=R
 set guioptions-=l
 set guioptions-=L
 
-" Increase window size to 110x25.
+" Increase window size to 110x25 if no tiling window manager is used.
 set columns=110
 set lines=25
+
+" Don't use the mouse.
+set mouse=
+" And don't use the mouse wheel.
+map <ScrollWheelUp>      <Nop>
+map <S-ScrollWheelUp>    <Nop>
+map <C-ScrollWheelUp>    <Nop>
+map <ScrollWheelDown>    <Nop>
+map <S-ScrollWheelDown>  <Nop>
+map <C-ScrollWheelDown>  <Nop>
+map <ScrollWheelLeft>    <Nop>
+map <S-ScrollWheelLeft>  <Nop>
+map <C-ScrollWheelLeft>  <Nop>
+map <ScrollWheelRight>   <Nop>
+map <S-ScrollWheelRight> <Nop>
+map <C-ScrollWheelRight> <Nop>