diff options
author | Tom Feist <shabble@metavore.org> | 2011-04-06 09:15:36 +0000 |
---|---|---|
committer | Tom Feist <shabble@metavore.org> | 2011-04-06 09:15:36 +0000 |
commit | f3c909fdf09a49d36ecc664e0ae72fb8c71d2f3c (patch) | |
tree | 3f7f904834b3c1f3218cdcc75b2a7be8f9237817 /vim-mode | |
parent | input_overlay: cleanup, and work towards better region support. (diff) | |
download | irssi-scripts-f3c909fdf09a49d36ecc664e0ae72fb8c71d2f3c.tar.gz irssi-scripts-f3c909fdf09a49d36ecc664e0ae72fb8c71d2f3c.zip |
vim_mode: minor cleanup of constants
Diffstat (limited to 'vim-mode')
-rw-r--r-- | vim-mode/vim_mode.pl | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl index c5a06cb..ab74bc6 100644 --- a/vim-mode/vim_mode.pl +++ b/vim-mode/vim_mode.pl @@ -267,24 +267,24 @@ sub M_CMD () { 1 } # insert mode sub M_INS () { 0 } # extended mode (after a :?) -sub M_EX () { 2 } +sub M_EX () { 2 } # operator command -sub C_OPERATOR () { 0 } +sub C_OPERATOR () { 0 } # normal command, no special handling necessary -sub C_NORMAL () { 1 } +sub C_NORMAL () { 1 } # command taking another key as argument -sub C_NEEDSKEY () { 2 } +sub C_NEEDSKEY () { 2 } # text-object command (i a) sub C_TEXTOBJECT () { 3 } # commands entering insert mode -sub C_INSERT () { 4 } +sub C_INSERT () { 4 } # ex-mode commands -sub C_EX () { 5 } +sub C_EX () { 5 } # irssi commands -sub C_IRSSI () { 6 } +sub C_IRSSI () { 6 } # does nothing -sub C_NOP () { 7 } +sub C_NOP () { 7 } # setting types, match irssi types as they are stored as irssi settings sub S_BOOL () { 0 } |