[gtksourceview/wip/chergert/vim: 275/363] add gq{motion} in normal mode
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/chergert/vim: 275/363] add gq{motion} in normal mode
- Date: Mon, 8 Nov 2021 19:53:53 +0000 (UTC)
commit 5503f09605b8dd65b11260f2c75bb4945f97a544
Author: Christian Hergert <chergert redhat com>
Date: Wed Nov 3 17:29:08 2021 -0700
add gq{motion} in normal mode
gtksourceview/vim/gtk-source-vim-normal.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/gtksourceview/vim/gtk-source-vim-normal.c b/gtksourceview/vim/gtk-source-vim-normal.c
index 4c64d281..b7387c17 100644
--- a/gtksourceview/vim/gtk-source-vim-normal.c
+++ b/gtksourceview/vim/gtk-source-vim-normal.c
@@ -799,6 +799,9 @@ key_handler_g (GtkSourceVimNormal *self,
case GDK_KEY_question:
return gtk_source_vim_normal_begin_command_requiring_motion (self, "rot13");
+ case GDK_KEY_q:
+ return gtk_source_vim_normal_begin_command_requiring_motion (self, "format");
+
case GDK_KEY_g:
case GDK_KEY_e:
case GDK_KEY_E:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]