Sunday, February 21, 2010

Re: Open a new file if the file doesn't exist when using ctrl+W_ctrl+F?

Peng Yu 写道:
> If I type ctrl+W_ctrl+F over a string and there is not a file whose
> name is the string, vim will show "E447: Can't file file '<the
> string>' in path". However, sometimes I do want to open a new file
> with the string with some short cut. Is there a way to do so?

It is better to write a new shortcut for what you want.

Ctrl-W Ctrl-F search in path to find the file, if the file does not
exist, it will have no idea where to create the new file.

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments: