Closed c4pt0r closed 9 years ago
AFAIK aliases only work in shell command line. Unlike environment variables, they are not passed to subprocesses like vim. So vim fail to acquire the path.
The two commands below both work on my machine. Have a try!
let g:mkdp_path_to_chrome = "open -a Google\\ Chrome"
let g:mkdp_path_to_chrome = "/Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome"
cool, it works.
I created an alias in my zshrc: alias google-chrome="/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome" but it doesn't work.