au BufWinEnter quickfix let g:quickfixing=1
au BufUnload * if &ft == "qf" | let g:quickfixing=0 | endif
+" Allow in-place editing of crontabs.
+au FileType crontab set backupcopy=yes
+
" Make * and # work the way you expect in visual mode.
vnoremap * y/\V<C-R>=substitute(escape(@@,"/\\"),"\n","\\\\n","ge")<CR><CR>
vnoremap # y?\V<C-R>=substitute(escape(@@,"?\\"),"\n","\\\\n","ge")<CR><CR>