diff options
Diffstat (limited to '')
-rw-r--r-- | vim-mode/vim_mode.pl | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl index cc798f5..16247cf 100644 --- a/vim-mode/vim_mode.pl +++ b/vim-mode/vim_mode.pl @@ -1650,9 +1650,8 @@ sub handle_command_cmd { print "Changing s to cl" if DEBUG; $char = 'l'; $operator = 'c'; - } # S is an alias for cc. - if (!$movement and !$operator and $char eq 'S') { + } elsif (!$movement and !$operator and $char eq 'S') { print "Changing S to cc" if DEBUG; $char = 'c'; $operator = 'c'; @@ -1722,9 +1721,8 @@ sub handle_command_cmd { } elsif ($operator and ($char eq 'j' or $char eq 'k')) { print "Invalid operator/char: $operator $char" if DEBUG; $skip = 1; - } # C and D force the matching operator - if ($char eq 'C') { + } elsif ($char eq 'C') { $operator = 'c'; } elsif ($char eq 'D') { $operator = 'd'; |