aboutsummaryrefslogtreecommitdiffstats
path: root/vim-mode/vim_mode.pl
diff options
context:
space:
mode:
authorSimon Ruderich <simon@ruderich.org>2010-10-07 19:15:22 +0000
committerSimon Ruderich <simon@ruderich.org>2010-10-07 19:15:22 +0000
commit267eed1b9eebd91e6541a3a9d747fffbc28de339 (patch)
treec42d5d32c31b95fb07e18a7917db25d20e22e56b /vim-mode/vim_mode.pl
parentvim_mode: Fix i/I/a/A repeat. (diff)
downloadirssi-scripts-267eed1b9eebd91e6541a3a9d747fffbc28de339.tar.gz
irssi-scripts-267eed1b9eebd91e6541a3a9d747fffbc28de339.zip
vim_mode: Minor documentation updates.
Diffstat (limited to 'vim-mode/vim_mode.pl')
-rw-r--r--vim-mode/vim_mode.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl
index 17cbdad..ea43169 100644
--- a/vim-mode/vim_mode.pl
+++ b/vim-mode/vim_mode.pl
@@ -5,6 +5,9 @@
# 5.8.1 is recommended for UTF-8 support (which can be disabled if necessary).
# Please report bugs in older versions as well, we'll try to fix them.
#
+# Any behavior different from Vim (unless explicitly documented) should be
+# considered a bug and reported.
+#
# NOTE: This script is still under heavy development, and there may be bugs.
# Please submit reproducible sequences to the bug-tracker at:
# http://github.com/shabble/irssi-scripts/issues
@@ -2296,7 +2299,7 @@ sub _update_mode {
# Change mode to i to support insert mode repetition. This doesn't affect
# commands like i/a/I/A because handle_command_cmd() sets $last->{cmd}.
- # It's necessary when pressing enter.
+ # It's necessary when pressing enter so the next line can be repeated.
} elsif ($mode == M_CMD and $new_mode == M_INS) {
$last->{cmd} = $commands->{i};
# Make sure prompt is cleared when leaving ex mode.