Skip to content

Commit

Permalink
Beter Windows Console Support (colorscheme)
Browse files Browse the repository at this point in the history
  • Loading branch information
lexrupy committed Apr 12, 2012
1 parent bdcbf20 commit 5feff49
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@ syntax on
" Enable filetype detection and make language-dependent
filetype plugin indent on

" Use the RAILSCASTS colorscheme by default
colorscheme railscasts

" Use dark background
set background=dark

" Always change dir to the dir of current file
set autochdir

Expand Down Expand Up @@ -198,8 +192,6 @@ if has("gui_running")
" Term 256 colors
set t_Co=256

colorscheme railscasts

" Large window size
" The number of window columns/lines
set columns=145
Expand All @@ -214,11 +206,16 @@ if has("gui_running")

" Hide mouse cursor when typing
set mousehide

" Dark Background
set background=dark

" Default colorscheme on GUI
colorscheme railscasts

" Gnome specific configurations
if has("gui_gnome")
set term=gnome-256color
colorscheme railscasts
set guifont=Monospace\ Bold\ 12
endif

Expand All @@ -233,6 +230,10 @@ if has("gui_running")
set enc=utf-8
endif

else
if s:windows_os
colorscheme darkblue
endif
endif

" ==== FUNCTIONS ====
Expand Down

0 comments on commit 5feff49

Please sign in to comment.