diff options
author | Teddy Wing | 2014-06-09 11:30:28 -0400 |
---|---|---|
committer | Teddy Wing | 2014-06-09 11:30:28 -0400 |
commit | c518cb7ea840ffbad576abfdc62bbf62fc00220b (patch) | |
tree | 0e354d9fccc6d492d58d830a16181cf745d62373 /vimrc | |
parent | 57782768b75fdf14b977c27e0389e8213c1d60e3 (diff) | |
download | dotvim-c518cb7ea840ffbad576abfdc62bbf62fc00220b.tar.bz2 |
vimrc: fix 'open in Finder' mapping
I incorrectly set the mapping to open the current working directory
instead of the current file's directory.
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -525,7 +525,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 ' . getcwd()<cr> +nnoremap <leader>of :execute '!open ' . expand('%:p:h')<cr> |