From a8c94682fe86e556d190b8d22868538ad6149b3b Mon Sep 17 00:00:00 2001 From: Ethan Schoonover Date: Thu, 5 May 2011 13:23:51 -0700 Subject: [vim] reorganized gui menu, added help links for submenus New gui menu structure; better organized, seperators, and new help links in submenus, particularly for visibiliy, contrast, and experimental submenus where the purpose of those settings might not always be intuitive. --- colors/solarized.vim | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'colors/solarized.vim') diff --git a/colors/solarized.vim b/colors/solarized.vim index c72d7c6..3ba347b 100644 --- a/colors/solarized.vim +++ b/colors/solarized.vim @@ -988,14 +988,20 @@ if g:colors_name == "solarized" && g:solarized_menu != 0 amenu &Solarized.&Contrast.&Low\ Contrast :let g:solarized_contrast="low" \| colorscheme solarized amenu &Solarized.&Contrast.&Normal\ Contrast :let g:solarized_contrast="normal" \| colorscheme solarized amenu &Solarized.&Contrast.&High\ Contrast :let g:solarized_contrast="high" \| colorscheme solarized + an &Solarized.&Contrast.-sep- + amenu &Solarized.&Contrast.&Help:\ Contrast :help 'solarized_contrast' amenu &Solarized.&Visibility.&Low\ Visibility :let g:solarized_visibility="low" \| colorscheme solarized amenu &Solarized.&Visibility.&Normal\ Visibility :let g:solarized_visibility="normal" \| colorscheme solarized amenu &Solarized.&Visibility.&High\ Visibility :let g:solarized_visibility="high" \| colorscheme solarized + an &Solarized.&Visibility.-sep- + amenu &Solarized.&Visibility.&Help:\ Visibility :help 'solarized_visibility' amenu &Solarized.&Background.&Toggle\ Background :ToggleBG amenu &Solarized.&Background.&Dark\ Background :set background=dark \| colorscheme solarized amenu &Solarized.&Background.&Light\ Background :set background=light \| colorscheme solarized + an &Solarized.&Background.-sep- + amenu &Solarized.&Background.&Help:\ ToggleBG :help togglebg if g:solarized_bold==0 | let l:boldswitch="On" | else | let l:boldswitch="Off" | endif exe "amenu &Solarized.&Styling.&Turn\\ Bold\\ ".l:boldswitch." :let g:solarized_bold=(abs(g:solarized_bold-1)) \\| colorscheme solarized" @@ -1010,13 +1016,19 @@ if g:colors_name == "solarized" && g:solarized_menu != 0 if g:solarized_hitrail==0 | let l:hitrailswitch="On" | else | let l:hitrailswitch="Off" | endif exe "amenu &Solarized.&Experimental.&Turn\\ Highlight\\ Trailing\\ Spaces\\ ".l:hitrailswitch." :let g:solarized_hitrail=(abs(g:solarized_hitrail-1)) \\| colorscheme solarized" + an &Solarized.&Experimental.-sep- + amenu &Solarized.&Experimental.&Help:\ HiTrail :help 'solarized_hitrail' + + an &Solarized.-sep1- + + amenu &Solarized.&Autogenerate\ options :SolarizedOptions + + an &Solarized.-sep2- amenu &Solarized.&Help.&Solarized\ Help :help solarized amenu &Solarized.&Help.&Toggle\ Background\ Help :help togglebg amenu &Solarized.&Help.&Removing\ This\ Menu :help solarized-menu - amenu &Solarized.&Autogenerate\ options :SolarizedOptions - an 9999.77 &Help.&Solarized\ Colorscheme :help solarized an 9999.78 &Help.&Toggle\ Background :help togglebg an 9999.79 &Help.-sep3- -- cgit v1.2.3-70-g09d2