Thanks! I was looking not for the correct help topic :blush:
On Jan 9, 11:49 pm, ZyX <[email protected]> wrote: > 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 athttp://amix.dk/vim/vimrc.htmlI 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 > > '='? > > > > signature.asc > < 1KViewDownload -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
