# Mireru [![Build Status](https://secure.travis-ci.org/myokoym/mireru.png?branch=master)](http://travis-ci.org/myokoym/mireru) Mireru is a keyboard friendly file viewer by Ruby/GTK3. It can handle a variety of file types (Picture, Text, PDF, Video and etc.). ## Requirements * Ruby/GTK3, Ruby/GtkSourceView3, Ruby/ClutterGTK, Ruby/ClutterGStreamer, Ruby/Poppler and Ruby/RSVG2 in [Ruby-GNOME2](http://ruby-gnome2.sourceforge.jp/) * [hexdump](https://github.com/postmodern/hexdump) ## 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" ### Key bindings #### Common n: next
p: prev
e: expand/collpse
r: reload
q: quit
#### Control key mask Ctrl+n: 10 tiles next
Ctrl+p: 10 tiles prev
Ctrl+e: expand all/collpse even if cursor on file
Ctrl+h: move position of partition to left
Ctrl+l: move position of partition to right
#### Scroll h: left
j: down
k: up
l: right
Shift+h: 100 times left
Shift+j: 100 times down
Shift+k: 100 times up
Shift+l: 100 times right
Shift+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 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 [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/myokoym/mireru/trend.png)](https://bitdeli.com/free "Bitdeli Badge")