diff options
author | Teddy Wing | 2014-06-19 14:42:09 -0400 |
---|---|---|
committer | Teddy Wing | 2014-06-19 14:42:09 -0400 |
commit | 16b587f2413ed88075e8395126a6d6a0c0888051 (patch) | |
tree | 449fd7f0630120d2620a0eaf284dc2688786f260 /vimrc | |
parent | 1e39e52bad15c434315fcfa9ab56eefeea6c1f36 (diff) | |
download | dotvim-16b587f2413ed88075e8395126a6d6a0c0888051.tar.bz2 |
vimrc: fix Open path in Finder mapping
Allow paths with spaces.
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -211,6 +211,7 @@ " " 2014.06.19: " * Fix 'Open in TextMate' mapping: allow paths with spaces +" * Fix 'Open path in Finder' mapping: allow paths with spaces " @@ -528,7 +529,7 @@ vnoremap <leader>c !tee >(pbcopy)<cr> nnoremap <leader>om :execute '!mate "' . expand('%:p') . '"'<cr> " Open current file in Finder -nnoremap <leader>of :execute '!open ' . expand('%:p:h')<cr> +nnoremap <leader>of :execute '!open "' . expand('%:p:h') . '"'<cr> |