diff options
| author | Teddy Wing | 2014-06-19 14:40:47 -0400 | 
|---|---|---|
| committer | Teddy Wing | 2014-06-19 14:40:47 -0400 | 
| commit | 1e39e52bad15c434315fcfa9ab56eefeea6c1f36 (patch) | |
| tree | 35464fb4c283483cb01b7227f5d06e61dd8b6d67 | |
| parent | 0b62cb1da370d19eea46edab57dd8343acfe2648 (diff) | |
| download | dotvim-1e39e52bad15c434315fcfa9ab56eefeea6c1f36.tar.bz2 | |
vimrc: fix Open in Textmate mapping
Allow paths with spaces.
| -rw-r--r-- | vimrc | 5 | 
1 files changed, 4 insertions, 1 deletions
| @@ -209,6 +209,9 @@  "         for quickly modifying the filename or interacting with the file   "         directly in other ways.  " +"   2014.06.19: +"       * Fix 'Open in TextMate' mapping: allow paths with spaces +"  " Pathogen @@ -522,7 +525,7 @@ nnoremap <leader>sb :setlocal scrollbind!<cr>  vnoremap <leader>c !tee >(pbcopy)<cr>  " Open current file in TextMate -nnoremap <leader>om :execute '!mate ' . expand('%:p')<cr> +nnoremap <leader>om :execute '!mate "' . expand('%:p') . '"'<cr>  " Open current file in Finder  nnoremap <leader>of :execute '!open ' . expand('%:p:h')<cr> | 
