Skip to content

Commit

Permalink
Use updated solarized bg toggle (F5 key).
Browse files Browse the repository at this point in the history
  • Loading branch information
nelstrom committed Apr 25, 2011
1 parent acc1e50 commit 458a904
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions vimrc
Expand Up @@ -398,24 +398,10 @@ let g:space_disable_select_mode=1
let g:space_no_search = 1

" Solarized {{{2
let g:solarized_visibility = "low"
set background=light
colorscheme solarized
if has("autocmd")
" For some reason, opening a vimoutliner file switches to another
" colorscheme. This prevents that from happening.
autocmd FileType vo_base :colorscheme solarized
endif
function! ToggleBackground()
if (g:solarized_style=="dark")
let g:solarized_style="light"
colorscheme solarized
else
let g:solarized_style="dark"
colorscheme solarized
endif
endfunction
command! Togbg call ToggleBackground()

call togglebg#map("<F5>")
" EasyMotion {{{2
let g:EasyMotion_leader_key = ',,'

Expand Down

0 comments on commit 458a904

Please sign in to comment.