I'm a total newbie to Vim. I'd like to map a new command-line command (":vimrc") to open up my vimrc file (":e ~/.vimrc").

I tried something with cmap in my vimrc but caused infinite recursion by mistake (I have no idea if cmap is the right command to try):

cmap vimrc e ~/.vimrc


I also found this plugin [1] but I'd first assume that what I'm trying to do is fairly basic, and probably does not require a plugin.

Any help would be appreciated.

Thanks,
Duane Johnson

[1] http://www.vim.org/scripts/script.php?script_id=746

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to