diff options
author | Simon Ruderich <simon@ruderich.org> | 2010-10-08 14:22:46 +0000 |
---|---|---|
committer | Simon Ruderich <simon@ruderich.org> | 2010-10-08 14:22:46 +0000 |
commit | 0997134c03e0ce1b97739296d56c4eb5ab8e9edb (patch) | |
tree | e4af4ef995593546c2dc770a3b0a896ffe93f602 /vim-mode | |
parent | vim_mode: $map->{char} is always in <> notation. (diff) | |
download | irssi-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.pl | 1 |
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() } |