Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Enable :Man command; use fnameescape() in %% map

  • Loading branch information...
commit 66ff87dc59068ae273cd7fbfb22c6c0ebe1e1924 1 parent dc6e466
@nelstrom authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  vimrc
View
3  vimrc
@@ -1,5 +1,6 @@
" vim: nowrap fdm=marker
source ~/dotfiles/bundles.vim
+runtime ftplugin/man.vim
" Personal preferences not set by sensible.vim
set history=5000
@@ -40,7 +41,7 @@ let g:ragel_default_subtype='ruby'
" Override defaults {{{2
nnoremap Q <Nop>
" File opening {{{2
-cnoremap <expr> %% getcmdtype() == ':' ? escape(expand('%:h'), ' \').'/' : '%%'
+cnoremap <expr> %% getcmdtype() == ':' ? fnameescape(expand('%:h')).'/' : '%%'
map <leader>ew :e %%
map <leader>es :sp %%
Please sign in to comment.
Something went wrong with that request. Please try again.