aboutsummaryrefslogtreecommitdiffstats
path: root/vim-mode
diff options
context:
space:
mode:
authorSimon Ruderich <simon@ruderich.org>2010-09-25 16:22:02 +0000
committerSimon Ruderich <simon@ruderich.org>2010-09-25 16:22:02 +0000
commit732ccd78c0fa4e0df02499235cc26131659c003e (patch)
treedbbcbc04725126eefcfb155b2cbbfd323189af48 /vim-mode
parentfixed I/A swap (patch by rudi_s), and a few other misc. changes. (diff)
downloadirssi-scripts-732ccd78c0fa4e0df02499235cc26131659c003e.tar.gz
irssi-scripts-732ccd78c0fa4e0df02499235cc26131659c003e.zip
vim_mode: Add some minor documentation.
Diffstat (limited to '')
-rw-r--r--vim-mode/vim_mode.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl
index 495bc48..9ff68c5 100644
--- a/vim-mode/vim_mode.pl
+++ b/vim-mode/vim_mode.pl
@@ -285,6 +285,7 @@ sub got_key {
return if ($should_ignore);
+ # Esc key
if ($key == 27) {
print "Esc seen, starting buffer" if DEBUG;
$esc_buf_enabled = 1;
@@ -295,6 +296,7 @@ sub got_key {
$esc_buf_timer
= Irssi::timeout_add_once(10, \&handle_esc_buffer, undef);
+ # Ctrl-C
} elsif ($key == 3 && $mode == M_INS) {
$mode = M_CMD;
_update_mode();