Mireru Gem Version Build Status

Mireru is a keyboard friendly file viewer by Ruby/GTK3.

It can handle a variety of file types (Picture, Text, PDF, Video and etc.).

Dependencies

Installation

$ gem install mireru

Usage

Launch

$ mireru [OPTION]... [FILE_OR_DIRECTORY]...

If no argument, then open the current directory.

Options

  • -h, --help

    • show this help message
  • -f, --font NAME

    • set a font such as "Monospace 16"
  • --regexp "PATTERN"

    • select file name by regular expression
  • --compact

    • hide empty directory

Key bindings

Common

  • n: next
  • p: prev
  • e: expand/collapse
  • r: reload
  • q: quit

  • E: extract text using ChupaText

Control key mask

  • Ctrl+n: 10 tiles next
  • Ctrl+p: 10 tiles prev
  • Ctrl+e: expand all/collapse even if cursor on file
  • Ctrl+h: move position of partition to left
  • Ctrl+l: move position of partition to right
  • Ctrl+Enter: run selected file (only supports Windows and OS X)

Scroll

  • h: left
  • j: down
  • k: up
  • l: right

  • H: 100 times left
  • J: 100 times down
  • K: 100 times up
  • L: 100 times right

  • G: down to bottom

Scale

  • +: larger
  • -: smaller

Image

  • f: fit window size
  • o: scale to the original size

Text

  • f: change font (at random)

Video

  • space: play/pause

PDF

  • j: next page
  • k: prev page

License

Copyright (c) 2013-2014 Masafumi Yokoyama <[email protected]>

GPLv2 or later.

See 'license/gpl-2.0.txt' or 'http://www.gnu.org/licenses/gpl-2.0' for details.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request