aboutsummaryrefslogtreecommitdiffstats
path: root/vim-mode/vim_mode.pl
diff options
context:
space:
mode:
authorSimon Ruderich <simon@ruderich.org>2010-10-04 18:49:59 +0000
committerSimon Ruderich <simon@ruderich.org>2010-10-04 18:49:59 +0000
commit443ea86331c3ae1c712248717d403633fb5c27ff (patch)
tree537ca76e4158f4bdbca96379611ccdf0c6eca77a /vim-mode/vim_mode.pl
parentvim_mode: Describe irssi requirements. (diff)
downloadirssi-scripts-443ea86331c3ae1c712248717d403633fb5c27ff.tar.gz
irssi-scripts-443ea86331c3ae1c712248717d403633fb5c27ff.zip
vim_mode: Minor comment fixes.
Diffstat (limited to 'vim-mode/vim_mode.pl')
-rw-r--r--vim-mode/vim_mode.pl3
1 files changed, 1 insertions, 2 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl
index bedf53a..cc798f5 100644
--- a/vim-mode/vim_mode.pl
+++ b/vim-mode/vim_mode.pl
@@ -454,7 +454,6 @@ sub cmd_operator_d {
# when changing (C).
$pos-- if $pos == length($input) and !$change;
- # Move the cursor at the right position.
_input_pos($pos);
}
sub cmd_operator_y {
@@ -1736,7 +1735,7 @@ sub handle_command_cmd {
print "Skipping movement and operator." if DEBUG;
} else {
# Make sure count is at least 1 except for functions which need to
- # know if no count was used
+ # know if no count was used.
if (not $numeric_prefix and $char ne "\x04" # ctrl-d
and $char ne "\x15" # ctrl-u
and $char ne 'G') {