diff options
author | Ethan Schoonover <es@ethanschoonover.com> | 2011-05-05 13:23:51 -0700 |
---|---|---|
committer | Ethan Schoonover <es@ethanschoonover.com> | 2011-05-05 13:23:51 -0700 |
commit | a8c94682fe86e556d190b8d22868538ad6149b3b (patch) | |
tree | c4f88e42087dee41f4f5ee9fff48ce5ccb03f732 /colors/solarized.vim | |
parent | a7c77fa73b4f1340af242bae0dbbb269e1768a38 (diff) | |
download | vim-colors-solarized-a8c94682fe86e556d190b8d22868538ad6149b3b.tar.gz |
[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.
Diffstat (limited to 'colors/solarized.vim')
-rw-r--r-- | colors/solarized.vim | 16 |
1 files changed, 14 insertions, 2 deletions
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<CR> amenu &Solarized.&Contrast.&Normal\ Contrast :let g:solarized_contrast="normal" \| colorscheme solarized<CR> amenu &Solarized.&Contrast.&High\ Contrast :let g:solarized_contrast="high" \| colorscheme solarized<CR> + an &Solarized.&Contrast.-sep- <Nop> + amenu &Solarized.&Contrast.&Help:\ Contrast :help 'solarized_contrast'<CR> amenu &Solarized.&Visibility.&Low\ Visibility :let g:solarized_visibility="low" \| colorscheme solarized<CR> amenu &Solarized.&Visibility.&Normal\ Visibility :let g:solarized_visibility="normal" \| colorscheme solarized<CR> amenu &Solarized.&Visibility.&High\ Visibility :let g:solarized_visibility="high" \| colorscheme solarized<CR> + an &Solarized.&Visibility.-sep- <Nop> + amenu &Solarized.&Visibility.&Help:\ Visibility :help 'solarized_visibility'<CR> amenu &Solarized.&Background.&Toggle\ Background :ToggleBG<CR> amenu &Solarized.&Background.&Dark\ Background :set background=dark \| colorscheme solarized<CR> amenu &Solarized.&Background.&Light\ Background :set background=light \| colorscheme solarized<CR> + an &Solarized.&Background.-sep- <Nop> + amenu &Solarized.&Background.&Help:\ ToggleBG :help togglebg<CR> 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<CR>" @@ -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<CR>" + an &Solarized.&Experimental.-sep- <Nop> + amenu &Solarized.&Experimental.&Help:\ HiTrail :help 'solarized_hitrail'<CR> + + an &Solarized.-sep1- <Nop> + + amenu &Solarized.&Autogenerate\ options :SolarizedOptions<CR> + + an &Solarized.-sep2- <Nop> amenu &Solarized.&Help.&Solarized\ Help :help solarized<CR> amenu &Solarized.&Help.&Toggle\ Background\ Help :help togglebg<CR> amenu &Solarized.&Help.&Removing\ This\ Menu :help solarized-menu<CR> - amenu &Solarized.&Autogenerate\ options :SolarizedOptions<CR> - an 9999.77 &Help.&Solarized\ Colorscheme :help solarized<CR> an 9999.78 &Help.&Toggle\ Background :help togglebg<CR> an 9999.79 &Help.-sep3- <Nop> |