aboutsummaryrefslogtreecommitdiffstats
path: root/vim-mode
diff options
context:
space:
mode:
authorSimon Ruderich <simon@ruderich.org>2010-10-08 14:22:46 +0000
committerSimon Ruderich <simon@ruderich.org>2010-10-08 14:22:46 +0000
commit0997134c03e0ce1b97739296d56c4eb5ab8e9edb (patch)
treee4af4ef995593546c2dc770a3b0a896ffe93f602 /vim-mode
parentvim_mode: $map->{char} is always in <> notation. (diff)
downloadirssi-scripts-0997134c03e0ce1b97739296d56c4eb5ab8e9edb.tar.gz
irssi-scripts-0997134c03e0ce1b97739296d56c4eb5ab8e9edb.zip
vim_mode: Add debug print when calling an ex-command.
Diffstat (limited to '')
-rw-r--r--vim-mode/vim_mode.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl
index aacaed5..6eaf644 100644
--- a/vim-mode/vim_mode.pl
+++ b/vim-mode/vim_mode.pl
@@ -2020,6 +2020,7 @@ sub handle_command_cmd {
# Ex-mode commands can also be bound in command mode. Works only if the
# ex-mode command doesn't take any arguments.
if ($cmd->{type} == C_EX) {
+ print "Processing ex-command: $map->{char} ($cmd->{char})" if DEBUG;
$cmd->{func}->();
return 1; # call _stop()
}