diff options
author | Simon Ruderich <simon@ruderich.org> | 2010-10-07 23:50:17 +0000 |
---|---|---|
committer | Simon Ruderich <simon@ruderich.org> | 2010-10-07 23:50:17 +0000 |
commit | bca1951421952978b11e4c4cf741a83dbd5cfc2a (patch) | |
tree | af2339e8891286a832bf9b0e42cfc778e7f1f560 /vim-mode | |
parent | vim_mode: Fix error in $commands_ex hash. (diff) | |
download | irssi-scripts-bca1951421952978b11e4c4cf741a83dbd5cfc2a.tar.gz irssi-scripts-bca1951421952978b11e4c4cf741a83dbd5cfc2a.zip |
vim_mode: Add char to $commands_ex hash.
Diffstat (limited to '')
-rw-r--r-- | vim-mode/vim_mode.pl | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl index 8e3a41d..042fc34 100644 --- a/vim-mode/vim_mode.pl +++ b/vim-mode/vim_mode.pl @@ -313,23 +313,23 @@ my $commands # All available commands in Ex-Mode. my $commands_ex = { - s => { func => \&ex_substitute, type => C_EX }, - bnext => { func => \&ex_bnext, type => C_EX }, - bn => { func => \&ex_bnext, type => C_EX }, - bprev => { func => \&ex_bprev, type => C_EX }, - bp => { func => \&ex_bprev, type => C_EX }, - bdelete => { func => \&ex_bdelete, type => C_EX }, - bd => { func => \&ex_bdelete, type => C_EX }, - buffer => { func => \&ex_buffer, type => C_EX }, - b => { func => \&ex_buffer, type => C_EX }, - registers => { func => \&ex_registers, type => C_EX }, - reg => { func => \&ex_registers, type => C_EX }, - display => { func => \&ex_registers, type => C_EX }, - di => { func => \&ex_registers, type => C_EX }, - buffers => { func => \&ex_buffers, type => C_EX }, - ls => { func => \&ex_buffers, type => C_EX }, - undolist => { func => \&ex_undolist, type => C_EX }, - undol => { func => \&ex_undolist, type => C_EX }, + s => { char => 's', func => \&ex_substitute, type => C_EX }, + bnext => { char => 'bnext', func => \&ex_bnext, type => C_EX }, + bn => { char => 'bn', func => \&ex_bnext, type => C_EX }, + bprev => { char => 'bprev', func => \&ex_bprev, type => C_EX }, + bp => { char => 'bp', func => \&ex_bprev, type => C_EX }, + bdelete => { char => 'bdelete', func => \&ex_bdelete, type => C_EX }, + bd => { char => 'bd', func => \&ex_bdelete, type => C_EX }, + buffer => { char => 'buffer', func => \&ex_buffer, type => C_EX }, + b => { char => 'b', func => \&ex_buffer, type => C_EX }, + registers => { char => 'registers', func => \&ex_registers, type => C_EX }, + reg => { char => 'reg', func => \&ex_registers, type => C_EX }, + display => { char => 'display', func => \&ex_registers, type => C_EX }, + di => { char => 'di', func => \&ex_registers, type => C_EX }, + buffers => { char => 'buffer', func => \&ex_buffers, type => C_EX }, + ls => { char => 'ls', func => \&ex_buffers, type => C_EX }, + undolist => { char => 'undolist', func => \&ex_undolist, type => C_EX }, + undol => { char => 'undol', func => \&ex_undolist, type => C_EX }, }; # MAPPINGS |