aboutsummaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index 3c13724..c35b251 100644
--- a/vimrc
+++ b/vimrc
@@ -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>