Hong Xu wrote:
> This patch makes the three commands: mkvimrc, mksession and mkexrc
> commands could have a directory name as its argument. If the argument is
> a directory, Then the file, which is the .vimrc, Session.vim or .exrc,
> is generated under the directory and is named as the default file name
> (which is .vimrc, Session.vim, .exrc respectively).
I don't see much advantage in this. Why would the user not type the
path including the file name? Currently you would do:
:mkvimrc ~/.vim/.vimrc
After this patch:
:mkvimrc ~/.vim
It's not really the behavior I expect: Either give no file name to use
the default file name, or specify the file name.
I do see a small danger: if the user accidentally types a wrong name
that happens to be a directory the file gets written in the wrong place.
Won't happen often though.
--
hundred-and-one symptoms of being an internet addict:
58. You turn on your computer and turn off your wife.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
You received this message from the "vim_dev" 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