summaryrefslogtreecommitdiff
path: root/etc/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/vimrc')
-rw-r--r--etc/vimrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/vimrc b/etc/vimrc
index 38b454e..8af7ded 100644
--- a/etc/vimrc
+++ b/etc/vimrc
@@ -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>