Reply to message «<C-\>e in command line», 
sent 00:39:10 10 January 2011, Monday
by Alexander Ivaniuk:

> What's the purpose in using <C-\>e 
:h c_CTRL-\_e

> and why can't it be replaced with '='?
What happens if you type `=' in the command line? And what do `*map' commands 
do?

Original message:
> Hi,
> 
> In a nice .vimrc at http://amix.dk/vim/vimrc.html I found the
> following lines of code
> 
> cno $c e <C-\>eCurrentFileDir("e")<cr>
> func! CurrentFileDir(cmd)
>   return a:cmd . " " . expand("%:p:h") . "/"
> endfunc
> 
> $c in command line gets substitued with "e CURRENT_DIRECTORY". If <C-
> \>e is removed nothing is working. If I press <C-\> + e in the command
> line it turns into '=', but the mapping cno $c e
> =CurrentFileDir("e")<cr> is also not working.
> 
> What's the purpose in using <C-\>e and why can't it be replaced with
> '='?

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to