aboutsummaryrefslogtreecommitdiffstats
path: root/undo
diff options
context:
space:
mode:
authorTom Feist <shabble@metavore.org>2011-04-18 00:40:04 +0000
committerTom Feist <shabble@metavore.org>2011-04-18 00:40:04 +0000
commitf354b09a699a2f6798d12768ac5201e1082aa2ca (patch)
tree4a996555ee441d8936d6bddf0fdc7bafc2495c75 /undo
parentundo.pl: new script which stores short-term history (ie: within one command), (diff)
downloadirssi-scripts-f354b09a699a2f6798d12768ac5201e1082aa2ca.tar.gz
irssi-scripts-f354b09a699a2f6798d12768ac5201e1082aa2ca.zip
undo: kill-ring.pl, an initial attempt at a script to keep track of changes in
the cut-buffer, and allow you to cycle through them. Still WIP
Diffstat (limited to '')
-rw-r--r--undo/kill-ring.pl46
1 files changed, 46 insertions, 0 deletions
diff --git a/undo/kill-ring.pl b/undo/kill-ring.pl
new file mode 100644
index 0000000..3cb7b61
--- /dev/null
+++ b/undo/kill-ring.pl
@@ -0,0 +1,46 @@
+# DOCUMENTATION:
+#
+#
+#
+#
+# LICENCE:
+#
+# Copyright (c) 2011 Tom Feist <shabble+irssi@metavore.org>
+#
+# Permission is hereby granted, free of charge, to any person obtaining a copy
+# of this software and associated documentation files (the "Software"), to deal
+# in the Software without restriction, including without limitation the rights
+# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+# copies of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included in
+# all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+# THE SOFTWARE.
+#
+
+use strict;
+use warnings;
+
+use Irssi;
+use Irssi::Irc;
+use Irssi::TextUI;
+
+use Data::Dumper;
+
+our $VERSION = '0.1';
+our %IRSSI = (
+ authors => 'shabble',
+ contact => 'shabble+irssi@metavore.org',
+ name => '',
+ description => '',
+ license => 'MIT',
+ updated => '$DATE'
+ );