I'm trying to do this to save a file without changing the timestamp.
nnoremap <F3> :execute 'silent !file=%:p:h && mtime=$(stat -c %y "%") && vim "%" && touch -d "$mtime" "%" && ~/bin/refresh_safari quick'<CR><CR>
The %:ph:h and % special variables aren't interpolated, however. Is there a way to achieve this?