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
'='?


-- 
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

Reply via email to