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

@ -394,6 +394,7 @@ files contain key mappings as well (TODO: probably will move them out to skwp-ke
* `sk` - unsplit a link (k = up)
* `,he` - Html Escape
* `,hu` - Html Unescape
* `,hp` - Html Preview (open in Safari)
* `Cmd-Shift-A` - align things (type a character/expression to align by, works in visual mode or by itself)
* `:ColorToggle` - turn on #abc123 color highlighting (useful for css)
* `:gitv` - Git log browsers

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>