aboutsummaryrefslogtreecommitdiffstats
path: root/vim-mode/vim_mode.pl
diff options
context:
space:
mode:
authorTom Feist <shabble@metavore.org>2010-09-26 21:43:12 +0000
committerTom Feist <shabble@metavore.org>2010-09-26 21:43:12 +0000
commite8a81e36b4a9c928edf2cb4aeb6fabac3bec6576 (patch)
tree153ea29e68d75cbbbb0662c7bcc339ddc39225c1 /vim-mode/vim_mode.pl
parentrefactored enter handling code into _commit_line(), and intercepted enter fro... (diff)
parentvim_mode: Update documentation. (diff)
downloadirssi-scripts-e8a81e36b4a9c928edf2cb4aeb6fabac3bec6576.tar.gz
irssi-scripts-e8a81e36b4a9c928edf2cb4aeb6fabac3bec6576.zip
Merge remote branch 'origin/dev'
Diffstat (limited to 'vim-mode/vim_mode.pl')
-rw-r--r--vim-mode/vim_mode.pl12
1 files changed, 5 insertions, 7 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl
index e15e39e..8deb7ed 100644
--- a/vim-mode/vim_mode.pl
+++ b/vim-mode/vim_mode.pl
@@ -3,12 +3,12 @@
# Currently supported features:
#
# * Insert/Command mode. Escape enters command mode.
-# * cursor motion with: h, l
-# * history motion with j,k (only supported on Irssi versions > 0.8.13)
-# * cursor word motion with: w, b, e
+# * cursor motion with: h l 0 ^ $
+# * history motion with j k
+# * cursor word motion with: w b e W B E
# * change/delete: c d C D
# * delete at cursor: x
-# * Insert mode at pos: i, a
+# * Insert mode at pos: i a
# * Insert mode at start: I
# * insert mode at end: A
# * yank and paste: y p P
@@ -19,8 +19,6 @@
#
# TODO:
# * /,?,n to search through history (like history_search.pl)
-# * ^ (first non-whitespace on line)
-# * Fix I = ^i
# * u = undo (how many levels, branching?!) redo?
# * use irssi settings for some of the features (esp. debug)
# * history movement should keep track of the 'active' input line and restore it
@@ -76,7 +74,7 @@ sub M_EX () { 2 } # extended mode (after a :?)
# GLOBAL VARIABLES
-# buffer to keep track of the last N keystrokes following an Esc character.
+# buffer to keep track of the last N keystrokes following an Esc character.
my @esc_buf;
my $esc_buf_timer;
my $esc_buf_enabled = 0;