aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Ruderich <simon@ruderich.org>2010-09-25 21:59:11 +0000
committerSimon Ruderich <simon@ruderich.org>2010-09-25 21:59:11 +0000
commitb43739510883318bdd54b822c7d353e7e8dae0db (patch)
tree6adb0c26040a8ef3bb084318eaed9f6791ffaa10
parentvim_mode: Implement vi-operators. (diff)
downloadirssi-scripts-b43739510883318bdd54b822c7d353e7e8dae0db.tar.gz
irssi-scripts-b43739510883318bdd54b822c7d353e7e8dae0db.zip
vim_mode: Also display Ex mode in the statusline.
-rw-r--r--vim-mode/vim_mode.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl
index 9ca2cda..c0514f4 100644
--- a/vim-mode/vim_mode.pl
+++ b/vim-mode/vim_mode.pl
@@ -284,6 +284,8 @@ sub vim_mode_cb {
my $mode_str = '';
if ($mode == M_INS) {
$mode_str = 'Insert';
+ } elsif ($mode == M_EX) {
+ $mode_str = '%_Ex%_';
} else {
$mode_str = '%_Command%_';
}