From 41d17471d948c64f9cff12c8c9dd38ca0059cffc Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 26 Sep 2010 23:32:35 +0200 Subject: vim_mode: And document it (I keep forgetting). --- vim-mode/vim_mode.pl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl index a91f081..51a17c4 100644 --- a/vim-mode/vim_mode.pl +++ b/vim-mode/vim_mode.pl @@ -3,7 +3,7 @@ # Currently supported features: # # * Insert/Command mode. Escape enters command mode. -# * cursor motion with: h, l +# * cursor motion with: h l 0 ^ $ # * history motion with j,k (only supported on Irssi versions > 0.8.13) # * cursor word motion with: w, b, e # * change/delete: c d C D @@ -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 -- cgit v1.2.3 From ac2c7ce1f56f928311198e645166e6c1a2a6ad4a Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 26 Sep 2010 23:34:06 +0200 Subject: vim_mode: Update documentation. --- vim-mode/vim_mode.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl index 51a17c4..c4ae98b 100644 --- a/vim-mode/vim_mode.pl +++ b/vim-mode/vim_mode.pl @@ -4,11 +4,11 @@ # # * Insert/Command mode. Escape enters command mode. # * cursor motion with: h l 0 ^ $ -# * history motion with j,k (only supported on Irssi versions > 0.8.13) -# * cursor word motion with: w, b, e +# * 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 @@ -73,7 +73,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; -- cgit v1.2.3