[gnome-builder/wip/vim] vim: clear command mode after :w
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/vim] vim: clear command mode after :w
- Date: Wed, 1 Oct 2014 10:02:22 +0000 (UTC)
commit 2c0ef9e89afaa17035077bdc790efb19cf8ab8b4
Author: Christian Hergert <christian hergert me>
Date: Wed Oct 1 02:42:27 2014 -0700
vim: clear command mode after :w
src/editor/gb-editor-tab.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/editor/gb-editor-tab.c b/src/editor/gb-editor-tab.c
index 664dd10..c7f5b98 100644
--- a/src/editor/gb-editor-tab.c
+++ b/src/editor/gb-editor-tab.c
@@ -1002,6 +1002,7 @@ on_vim_command_entry_activate (GtkEntry *entry,
{
action = g_action_map_lookup_action (G_ACTION_MAP (actions), "save");
g_action_activate (action, NULL);
+ gb_editor_vim_set_mode (tab->priv->vim, GB_EDITOR_VIM_NORMAL);
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]