Fixed edit shortcuts for paths containing spaces

This is the current implementation on http://vimcasts.org/e/14 
The original one would not work for paths containing spaces or other strange characters.