From 8bee6895a12e5874784e6d0802cac65a1c6e95ea Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 26 Sep 2010 00:00:32 +0200 Subject: vim_mode: Minor documentation update. --- vim-mode/vim_mode.pl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl index c0514f4..af7366b 100644 --- a/vim-mode/vim_mode.pl +++ b/vim-mode/vim_mode.pl @@ -44,6 +44,9 @@ $VERSION = "1.0.1"; changed => "20/9/2010" ); + +# CONSTANTS + sub DEBUG () { 1 } #sub DEBUG () { 0 } @@ -52,6 +55,8 @@ sub M_INS() { 0 } # insert mode sub M_EX () { 2 } # extended mode (after a :?) +# GLOBAL VARIABLES + # buffer to keep track of the last N keystrokes following an Esc character. my @esc_buf; my $esc_buf_idx = 0; @@ -279,6 +284,7 @@ sub cmd_ex_command { } +# vi mode status item. sub vim_mode_cb { my ($sb_item, $get_size_only) = @_; my $mode_str = ''; -- cgit v1.2.3