diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-02-27 11:51:39 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-02-27 11:51:39 +0100 |
commit | 89f388f0b9af53fda4479cbc33a60e2efb6a53ff (patch) | |
tree | 18a2a78afe73cd9379567ba3ef811984f4844dd5 | |
parent | d5182bc3c0e7d733678472098c6e0b57ee1d7b1c (diff) |
vimrc: Add syntax toggle (totally copied from :help syntax)
-rw-r--r-- | etc/vimrc | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |