summaryrefslogtreecommitdiff
path: root/dotrc/_vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'dotrc/_vimrc')
-rw-r--r--dotrc/_vimrc22
1 files changed, 19 insertions, 3 deletions
diff --git a/dotrc/_vimrc b/dotrc/_vimrc
index fcda293..06c3f5e 100644
--- a/dotrc/_vimrc
+++ b/dotrc/_vimrc
@@ -15,15 +15,28 @@ set modeline
: syntax on
:endif
-set background=dark
-syntax on
+let Gtags_Auto_Map = 1
+
+:if $BGLIGHT == "Y"
+: set background=light
+:else
+: set background=dark
+:endif
+
+:if $AMIGA == "Y"
+: syntax off
+: set background=light
+:else
+: syntax on
+: let &colorcolumn=join(range(81, 999),",")
+:endif
set wildchar=^I
set wildmode=list,longest
set wildignore=*.o,core,*~,*.bak,*.a,*.obj
set wildmenu
-" set fileformats=unix,dos,mac
+set fileformats=unix,dos,mac
" For quickfix
" set mp=make\ \\\|&\ egrep\ ^cc:\ \\\|&\ egrep\ error
@@ -42,6 +55,9 @@ map __ :cc
map <C-Tab> :bnext
map! <C-Tab> :bnext
+" Spelling options
+set spellfile=$HOME/.spell.en.add
+
" Try and set color for xterm
"
" :if &term =~ "xterm"