> I use this map a lot, but it seems not working with directory name
> contains space
> map ,e :e <C-R>=expand("%:p:h") . "/" <CR>

You might try wrapping it in an escape() call:

   map <leader>e :e <c-r>=escape(expand("%:p:h"), "")."/"<cr>

Suggestion behavior may change between *nix-like and Win32...I 
don't have my Win32 box at hand to test.

-tim





--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to