]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - gvimrc
setup.sh: add missing newline
[config/dotfiles.git] / gvimrc
diff --git a/gvimrc b/gvimrc
index 3d60616334c032c4dcda87d2bf60d0eb18f8fdb1..8d36ddf130f92d8156490f0179738f7a61f1b6fc 100644 (file)
--- a/gvimrc
+++ b/gvimrc
@@ -1,12 +1,50 @@
 " 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
 
+" Don't display the menu.
+set guioptions-=m
 " Don't display the toolbar.
 set guioptions-=T
+" Don't display any scrollbars, they just waste space.
+set guioptions-=r
+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>