Giter VIP home page Giter VIP logo

anyfff's Introduction

anyfff

fuzzy finder wrapper plugin for fish.

inspired from mollifier/anyframe

Features

You can use your favorite fuzzy finder!

Widget

Main Command: anyfff_widget

Sub Commands:

  • put_history
    • Put the command selected from the command history on the commandline
  • put_filename
    • Put the filename selected from some files on the commandline
    • The candidates are optimized according to the content of the command line
    • Currently it does not correspond to several git commands ๐Ÿ˜ข
  • checkout_git_branch
    • Checkout to branch selected from branch including remote branch
  • put_git_branch
    • Put the selected branch on the commandline
  • kill_process
    • Kill 9 for the selected running process
    • Although it is a standard, I wonder if I will use it ...?
  • cdr
    • Select from cd history and directories around the current directory and cd to that directory

Install

With fundle

  1. add to your config.fish
fundle plugin hagiyat/anyfff
  1. $ fundle install

Requirements

Choose any one from among these.

Usage

Please assign favorite key bind to widget, set alias and use it.

Example:

bind \cr 'anyfff_widget put_history'
bind \cx\cx 'anyfff_widget put_filename'
bind \cx\cg 'anyfff_widget checkout_git_branch'
bind \cx\cb 'anyfff_widget put_git_branch'

alias cd 'anyfff_widget cdr'

Configurations

The default settings will be applied without setting anything ๐Ÿ‘

finder application

if type -q sk
  set -x SKIM_DEFAULT_OPTIONS '--ansi'
  set -x ANYFFF__FINDER_APP sk
  set -x ANYFFF__FINDER_APP_OPTION_MULTIPLE '-m'
end

cd history

# The contents of the peripheral directory to which you cd are cached.
set -x ANYFFF__CDR_CACHE_PATH ~/.local/share/fish/anyfff/cdr
# This is the retention period (days) setting.
set -x ANYFFF__CDR_CACHE_LIFETIME 3
set -x ANYFFF__FILESEARCH_MAXDEPTH 2

for put_filename widget

# Setting scan range for file search
set -x ANYFFF__FILESEARCH_MAXDEPTH 2

License

[MIT][license-link]

anyfff's People

Contributors

hagiyat avatar ryotako avatar

Watchers

James Cloos avatar  avatar

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.