projects
/
WebThing.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Getting useful...
[WebThing.git]
/
plugins
/
Vimish.cs
diff --git
a/plugins/Vimish.cs
b/plugins/Vimish.cs
index
bb56ed0
..
ad2a9e5
100644
(file)
--- a/
plugins/Vimish.cs
+++ b/
plugins/Vimish.cs
@@
-37,6
+37,9
@@
public class Plugin {
case Gdk.Key.o:
CommandStart("open ");
break;
case Gdk.Key.o:
CommandStart("open ");
break;
+ case Gdk.Key.r:
+ wt.WebView.Reload();
+ break;
case Gdk.Key.t:
CommandStart("tabopen ");
break;
case Gdk.Key.t:
CommandStart("tabopen ");
break;
@@
-46,6
+49,9
@@
public class Plugin {
case Gdk.Key.colon:
CommandlineShow();
break;
case Gdk.Key.colon:
CommandlineShow();
break;
+ case Gdk.Key.Escape:
+ wt.WebView.ExecuteScript("document.activeElement.blur()");
+ break;
}
}
}
}
@@
-71,10
+77,12
@@
public class Plugin {
switch(args[0]) {
case "open":
if (args.Length < 2) return;
switch(args[0]) {
case "open":
if (args.Length < 2) return;
- wt.WebView.Open(args[1]);
+ wt.OpenUri(args[1]);
+ break;
+ case "q":
+ wt.Quit();
break;
}
break;
}
- commandline.Text = "";
CommandlineHide();
}
CommandlineHide();
}