···11+" vim:ts=8
22+"
33+" macvim 7 config
44+" mostly emulates a writeroom environment that runs in fullscreen
55+"
66+" joshua stein <jcs@jcs.org>
77+88+set lines=50
99+set columns=80
1010+1111+set guioptions-=r " remove scrollbar
1212+set formatoptions=1 " don't break after 1-letter word
1313+set fuoptions=background:#00000000 " black out space around editor in fs
1414+set lbr " break lines on words
1515+1616+" free up command+f to be used for toggline fullscreen
1717+macmenu &Edit.Find.Find\.\.\. key=<D-S-f>
1818+map <D-f> :set invfu<CR>
1919+2020+" create a dark color scheme based on
2121+" http://vimcolorschemetest.googlecode.com/svn/colors/matrix.vim
2222+hi clear
2323+set background=dark
2424+hi Cursor guifg=#226622 guibg=#55ff55
2525+hi lCursor guifg=#226622 guibg=#55ff55
2626+" like Cursor, but used when in IME mode |CursorIM|
2727+hi CursorIM guifg=#226622 guibg=#55ff55
2828+" directory names (and other special names in listings)
2929+hi Directory guifg=#55ff55 guibg=#000000
3030+" diff mode: Added line |diff.txt|
3131+hi DiffAdd guifg=#55ff55 guibg=#226622 gui=none
3232+" diff mode: Changed line |diff.txt|
3333+hi DiffChange guifg=#55ff55 guibg=#226622 gui=none
3434+" diff mode: Deleted line |diff.txt|
3535+hi DiffDelete guifg=#113311 guibg=#113311 gui=none
3636+" diff mode: Changed text within a changed line |diff.txt|
3737+hi DiffText guifg=#55ff55 guibg=#339933 gui=bold
3838+" error messages on the command line
3939+hi ErrorMsg guifg=#55ff55 guibg=#339933
4040+" the column separating vertically split windows
4141+hi VertSplit guifg=#339933 guibg=#339933
4242+" line used for closed folds
4343+hi Folded guifg=#44cc44 guibg=#113311
4444+" 'foldcolumn'
4545+hi FoldColumn guifg=#44cc44 guibg=#226622
4646+" 'incsearch' highlighting; also used for the text replaced with
4747+hi IncSearch guifg=#226622 guibg=#55ff55 gui=none
4848+" line number for ":number" and ":#" commands, and when 'number'
4949+hi LineNr guifg=#44cc44 guibg=#000000
5050+" 'showmode' message (e.g., "-- INSERT --")
5151+hi ModeMsg guifg=#113311 guibg=#000000
5252+" |more-prompt|
5353+hi MoreMsg guifg=#44cc44 guibg=#000000
5454+" '~' and '@' at the end of the window, characters from
5555+hi NonText guifg=#113311 guibg=#000000
5656+" normal text
5757+hi Normal guifg=#44cc44 guibg=#000000
5858+" |hit-enter| prompt and yes/no questions
5959+hi Question guifg=#44cc44 guibg=#000000
6060+" Last search pattern highlighting (see 'hlsearch').
6161+hi Search guifg=#113311 guibg=#44cc44 gui=none
6262+" Meta and special keys listed with ":map", also for text used
6363+hi SpecialKey guifg=#44cc44 guibg=#000000
6464+" status line of current window
6565+hi StatusLine guifg=#113311 guibg=#000000 gui=none
6666+" status lines of not-current windows
6767+hi StatusLineNC guifg=#113311 guibg=#000000 gui=none
6868+" titles for output from ":set all", ":autocmd" etc.
6969+hi Title guifg=#55ff55 guibg=#113311 gui=bold
7070+" Visual mode selection
7171+hi Visual guifg=#55ff55 guibg=#226622 gui=none
7272+" Visual mode selection when vim is "Not Owning the Selection".
7373+hi VisualNOS guifg=#44cc44 guibg=#000000
7474+" warning messages
7575+hi WarningMsg guifg=#55ff55 guibg=#000000
7676+" current match in 'wildmenu' completion
7777+hi WildMenu guifg=#226622 guibg=#55ff55
7878+7979+hi Comment guifg=#226622 guibg=#000000
8080+hi Constant guifg=#55ff55 guibg=#226622
8181+hi Special guifg=#44cc44 guibg=#226622
8282+hi Identifier guifg=#55ff55 guibg=#000000
8383+hi Statement guifg=#55ff55 guibg=#000000 gui=bold
8484+hi PreProc guifg=#339933 guibg=#000000
8585+hi Type guifg=#55ff55 guibg=#000000 gui=bold
8686+hi Underlined guifg=#55ff55 guibg=#000000 gui=underline
8787+hi Error guifg=#55ff55 guibg=#339933
8888+hi Todo guifg=#113311 guibg=#44cc44 gui=none