GithubHelp home page GithubHelp logo

Comments (5)

andreyorst avatar andreyorst commented on July 16, 2024

rg -niL '' will do

from fzf.kak.

andreyorst avatar andreyorst commented on July 16, 2024

Basically, this mode is a little cheat, as it does a search for an empty pattern, which results in displaying all lines from all files, and allows you to quickly match them with fzf. Because interactive isn't a feature of fzf, this way we can achieve a rather robust pseudo interactive grep. So case sensitiveness here is not important at all.

from fzf.kak.

TeddyDD avatar TeddyDD commented on July 16, 2024

Good to know. It seems that sk version works by relaunching grep on every key pres right?

from fzf.kak.

andreyorst avatar andreyorst commented on July 16, 2024

I'm not sure I remember it right at this point, but seems so. Sk supports interactive execution, but I never found it really useful, given that fzf is a list narrowing framework, not a selection menu. So narrowing contents of all files, while hacky, still legit approach.

Perhaps the empty pattern thing should be documented a bit better in the fzf_grep_commamd option

from fzf.kak.

TeddyDD avatar TeddyDD commented on July 16, 2024

Okay, thanks!

from fzf.kak.

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.