diff options
| author | Simon Ruderich <simon@ruderich.org> | 2010-10-08 16:00:03 +0000 | 
|---|---|---|
| committer | Simon Ruderich <simon@ruderich.org> | 2010-10-08 16:00:03 +0000 | 
| commit | f2eeea1f085cd74e3a84cfeb665e3bf36f06de8f (patch) | |
| tree | a8be0cc4215a94eb673c26a39c496f6a7e1e0b83 | |
| parent | vim_mode: Fix typo. (diff) | |
| download | irssi-scripts-f2eeea1f085cd74e3a84cfeb665e3bf36f06de8f.tar.gz irssi-scripts-f2eeea1f085cd74e3a84cfeb665e3bf36f06de8f.zip | |
vim_mode: Fix x and X broken in last commit.
| -rw-r--r-- | vim-mode/vim_mode.pl | 4 | 
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 { | 
