lib/mireru/command/mireru.rb in mireru-0.9.0 vs lib/mireru/command/mireru.rb in mireru-0.9.1

- old
+ new

@@ -1,5 +1,21 @@ +# Copyright (C) 2013-2014 Masafumi Yokoyama <myokoym@gmail.com> +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + require "mireru/logger" require "mireru/window" require "mireru/version" module Mireru @@ -70,32 +86,35 @@ set a font such as "Monospace 16" Key bindings: n: next p: prev - e: expand/collpse + 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 / collpse even if cursor on file + 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 - Shift+h: 100 times left - Shift+j: 100 times down - Shift+k: 100 times up - Shift+l: 100 times right + H: 100 times left + J: 100 times down + K: 100 times up + L: 100 times right - Shift+g: down to bottom + G: down to bottom scale: +: larger -: smaller