summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/vimrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/vimrc b/etc/vimrc
index f015330..38b454e 100644
--- a/etc/vimrc
+++ b/etc/vimrc
@@ -39,6 +39,13 @@ 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 <F7> :if exists("g:syntax_on") <Bar>
+ \ syntax off <Bar>
+ \ else <Bar>
+ \ syntax enable <Bar>
+ \ endif <CR>
+
+
" Greedy remaps (TODO: Add more keys)
noremap - :
noremap n h