Skip to content
Browse files

Removed tool-, menu- and scrollbar from gvim, reformatted comments

  • Loading branch information...
1 parent c132b1e commit eb78e8fa0c4ea1d1d41bcd7f78b977df5800a936 maloi committed Dec 17, 2011
Showing with 40 additions and 39 deletions.
  1. +40 −39 vimrc
View
79 vimrc
@@ -15,50 +15,51 @@
" Basic {
call pathogen#infect()
- set nocompatible " don't use vi-compatible mode
- set noexrc " don't use .vimrc in current directory
- set history=1000 " remember most of the commands
- set background=dark " dark is stark
+ set nocompatible " don't use vi-compatible mode
+ set noexrc " don't use .vimrc in current directory
+ set history=1000 " remember most of the commands
+ set background=dark " dark is stark
if has("gui_running")
+ set guioptions-=m " remove menu bar
+ set guioptions-=T " remove toolbar
+ set guioptions-=r " remove scroll-bar
colorscheme railscasts
elseif $COLORTERM == 'gnome-terminal'
set term=gnome-256color
colorscheme railscasts
else
colorscheme default
endif
- syntax on " syntax highlight on
+ syntax on " syntax highlight on
" }
" General {
- filetype plugin indent on " load filetype plugins/indent settings
- set nobackup " use version control
- set fileformats=unix,dos,mac " support all three, in this order
- set hidden " change buffers w/out saving
-" set mouse=a " maybe i can need it
- set mousehide " hide mouse while typing
- set noerrorbells " no noise
- set wildmenu " <TAB> completion shell-like
+ filetype plugin indent on " load filetype plugins/indent settings
+ set nobackup " use version control
+ set fileformats=unix,dos,mac " support all three, in this order
+ set hidden " change buffers w/out saving
+" set mouse=a " maybe i can need it
+ set mousehide " hide mouse while typing
+ set noerrorbells " no noise
+ set wildmenu " <TAB> completion shell-like
set wildmode=longest:full
" }
" UI {
- set number " show line numbers
- set numberwidth=4 " up to 9999 lines
- set laststatus=2 " always show status line
- set list " show tabs and trailing spaces
- set listchars=tab:\ ,trail:¬ " nice symbols
- highlight NonText guifg=#4a4a59 "
- highlight SpecialKey guifg=#4a4a59 "
- set matchtime=4 " show 0.4s matching bracket
- set showmatch " show matching brackets
- set nostartofline " leave cursor where it was
- set ruler " show current position
- set scrolloff=5 " keep 5 lines (top/bottom) when
- " scrolling
- set shortmess=aOstT " shortens msgs to avoid
- " 'press a key' prompt
- set showcmd " show command that is being typed
+ set number " show line numbers
+ set numberwidth=4 " up to 9999 lines
+ set laststatus=2 " always show status line
+ set list " show tabs and trailing spaces
+ set listchars=tab:\ ,trail:¬ " nice symbols
+ highlight NonText guifg=#4a4a59 " make it barely visible
+ highlight SpecialKey guifg=#4a4a59 " make it barely visible
+ set matchtime=4 " show 0.4s matching bracket
+ set showmatch " show matching brackets
+ set nostartofline " leave cursor where it was
+ set ruler " show current position
+ set scrolloff=5 " keep 5 lines (top/bottom) when scrolling
+ set shortmess=aOstT " shortens msgs to avoid 'press a key' prompt
+ set showcmd " show command that is being typed
set statusline=%F%m%r%h%w[%L][%{&ff}]%y[%p%%][%04l,%04v]
" | | | | | | | | | | |
" | | | | | | | | | | + current column
@@ -77,19 +78,19 @@
" }
" Tabs/Layout {
- set completeopt= " no popup menu for completion
- set expandtab " no real tabs
- set shiftround " when 3 spaces and one hits > go to 4, not 5
- set tabstop=2 " real tabs are 2 spaces
- set softtabstop=2 " tab and backspace are 2 spaces
- set shiftwidth=2 " indent 2 spaces
- set nowrap " do not wrap lines
+ set completeopt= " no popup menu for completion
+ set expandtab " no real tabs
+ set shiftround " when 3 spaces and one hits > go to 4, not 5
+ set tabstop=2 " real tabs are 2 spaces
+ set softtabstop=2 " tab and backspace are 2 spaces
+ set shiftwidth=2 " indent 2 spaces
+ set nowrap " do not wrap lines
" }
" Search {
- set nohlsearch " don't highlight search hits
- set ignorecase " case insensitive by default
- set smartcase " if there are caps, go case-sensitive
+ set nohlsearch " don't highlight search hits
+ set ignorecase " case insensitive by default
+ set smartcase " if there are caps, go case-sensitive
" }
" Plugin Settings {

0 comments on commit eb78e8f

Please sign in to comment.
Something went wrong with that request. Please try again.