diff options
| author | Teddy Wing | 2014-06-09 11:20:47 -0400 | 
|---|---|---|
| committer | Teddy Wing | 2014-06-09 11:20:47 -0400 | 
| commit | 57782768b75fdf14b977c27e0389e8213c1d60e3 (patch) | |
| tree | f7b812b0bccc6f2ff37d000d00cd3af11aa110c3 /vimrc | |
| parent | 1f8e240d419d522b3f6e226aad3ec3b9a8c271db (diff) | |
| download | dotvim-57782768b75fdf14b977c27e0389e8213c1d60e3.tar.bz2 | |
vimrc: add mapping to open current file's directory in Finder
Useful for modifying the current file quickly. Did this manually a few
times and it was kind of a pain.
Diffstat (limited to 'vimrc')
| -rw-r--r-- | vimrc | 8 | 
1 files changed, 8 insertions, 0 deletions
| @@ -204,6 +204,11 @@  "       * Add mapping to open the current file in TextMate. Occasionally it's   "         useful to open the file in a different editor.  " +"   2014.06.09: +"       * Add mapping to open the current file's directory in Finder. Useful  +"         for quickly modifying the filename or interacting with the file  +"         directly in other ways. +"  " Pathogen @@ -519,6 +524,9 @@ vnoremap <leader>c !tee >(pbcopy)<cr>  " Open current file in TextMate  nnoremap <leader>om :execute '!mate ' . expand('%:p')<cr> +" Open current file in Finder +nnoremap <leader>of :execute '!open ' . getcwd()<cr> +  " Commands | 
