ftp -o - https://jcs.org/move_in | sh -
1" vim:ts=8
2"
3" macvim 7 config
4" mostly emulates a writeroom environment that runs in fullscreen
5"
6" joshua stein <jcs@jcs.org>
7
8set lines=50
9set columns=80
10
11set guioptions-=r " remove scrollbar
12set formatoptions=1 " don't break after 1-letter word
13set fuoptions=background:#00000000 " black out space around editor in fs
14set lbr " break lines on words
15
16" free up command+f to be used for toggline fullscreen
17macmenu &Edit.Find.Find\.\.\. key=<D-S-f>
18map <D-f> :set invfu<CR>
19
20" create a dark color scheme based on
21" http://vimcolorschemetest.googlecode.com/svn/colors/matrix.vim
22hi clear
23set background=dark
24hi Cursor guifg=#226622 guibg=#55ff55
25hi lCursor guifg=#226622 guibg=#55ff55
26" like Cursor, but used when in IME mode |CursorIM|
27hi CursorIM guifg=#226622 guibg=#55ff55
28" directory names (and other special names in listings)
29hi Directory guifg=#55ff55 guibg=#000000
30" diff mode: Added line |diff.txt|
31hi DiffAdd guifg=#55ff55 guibg=#226622 gui=none
32" diff mode: Changed line |diff.txt|
33hi DiffChange guifg=#55ff55 guibg=#226622 gui=none
34" diff mode: Deleted line |diff.txt|
35hi DiffDelete guifg=#113311 guibg=#113311 gui=none
36" diff mode: Changed text within a changed line |diff.txt|
37hi DiffText guifg=#55ff55 guibg=#339933 gui=bold
38" error messages on the command line
39hi ErrorMsg guifg=#55ff55 guibg=#339933
40" the column separating vertically split windows
41hi VertSplit guifg=#339933 guibg=#339933
42" line used for closed folds
43hi Folded guifg=#44cc44 guibg=#113311
44" 'foldcolumn'
45hi FoldColumn guifg=#44cc44 guibg=#226622
46" 'incsearch' highlighting; also used for the text replaced with
47hi IncSearch guifg=#226622 guibg=#55ff55 gui=none
48" line number for ":number" and ":#" commands, and when 'number'
49hi LineNr guifg=#44cc44 guibg=#000000
50" 'showmode' message (e.g., "-- INSERT --")
51hi ModeMsg guifg=#113311 guibg=#000000
52" |more-prompt|
53hi MoreMsg guifg=#44cc44 guibg=#000000
54" '~' and '@' at the end of the window, characters from
55hi NonText guifg=#113311 guibg=#000000
56" normal text
57hi Normal guifg=#44cc44 guibg=#000000
58" |hit-enter| prompt and yes/no questions
59hi Question guifg=#44cc44 guibg=#000000
60" Last search pattern highlighting (see 'hlsearch').
61hi Search guifg=#113311 guibg=#44cc44 gui=none
62" Meta and special keys listed with ":map", also for text used
63hi SpecialKey guifg=#44cc44 guibg=#000000
64" status line of current window
65hi StatusLine guifg=#113311 guibg=#000000 gui=none
66" status lines of not-current windows
67hi StatusLineNC guifg=#113311 guibg=#000000 gui=none
68" titles for output from ":set all", ":autocmd" etc.
69hi Title guifg=#55ff55 guibg=#113311 gui=bold
70" Visual mode selection
71hi Visual guifg=#55ff55 guibg=#226622 gui=none
72" Visual mode selection when vim is "Not Owning the Selection".
73hi VisualNOS guifg=#44cc44 guibg=#000000
74" warning messages
75hi WarningMsg guifg=#55ff55 guibg=#000000
76" current match in 'wildmenu' completion
77hi WildMenu guifg=#226622 guibg=#55ff55
78
79hi Comment guifg=#226622 guibg=#000000
80hi Constant guifg=#55ff55 guibg=#226622
81hi Special guifg=#44cc44 guibg=#226622
82hi Identifier guifg=#55ff55 guibg=#000000
83hi Statement guifg=#55ff55 guibg=#000000 gui=bold
84hi PreProc guifg=#339933 guibg=#000000
85hi Type guifg=#55ff55 guibg=#000000 gui=bold
86hi Underlined guifg=#55ff55 guibg=#000000 gui=underline
87hi Error guifg=#55ff55 guibg=#339933
88hi Todo guifg=#113311 guibg=#44cc44 gui=none