aboutsummaryrefslogtreecommitdiffstats
path: root/vim-mode/vim_mode.pl
diff options
context:
space:
mode:
authorSimon Ruderich <simon@ruderich.org>2010-10-02 15:55:47 +0000
committerSimon Ruderich <simon@ruderich.org>2010-10-02 15:55:47 +0000
commit3c72f0d33348625b7a3e60031bfbbe53f030798f (patch)
tree25d6a827f2345a93ff899657fb3df9b3d80d8416 /vim-mode/vim_mode.pl
parentvim_mode: Minor cleanup. (diff)
downloadirssi-scripts-3c72f0d33348625b7a3e60031bfbbe53f030798f.tar.gz
irssi-scripts-3c72f0d33348625b7a3e60031bfbbe53f030798f.zip
vim_mode: Add debug output.
Diffstat (limited to 'vim-mode/vim_mode.pl')
-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 ecada0d..f406592 100644
--- a/vim-mode/vim_mode.pl
+++ b/vim-mode/vim_mode.pl
@@ -1646,6 +1646,7 @@ sub handle_command_cmd {
substr $movement, 1);
}
if (defined $old_pos) {
+ print "Changing \$cur_pos from $cur_pos to $old_pos" if DEBUG;
$cur_pos = $old_pos;
}
if (defined $new_pos) {