
Si escribo ls
en mi directorio, obtengo:
README.md lib sdf.t t.t t1.t t2.t tt.t
Estoy en vim y si escribo:, :find *.t
obtengo:too many file names
¿Qué está pasando eso?
Si imprimo mi variable de ruta vim, obtengo:
.,/usr/include,,,**
Respuesta1
Se supone que el argumento :find
es un nombre de archivo único y exacto. *.t
está expandido, por lo que el comando es :find sdf.t t.t t1.t t2.t tt.t
, que, de hecho, tiene demasiados nombres de archivos.
De:help :find
:
:fin :find
:fin[d][!] [++opt] [+cmd] {file}
Find {file} in 'path' and then :edit it.
{not available when the +file_in_path feature was disabled at compile time}