diff options
author | Simon Ruderich <simon@ruderich.org> | 2010-10-15 18:55:31 +0000 |
---|---|---|
committer | Simon Ruderich <simon@ruderich.org> | 2010-10-15 18:55:31 +0000 |
commit | 30b23c218a163a14804b72bea87969411d36c563 (patch) | |
tree | 1448e907d45c4a818d5ac1f2a1ce98518ed5f3b7 | |
parent | vim_mode: Fix display of partial commands. (diff) | |
download | irssi-scripts-30b23c218a163a14804b72bea87969411d36c563.tar.gz irssi-scripts-30b23c218a163a14804b72bea87969411d36c563.zip |
vim_mode: Honor 'start_cmd' on startup.
Reported by estragib.
-rw-r--r-- | vim-mode/vim_mode.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl index 6535a65..48b7143 100644 --- a/vim-mode/vim_mode.pl +++ b/vim-mode/vim_mode.pl @@ -2567,6 +2567,10 @@ sub vim_mode_init { setup_changed(); _reset_undo_buffer(); + + if ($settings->{start_cmd}) { + _update_mode(M_CMD); + } } sub setup_changed { |