From 30b23c218a163a14804b72bea87969411d36c563 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Fri, 15 Oct 2010 20:55:31 +0200 Subject: vim_mode: Honor 'start_cmd' on startup. Reported by estragib. --- vim-mode/vim_mode.pl | 4 ++++ 1 file changed, 4 insertions(+) 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 { -- cgit v1.2.3