[gnome-builder/wip/libide] libide: add + and - in vim normal mode



commit 89698a78a9512ae08f97b6ff985169b744861fc1
Author: Christian Hergert <christian hergert me>
Date:   Thu Mar 12 17:06:05 2015 -0700

    libide: add + and - in vim normal mode

 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 5a154f2..6a50842 100644
--- a/data/keybindings/vim.css
+++ b/data/keybindings/vim.css
@@ -155,6 +155,13 @@
                     "move-cursor" (display-lines, -1, 0)
                     "auto-indent" () };
 
+  bind "minus" { "movement" (previous-line, 0, 1, 1)
+                 "movement" (first-nonspace-char, 0, 1, 0)
+                 "clear-count" () };
+  bind "plus" { "movement" (next-line, 0, 1, 1)
+                 "movement" (first-nonspace-char, 0, 1, 0)
+                 "clear-count" () };
+
   /* swallow the current character and go to insert */
   bind "s" { "begin-macro" ()
              "set-mode" ("vim-insert", permanent)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]