I have this mapping in my .vimrc
nnoremap <silent><leader>vlc :exe "!open -a vlc '".getline('.')."'"<CR>
It does work great with some files, but I'm getting error message with files that have single quote in it:
/Users/dude/Downloads/check/39min tpope's Vim Config and Plugins-MGmIJyTf8pg.mp4
The error message:
/bin/bash: -c: line 0: unexpected EOF while looking for matching `''
/bin/bash: -c: line 1: syntax error: unexpected end of file
shell returned 2
Press ENTER or type command to continue