[gnome-builder/gnome-builder-3-18] vim: fix ctrl-[ to escape from insert mode
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/gnome-builder-3-18] vim: fix ctrl-[ to escape from insert mode
- Date: Tue, 13 Oct 2015 07:39:54 +0000 (UTC)
commit 98bc61ceb3600a04582dad45d3c790f95e4b08b1
Author: Ray Strode <rstrode redhat com>
Date: Sat Oct 10 20:08:42 2015 -0400
vim: fix ctrl-[ to escape from insert mode
ctrl-[ should always be a synonym for Escape but it's only currently a
synonym for Escape in one of the two places Escape is specified.
This commit adds a duplicate entry for the other place, too, and fixes
escaping from insert mode using ctrl-[.
https://bugzilla.gnome.org/show_bug.cgi?id=756403
data/keybindings/vim.css | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/data/keybindings/vim.css b/data/keybindings/vim.css
index dee02c9..b8b7339 100644
--- a/data/keybindings/vim.css
+++ b/data/keybindings/vim.css
@@ -1060,6 +1060,13 @@
"clear-snippets" ()
"movement" (previous-char, 0, 1, 0)
"set-mode" ("vim-normal", permanent) };
+ bind "<ctrl>bracketleft" { "end-macro" ()
+ "set-overwrite" (0)
+ "clear-count" ()
+ "clear-selection" ()
+ "clear-snippets" ()
+ "movement" (previous-char, 0, 1, 0)
+ "set-mode" ("vim-normal", permanent) };
}
@binding-set builder-vim-source-view-visual-with-count
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]