In vim, I want to create a new command that takes a file name as a single argument.Is there a way to create such a command so that work with name-completion-magic (using a tab) works?
Just use -complete=filecommands in the arguments.
-complete=file
:help :command-completion
For example:
:command -complete=file -nargs=1 OpenFile e <args>
Source: https://habr.com/ru/post/1713827/More articles:Can I read and write to multiple file descriptors at the same time (Perl)? - perlhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1713823/send-commands-to-other-command-line-programs&usg=ALkJrhjy1pwYePjaSrMnRxErI_VAp6GpgADownload WPF Animation - asynchronousnullpointerexception on request.getHeaderNames method call in websphere - javaHow do you debug Display / CSS issues in multiple browsers? - cssCan Pre-Build Events Raise Alerts? - build-processhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1713829/svn-path-to-repository&usg=ALkJrhgVbzbs9up8EFKign5SkY8T3AW-WQCSS Questions - IE7 and 8 - jqueryWhy am I receiving twice as much data transmitted over UDP broadcasting? - c #Question ILMerge - c #All Articles