[gnome-builder/wip/libide] libide: add inc/dec for vim using <ctrl>a and <ctrl>x
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/libide] libide: add inc/dec for vim using <ctrl>a and <ctrl>x
- Date: Thu, 5 Mar 2015 01:12:13 +0000 (UTC)
commit 064a17e5c317b85bb5426c9b333436e4c716f0d3
Author: Christian Hergert <christian hergert me>
Date: Wed Mar 4 17:11:37 2015 -0800
libide: add inc/dec for vim using <ctrl>a and <ctrl>x
data/keybindings/vim.css | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/data/keybindings/vim.css b/data/keybindings/vim.css
index a4b1a05..0a5d5a9 100644
--- a/data/keybindings/vim.css
+++ b/data/keybindings/vim.css
@@ -129,6 +129,10 @@
"copy-clipboard" ()
"delete-from-cursor" (chars, 1) };
+ /* change number */
+ bind "<ctrl>a" { "change-number" (1) };
+ bind "<ctrl>x" { "change-number" (-1) };
+
/* copy */
bind "y" { "set-mode" ("vim-normal-y", transient) };
bind "<shift>y" { "save-cursor" ()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]