Questions tagged [find]

The tag has no usage guidance.

4 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
0 answers
99 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: ...
qeatzy's user avatar
  • 959
2 votes
0 answers
130 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 ...
aghast's user avatar
  • 227
1 vote
1 answer
39 views

How to jump to location of completion from another file?

In Vim, oftens I happen to be using some completion that vim provides for me in the Ctrl n/Ctrl p menu. If the completion happens to be from some other file, I know that Vim knows where it comes from ...
user22476690's user avatar
1 vote
0 answers
856 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 ...
mxxk's user avatar
  • 227