[gtksourceview/wip/chergert/vim: 273/293] add <> in visual mode
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/chergert/vim: 273/293] add <> in visual mode
- Date: Fri, 5 Nov 2021 04:23:08 +0000 (UTC)
commit f43a877e51d37ef9d90e5a47db14fcb4430281b4
Author: Christian Hergert <chergert redhat com>
Date: Wed Nov 3 16:41:40 2021 -0700
add <> in visual mode
gtksourceview/vim/gtk-source-vim-visual.c | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/gtksourceview/vim/gtk-source-vim-visual.c b/gtksourceview/vim/gtk-source-vim-visual.c
index cc89274d..b7532ae5 100644
--- a/gtksourceview/vim/gtk-source-vim-visual.c
+++ b/gtksourceview/vim/gtk-source-vim-visual.c
@@ -563,6 +563,12 @@ key_handler_initial (GtkSourceVimVisual *self,
case GDK_KEY_r:
return gtk_source_vim_visual_replace (self);
+ case GDK_KEY_greater:
+ return gtk_source_vim_visual_begin_command (self, "indent");
+
+ case GDK_KEY_less:
+ return gtk_source_vim_visual_begin_command (self, "unindent");
+
default:
break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]