Added for html preview in Safari

This commit is contained in:
Yan Pritzker
2012-09-11 10:19:04 -07:00
parent 8caeeeaa77
commit 34bb32e172
2 changed files with 5 additions and 0 deletions

View File

@@ -246,3 +246,7 @@ map ,hi :echo "hi<" . synIDattr(synID(line("."),col("."),1),"name") . '> trans<'
" Source current file Cmd-% (good for vim development)
map <D-%> :so %<CR>
" ,hp = html preview
map <silent> ,hp :!open -a Safari %<CR><CR>