Giter VIP home page Giter VIP logo

Comments (12)

cloudhead avatar cloudhead commented on August 17, 2024 2

I'm reverting the change for now and will look into this soon.

from neovim-fuzzy.

cloudhead avatar cloudhead commented on August 17, 2024

I think I'm going to enable this by default, as it seems to still respect .gitignore and doesn't search in .git directories.

from neovim-fuzzy.

gfairchild avatar gfairchild commented on August 17, 2024

Sounds good to me. I like respecting .gitignore and ignoring .git directories.

from neovim-fuzzy.

cloudhead avatar cloudhead commented on August 17, 2024

Here we go: b9242e3 (in current master)

Try it out and let me know.

from neovim-fuzzy.

gfairchild avatar gfairchild commented on August 17, 2024

Just updated. Looks like it is including the stuff in .git but is ignoring files specified in .gitignore.

screen shot 2016-10-26 at 11 20 24 am

screen shot 2016-10-26 at 11 20 32 am

from neovim-fuzzy.

cloudhead avatar cloudhead commented on August 17, 2024

Ah yes, it's because I have a .ignore file in my home directory with .git/ in it. You can do that for now, but I'm going to probably turn this into an option instead of default.

from neovim-fuzzy.

gfairchild avatar gfairchild commented on August 17, 2024

Having that as an option seems smart. I have dozens of git projects, and it would be nice to have a global option to turn it off for all projects.

from neovim-fuzzy.

gfairchild avatar gfairchild commented on August 17, 2024

And actually, now that I think about it, it may actually be nice to have several options:

  • Ignore .git. This is useful for people that care about including .git in their search results.
  • Use .gitignore. I have several projects where I use .gitignore to ignore files containing secrets (keys, passwords, etc.). I don't want these files tracked in git, but it is definitely useful to occasionally open them in vim.
  • Show hidden files. Some people may not want to see hidden files, while others might.

Having fine-grained control over each of these options would be nice.

from neovim-fuzzy.

cloudhead avatar cloudhead commented on August 17, 2024

I think what I'll do is expose a fuzzy#open function that can be called with a few options, then you can either use the default FuzzyOpen, or create a new command and pass whatever options you want to the open function.

from neovim-fuzzy.

gfairchild avatar gfairchild commented on August 17, 2024

Sounds reasonable. Thanks!

from neovim-fuzzy.

1ak31sha avatar 1ak31sha commented on August 17, 2024

i would like the option to find hidden/dotfiles. is it available?

from neovim-fuzzy.

cloudhead avatar cloudhead commented on August 17, 2024

Fixed in #49

from neovim-fuzzy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.