[gtksourceview/wip/chergert/vim] same for A to append
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/chergert/vim] same for A to append
- Date: Wed, 27 Oct 2021 02:29:17 +0000 (UTC)
commit 3c3e949dcc9a736fc65e33d6c0a17b56aaad1141
Author: Christian Hergert <chergert redhat com>
Date: Tue Oct 26 19:29:11 2021 -0700
same for A to append
gtksourceview/vim/gtk-source-vim-normal.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/gtksourceview/vim/gtk-source-vim-normal.c b/gtksourceview/vim/gtk-source-vim-normal.c
index e0decfae..1780e35d 100644
--- a/gtksourceview/vim/gtk-source-vim-normal.c
+++ b/gtksourceview/vim/gtk-source-vim-normal.c
@@ -155,9 +155,13 @@ key_handler_command (GtkSourceVimNormal *self,
begin_insert (self, new_state, FALSE);
return TRUE;
+ case GDK_KEY_A:
+ new_state = gtk_source_vim_motion_new_line_end ();
+ begin_insert (self, new_state, TRUE);
+ return TRUE;
+
case GDK_KEY_a:
case GDK_KEY_asciitilde:
- case GDK_KEY_A:
case GDK_KEY_C:
case GDK_KEY_D:
case GDK_KEY_J:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]