Giter Site home page Giter Site logo

psfzflite's People

Contributors

stinos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

psfzflite's Issues

Any way to configure to make results prefer exact matches?

With PowerShell's Ctrl+R, matches to are more useful when typing something accurate since there is no fuzzy matching. With PsFzfLite typing "usb" for example doesn't return even 1 exact match until I scroll much further up due to all the fuzzy matches. Ideally I'd see exact matches first, and then any fuzzy matches. This might fall under configuring fzf rather than PsFzfLite (newbie to fzf, sorry!). Do you know how/if this can be done?

Thanks.

simple key binding does not work on some terminal (wezterm)

Set-PSReadLineKeyHandler -Key 'ctrl-r' -BriefDescription 'Fuzzy test' -ScriptBlock {fzf | Add-TextAtCursor}

In some terminals (e.g. wezterm) a simple invocation of fzf thru PSReadLine key binding not working.
PSFzf somehow has it working by wrapping fzf with System.Diagnostics.Process.

I probably can borrow this method and using it with PsFzfLite, but I wonder if there might be a simpler way to overcome this issue.
It way over my understanding (stdout/in, pipes, etc..), but I tried a different fuzzy tool which happen to work with wezterm, called heatseeker:

Set-PSReadLineKeyHandler -Key 'ctrl-b' -BriefDescription 'Fuzzy test' -ScriptBlock {fd --type f | hs | Add-TextAtCursor}

Choosing a cmdlet from `Invoke-FuzzyGetCmdlet` doesn't produce output

When invoking Invoke-FuzzyGetCmdlet, choosing a cmdlet doesn't appear to do anything. The cmdlet command will be added to PowerShell's CLI as text and be run(?) but it doesn't produce any output (if it's being run at all), only a new line for issuing your next command.

May be related to #1.

PsFzfLite c6ee2b0
fzf 0.37.0
PowerShell 7.3.2
Windows 11 Pro 22H2 10.0.22621

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.