Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1073837
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T21:02:32+00:00 2026-05-16T21:02:32+00:00

Say, I have files foo.js and bar.css in my project. There is a :find

  • 0

Say, I have files foo.js and bar.css in my project. There is a “:find” command in vim, which find files, matching string. But this command, alas, has some limitations. For example, if I launch this way – “vim”, or even this way – “vim .” – there’s nothing to be find in js subdirectory. But if I launch vim this way – “vim js/any_file_other_than_foo.js”, then calling “:find foo.js” works pretty well.

Since it is not intuitive (i’m working in the same directory, “pwd” returns the same path), my first question is – can anybody explain how to circumvent this issue? And, even broader, is there any way to type something like find foo – and open first file, which name matches pattern foo.

thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T21:02:32+00:00Added an answer on May 16, 2026 at 9:02 pm

    A nice plugin that accomplishes a similar effect is Command-T.

    The Command-T plug-in provides an
    extremely fast, intuitive mechanism
    for opening files with a minimal
    number of keystrokes. It’s named
    “Command-T” because it is inspired by
    the “Go to File” window bound to
    Command-T in TextMate.

    Files are selected by typing
    characters that appear in their paths,
    and are ordered by an algorithm which
    knows that characters that appear in
    certain locations (for example,
    immediately after a path separator)
    should be given more weight.should be given more weight.

    Here is a screencast of Command-T in action.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Say my SVN repository looks like: project/ trunk/ README foo/ bar.sh and I have
Say I have 2 files: foo bar baz and 123 456 f[want autocomplete here]
Say, for example, I have the following array: files=( foo bar baz fizzle )
Say I have 3 files foo.txt, bar.txt and moo.txt all at revision 1. Say
Hi I have a php file at, say, localhost/foo/foo/bar.php which includes a file at
Say I have two files where there is one number per line File 1
Let's say I have css1.css and css2.css. Just for the sake of keeping files
Say I have file A, in middle of which have a tag string #INSERT_HERE#.
I have a file in this structure: 009/foo/bar/hi23123/foo/bar231123/foo/bar/yo232131 What i need is to find
A bit context. Let's say I have source files, which need to end up

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.