[gnome-builder/wip/libide] libide: improve enter/backspace semantics in normal mode
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/libide] libide: improve enter/backspace semantics in normal mode
- Date: Thu, 5 Mar 2015 21:19:14 +0000 (UTC)
commit 71fb06230e83650976669b10a03e7541819c7c71
Author: Christian Hergert <christian hergert me>
Date: Thu Mar 5 13:19:07 2015 -0800
libide: improve enter/backspace semantics in normal mode
data/keybindings/vim.css | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/data/keybindings/vim.css b/data/keybindings/vim.css
index 7468c5c..a671ccf 100644
--- a/data/keybindings/vim.css
+++ b/data/keybindings/vim.css
@@ -139,7 +139,12 @@
bind "asciitilde" { "change-case" (toggle)
"movement" (next-char, 0) };
- bind "BackSpace" { "movement" (previous-char, 0) };
+ bind "BackSpace" { "move-cursor" (logical-positions, -1, 0) };
+
+ bind "KP_Enter" { "movement" (next-line, 0) };
+ bind "<shift>KP_Enter" { "movement" (next-line, 0) };
+ bind "Return" { "movement" (next-line, 0) };
+ bind "<shift>Return" { "movement" (next-line, 0) };
/* copy */
bind "y" { "set-mode" ("vim-normal-y", transient) };
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]