From b43739510883318bdd54b822c7d353e7e8dae0db Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 25 Sep 2010 23:59:11 +0200 Subject: vim_mode: Also display Ex mode in the statusline. --- vim-mode/vim_mode.pl | 2 ++ 1 file changed, 2 insertions(+) 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%_'; } -- cgit v1.2.3