On Mon, Apr 12, 2010 at 6:23 PM, Duane Johnson wrote: > 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").
As an addition to the other answers you've gotten - is this really worth spending time optimizing? Especially when all you want to safe yourself is 5 keystrokes (e space tilde slash dot)? I'd have to imagine you could have typed e ~/. at least 100 times in the time it took you to write your email. So, this thread might be useful as a learning exercise about mappings and user commands, or just for the fun of playing with a programmable text editor, but I doubt there's any real-world utility to it. ~Matt -- 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.