Giter Club home page Giter Club logo

gof's Introduction

gof

Go Fuzzy

Installation

$ go get github.com/mattn/gof

Feature

  • Faster and startup
  • Working on windows

Usage

  • Glob files and edit the selected file with vim.
$ vim `gof`
  • Run gof and type CTRL-O, then start to edit with editor.
$ gof
  • Read from stdin
$ find /tmp | gof

Key Assign

Key Description
CTRL-K,ARROW-UP Move-up line
CTRL-J,ARROW-DOWN Move-down line
CTRL-A,HOME Go to head of prompt
CTRL-E,END Go to trail of prompt
ARROW-LEFT Move-left cursor
ARROW-RIGHT Move-right cursor
CTRL-O Edit file selected
CTRL-I Toggle view header/trailing of lines
CTRL-L Redraw
CTRL-U Clear prompt
CTRL-W Remove backward word
BS Remove backward character
DEL Delete character on the cursor
CTRL-Z Toggle selection
Enter Decide
CTRL-D,CTRL-C,ESC Cancel

Options

Option Description
-c Cat the selected file
-e Edit the selected file
- Remove the selected file
-l Launcher mode
-x Exit code for cancel (default: 1)
-d [path] Specify root directory

Launcher Mode

Put ~/.gof-launcher

[name]	[command]

name and command should be separated by TAB. gof -l launch commands for selected name. Below is a my .gof-launcher file.

Vim	gvim
Emacs	emacs
GIMP	gimp

License

MIT

Author

Yasuhiro Matsumoto (a.k.a mattn)

gof's People

Contributors

mattn avatar frewsxcv avatar jackdanger avatar prabirshrestha avatar sethwklein avatar gunyarakun 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.