aboutsummaryrefslogtreecommitdiffstats
path: root/vim-mode/vim_mode.pl
diff options
context:
space:
mode:
Diffstat (limited to 'vim-mode/vim_mode.pl')
-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();