diff options
Diffstat (limited to 'vim-mode')
| -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 b7a5459..4b3a8ba 100644 --- a/vim-mode/vim_mode.pl +++ b/vim-mode/vim_mode.pl @@ -216,10 +216,10 @@ sub _get_pos_and_length {          $length *= -1;      } -    # w and x are the only movements which move one character after the +    # w, x, h, l are the only movements which move one character after the      # deletion area (which is what we need), all other commands need one      # character more for correct deletion. -    if ($move ne 'w' and $move ne 'x') { +    if ($move ne 'w' and $move ne 'x' and $move ne 'h' and $move ne 'l') {          $length += 1;      } | 
