I have this bit of vim script:
nmap <F9> :w<cr> \:execute 'silent !tmux new -ds blah'<cr> \:execute "silent !tmux send-keys -t blah '%:p' Enter"<cr> \:execute 'silent !open_iterm'<cr> \:redraw!<cr>
It chokes when there is a space in the path with a "no such directory" error. the culprit is the
%:p bit. How do I fix this?