changeset 16:da58e103db3b

Added more keys
author unexist
date Fri, 22 Jan 2010 02:28:14 +0100
parents f7c6a07fa061
children d8bc17ad2c63
files subtly.rb
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/subtly.rb	Fri Jan 22 02:28:00 2010 +0100
+++ b/subtly.rb	Fri Jan 22 02:28:14 2010 +0100
@@ -13,14 +13,20 @@
 
 b = Subtly::Browser.new
 b.add_keys({
+  # Keys
   "o"   => :SubtlyUriOpen,
   "O"   => :SubtlyUriEdit,
   "p"   => :SubtlyUriPaste,
   "i"   => :SubtlyModeInsert,
   "b"   => :SubtlyBrowserBack,
   "m"   => :SubtlyBrowserForward,
+  "gg"  => :SubtlyScrollTop,
+  "G"   => :SubtlyScrollBottom,
   "ZZ"  => :SubtlyQuit,
-  "Esc" => :SubtlyModeCommand
+  "Esc" => :SubtlyModeCommand,
+
+  # Jumps
+  "g_"  => "http://www.google.de/%s"
 })
 b.uri = "http://www.google.de"
 b.run