diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-07-03 09:45:58 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-07-03 09:45:58 +0200 |
commit | 67ee69a207f8b909609b50dc1783f495a80b5a7d (patch) | |
tree | 292b3e52af7591aaba5f5bd3416f55fb4a76d18f | |
parent | 89f388f0b9af53fda4479cbc33a60e2efb6a53ff (diff) |
Set colorscheme when toggling syntax
-rw-r--r-- | etc/vimrc | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -39,10 +39,18 @@ set redrawtime=500 " Chaosdorf autocmd BufRead ~/var/svn/intern.chaosdorf.de/admin/log.mdwn nnoremap <F5> :5<CR>O### <C-R>=strftime("%Y-%m-%d")<CR> derf<CR>- +map <F6> :if exists("g:colors_name") && g:colors_name == "darkblue" <Bar> + \ colorscheme default <Bar> + \ else <Bar> + \ colorscheme darkblue <Bar> + \ endif <CR> + map <F7> :if exists("g:syntax_on") <Bar> \ syntax off <Bar> + \ colorscheme default <Bar> \ else <Bar> \ syntax enable <Bar> + \ colorscheme darkblue <Bar> \ endif <CR> |