aboutsummaryrefslogtreecommitdiffstats
path: root/vimput.pl
diff options
context:
space:
mode:
Diffstat (limited to 'vimput.pl')
-rw-r--r--vimput.pl20
1 files changed, 20 insertions, 0 deletions
diff --git a/vimput.pl b/vimput.pl
new file mode 100644
index 0000000..fc50740
--- /dev/null
+++ b/vimput.pl
@@ -0,0 +1,20 @@
+use strict;
+
+use vars qw($VERSION %IRSSI);
+use Irssi;
+
+$VERSION = '1.0';
+%IRSSI = {
+ authors => 'Teddy Wing',
+ contact => 'irssi@teddywing.com',
+ name => 'Vimput',
+ description => '',
+ license => 'GPL',
+};
+
+
+Irssi::signal_add_last 'gui key pressed' => sub {
+ my ($key) = @_;
+
+ print Irssi::parse_special('$L', undef, 0);
+};