view subtly.rb @ 7:18b3fbf82cc4

Added key config
author unexist
date Mon, 14 Dec 2009 00:33:43 +0100
parents 87b46f01d08d
children da58e103db3b
line wrap: on
line source
#!/usr/bin/ruby
##
# @package subtly
#
# @file subtly
# @author Christoph Kappel <unexist@dorfelite.net>
# @version $Id: subtly.rb,v 7 1260747223.0-3600 unexist $
#
# This program can be distributed under the terms of the GNU GPL.
##
 
require "subtly/browser"

b = Subtly::Browser.new
b.add_keys({
  "o"   => :SubtlyUriOpen,
  "O"   => :SubtlyUriEdit,
  "p"   => :SubtlyUriPaste,
  "i"   => :SubtlyModeInsert,
  "b"   => :SubtlyBrowserBack,
  "m"   => :SubtlyBrowserForward,
  "ZZ"  => :SubtlyQuit,
  "Esc" => :SubtlyModeCommand
})
b.uri = "http://www.google.de"
b.run