Skip to content

Commit

Permalink
Merge pull request #697 from regedor/3.0
Browse files Browse the repository at this point in the history
Fixed edit shortcuts for paths containing spaces
  • Loading branch information
spf13 committed Dec 9, 2014
2 parents 58b5765 + 366e81d commit a8f8b19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@
" Some helpers to edit mode
" http://vimcasts.org/e/14
cnoremap %% <C-R>=expand('%:h').'/'<cr>
cnoremap %% <C-R>=fnameescape(expand('%:h')).'/'<cr>
map <leader>ew :e %%
map <leader>es :sp %%
map <leader>ev :vsp %%
Expand Down

0 comments on commit a8f8b19

Please sign in to comment.