changeset 29:a7496708b087

Moved script into bin
author unexist
date Fri, 22 Jan 2010 15:44:43 +0100
parents a666afdaa9c9
children 4c3b2fe1412e
files bin/subtly subtly.rb
diffstat 2 files changed, 38 insertions(+), 36 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/subtly	Fri Jan 22 15:44:43 2010 +0100
@@ -0,0 +1,38 @@
+#!/usr/bin/ruby
+##
+# @package subtly
+#
+# @file subtly
+# @author Christoph Kappel <unexist@dorfelite.net>
+# @version $Id: subtly.rb,v 27 2010/01/22 14:57:49 unexist $
+#
+# This program can be distributed under the terms of the GNU GPL.
+##
+ 
+require "subtly/browser"
+
+b = Subtly::Browser.new
+b.add_keys({
+  # Keys
+  "o"   => :SubtlyUriOpen,
+  "O"   => :SubtlyUriEdit,
+  "p"   => :SubtlyUriPaste,
+  "y"   => :SubtlyUriYank,
+  "i"   => :SubtlyModeInsert,
+  "Esc" => :SubtlyModeCommand,
+  "s"   => :SubtlyBrowserStop,
+  "b"   => :SubtlyBrowserBack,
+  "m"   => :SubtlyBrowserForward,
+  "r"   => :SubtlyBrowerReloadCache,
+  "R"   => :SubtlyBrowerReload,
+  "+"   => :SubtlyBrowserZoomIn,
+  "-"   => :SubtlyBrowserZoomOut,
+  "gg"  => :SubtlyScrollTop,
+  "G"   => :SubtlyScrollBottom,
+  "ZZ"  => :SubtlyQuit,
+
+  # Jumps
+  "g_"  => "http://www.google.de/search?q=%s"
+})
+b.uri = "http://www.google.de"
+b.run
--- a/subtly.rb	Fri Jan 22 15:44:28 2010 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-#!/usr/bin/ruby
-##
-# @package subtly
-#
-# @file subtly
-# @author Christoph Kappel <unexist@dorfelite.net>
-# @version $Id$
-#
-# This program can be distributed under the terms of the GNU GPL.
-##
- 
-require "subtly/browser"
-
-b = Subtly::Browser.new
-b.add_keys({
-  # Keys
-  "o"   => :SubtlyUriOpen,
-  "O"   => :SubtlyUriEdit,
-  "p"   => :SubtlyUriPaste,
-  "y"   => :SubtlyUriYank,
-  "i"   => :SubtlyModeInsert,
-  "Esc" => :SubtlyModeCommand,
-  "s"   => :SubtlyBrowserStop,
-  "b"   => :SubtlyBrowserBack,
-  "m"   => :SubtlyBrowserForward,
-  "r"   => :SubtlyBrowerReloadCache,
-  "R"   => :SubtlyBrowerReload,
-  "gg"  => :SubtlyScrollTop,
-  "G"   => :SubtlyScrollBottom,
-  "ZZ"  => :SubtlyQuit,
-
-  # Jumps
-  "g_"  => "http://www.google.de/search?q=%s"
-})
-b.uri = "http://www.google.de"
-b.run