Questions tagged [find]

The tag has no usage guidance.

3 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
42 views

gf with search pattern instead of line number

vim file +80 will open file in vim, with cursor at line 80 vim file +/if/ will open file in vim, with cursor at first line containing if. For vim file +80, inside vim, there is gF. The question: ...
1
vote
0answers
74 views

Why is filetype not set after :find from autocmd?

Objective I want vi file to act like :find file if file doesn't exist. That is, I want to be able to edit a file by name, without giving a path to the file, from the command line: mkdir -p a/b/c ...
0
votes
0answers
22 views

:find cannot find file in 'path' which command-line can see

Suppose the directory tree looks like this: rootdir ├── data │ └── file.txt └── data2 └── file2.txt When Vim is launched at rootdir and configured with :set path=data*, it is unable to :find ...