[gtksourceview/wip/chergert/vim: 33/73] allow insert literal from replace mode
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/chergert/vim: 33/73] allow insert literal from replace mode
- Date: Tue, 26 Oct 2021 23:20:36 +0000 (UTC)
commit ea4c83f1320850ba212e2872a095c5ae0990dede
Author: Christian Hergert <chergert redhat com>
Date: Fri Oct 22 10:57:20 2021 -0700
allow insert literal from replace mode
gtksourceview/vim/gtk-source-vim-replace.c | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/gtksourceview/vim/gtk-source-vim-replace.c b/gtksourceview/vim/gtk-source-vim-replace.c
index 4dd433d8..8f077cc6 100644
--- a/gtksourceview/vim/gtk-source-vim-replace.c
+++ b/gtksourceview/vim/gtk-source-vim-replace.c
@@ -76,6 +76,10 @@ gtk_source_vim_replace_handle_keypress (GtkSourceVimState *state,
move_to_zero (self);
return TRUE;
+ case GDK_KEY_v:
+ gtk_source_vim_state_push (state, gtk_source_vim_insert_literal_new ());
+ return TRUE;
+
default:
break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]