
내 디렉토리를 입력하면 다음과 같은 결과 ls
가 나타납니다.
README.md lib sdf.t t.t t1.t t2.t tt.t
나는 vim에 있고, 다음을 입력하면 :find *.t
다음을 얻습니다:too many file names
무슨 일이 일어나고 있는 걸까요?
vim 경로 변수를 인쇄하면 다음과 같은 결과가 나타납니다.
.,/usr/include,,,**
답변1
to 인수는 :find
하나의 정확한 파일 이름이어야 합니다. *.t
확장되었으므로 명령은 :find sdf.t t.t t1.t t2.t tt.t
실제로 파일 이름이 너무 많습니다.
에서: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}