diff options
Diffstat (limited to '')
-rw-r--r-- | vim-mode/vim_mode.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl index d01c5dc..e43b562 100644 --- a/vim-mode/vim_mode.pl +++ b/vim-mode/vim_mode.pl @@ -1056,7 +1056,7 @@ sub cmd_movement_tilde { substr $input, $pos, $count, $string; _input($input); - return (undef, $pos + $count); + return (undef, _fix_input_pos($pos + $count, length $input)); } sub cmd_movement_semicolon { |