Coder Social home page Coder Social logo

Comments (8)

losingkeys avatar losingkeys commented on August 18, 2024 2

the_silver_searcher takes into account .gitignore files and
.hgignore files. I think there are still some issues around paths like
log/ not being ignored when they should be. The reason to add this
(IMO) is because it makes this plugin more consistent with other vim
plugins (like vim-vinegar and ctrlp.vim).

On Mon, Aug 18, 2014 at 01:57:11PM -0700, Dave Rapin wrote:

I would love this. How are others getting around polluting their results with logs, temp files, etc.?


Reply to this email directly or view it on GitHub:
#67 (comment)

from ag.vim.

jottr avatar jottr commented on August 18, 2024 1

Oh please, oh please, somebody implement this.
This would be especially useful when having a ./vendor directory in a project, where ag returns lots of "useless" results.
👍

from ag.vim.

rapind avatar rapind commented on August 18, 2024

I would love this. How are others getting around polluting their results with logs, temp files, etc.?

from ag.vim.

rapind avatar rapind commented on August 18, 2024

That was super helpful thanks. Sorry to sidetrack the thread.

from ag.vim.

losingkeys avatar losingkeys commented on August 18, 2024

Not at all, comments welcome :)

On Mon, Aug 18, 2014 at 05:15:38PM -0700, Dave Rapin wrote:

That was super helpful thanks. Sorry to sidetrack the thread.


Reply to this email directly or view it on GitHub:
#67 (comment)

from ag.vim.

raine avatar raine commented on August 18, 2024

I'm using project specific .vimrc's with

let g:agprg='ag -S --nocolor --nogroup --column --ignore node_modules --ignore "./public/stylesheets/*"'

Ideally you'd set stuff before --ignore parameters in .vimrc and concatenate the ignores.

from ag.vim.

webduvet avatar webduvet commented on August 18, 2024

it should be possible to drop .ignore file with the pattern or even .agignore in your $HOME folder

from ag.vim.

krehwell avatar krehwell commented on August 18, 2024

making like this in my .vimrc solve my problem:

let s:ag_options = ' --one-device --skip-vcs-ignores --smart-case --ignore node_modules'

from ag.vim.

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.