[gnome-builder/wip/vim] vim: potentially allow keybindings to activate if no command was found.
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/vim] vim: potentially allow keybindings to activate if no command was found.
- Date: Tue, 30 Sep 2014 08:45:14 +0000 (UTC)
commit df952868b51283042795574de7e63111772e0d26
Author: Christian Hergert <christian hergert me>
Date: Tue Sep 30 01:45:08 2014 -0700
vim: potentially allow keybindings to activate if no command was found.
src/editor/gb-editor-vim.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/editor/gb-editor-vim.c b/src/editor/gb-editor-vim.c
index f74b7f0..d622ffc 100644
--- a/src/editor/gb-editor-vim.c
+++ b/src/editor/gb-editor-vim.c
@@ -1176,10 +1176,9 @@ gb_editor_vim_handle_normal (GbEditorVim *vim,
break;
}
- if (event->string && *event->string)
- return TRUE;
+ gtk_bindings_activate_event (G_OBJECT (vim->priv->text_view), event);
- return FALSE;
+ return TRUE;
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]