How to print an expanded variable into vim command line? For some
reason I would like to map e.g. F12 to complete edit command with vim
user files path. I would do something like:
:map <F12> :edit expand($VIM)
What it prints is
:edit expand($VIM)
and I want
:edit /usr/share/vim
--
Aarto
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment