[gtksourceview/wip/chergert/vim: 270/293] avoid begin_delete
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/chergert/vim: 270/293] avoid begin_delete
- Date: Fri, 5 Nov 2021 04:23:08 +0000 (UTC)
commit ebe79236a298bccb9357e63b1437b6a221fdfc7c
Author: Christian Hergert <chergert redhat com>
Date: Wed Nov 3 16:11:52 2021 -0700
avoid begin_delete
gtksourceview/vim/gtk-source-vim-normal.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/gtksourceview/vim/gtk-source-vim-normal.c b/gtksourceview/vim/gtk-source-vim-normal.c
index 2fdf9d6e..cb90bd33 100644
--- a/gtksourceview/vim/gtk-source-vim-normal.c
+++ b/gtksourceview/vim/gtk-source-vim-normal.c
@@ -957,7 +957,10 @@ key_handler_initial (GtkSourceVimNormal *self,
return TRUE;
case GDK_KEY_d:
- gtk_source_vim_normal_begin_delete (self, NULL, NULL);
+ gtk_source_vim_normal_begin_command (self,
+ NULL,
+ gtk_source_vim_motion_new_none (),
+ ":delete", GDK_KEY_d);
return TRUE;
case GDK_KEY_c:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]