diff --git a/janus/vim/core/before/plugin/mappings.vim b/janus/vim/core/before/plugin/mappings.vim index 3c8592ab..29fc4b16 100644 --- a/janus/vim/core/before/plugin/mappings.vim +++ b/janus/vim/core/before/plugin/mappings.vim @@ -29,11 +29,10 @@ nmap md :!mkdir -p %:p:h " Some helpers to edit mode " http://vimcasts.org/e/14 -cnoremap %% =expand('%:h').'/' -map ew :e %% -map es :sp %% -map ev :vsp %% -map et :tabe %% +nmap ew :e =expand('%:h').'/' +nmap es :sp =expand('%:h').'/' +nmap ev :vsp =expand('%:h').'/' +nmap et :tabe =expand('%:h').'/' " Swap two words nmap gw :s/\(\%#\w\+\)\(\_W\+\)\(\w\+\)/\3\2\1/`'