aboutsummaryrefslogtreecommitdiffstats
path: root/vim-mode/vim_mode.pl
diff options
context:
space:
mode:
authorSimon Ruderich <simon@ruderich.org>2010-10-08 16:00:03 +0000
committerSimon Ruderich <simon@ruderich.org>2010-10-08 16:00:03 +0000
commitf2eeea1f085cd74e3a84cfeb665e3bf36f06de8f (patch)
treea8be0cc4215a94eb673c26a39c496f6a7e1e0b83 /vim-mode/vim_mode.pl
parentvim_mode: Fix typo. (diff)
downloadirssi-scripts-f2eeea1f085cd74e3a84cfeb665e3bf36f06de8f.tar.gz
irssi-scripts-f2eeea1f085cd74e3a84cfeb665e3bf36f06de8f.zip
vim_mode: Fix x and X broken in last commit.
Diffstat (limited to '')
-rw-r--r--vim-mode/vim_mode.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl
index 8b8e4ef..45b84a6 100644
--- a/vim-mode/vim_mode.pl
+++ b/vim-mode/vim_mode.pl
@@ -1138,7 +1138,7 @@ sub cmd_dollar {
sub cmd_x {
my ($count, $pos, $repeat) = @_;
- cmd_operator_d($pos, $pos + $count, 'x');
+ cmd_operator_d($pos, $pos + $count, $commands->{x}, $repeat);
return (undef, undef);
}
sub cmd_X {
@@ -1148,7 +1148,7 @@ sub cmd_X {
my $new = $pos - $count;
$new = 0 if $new < 0;
- cmd_operator_d($pos, $new, 'X');
+ cmd_operator_d($pos, $new, $commands->{X}, $repeat);
return (undef, undef);
}
sub cmd_s {