[gnome-builder/wip/libide] libide: add selection helpers in vim mode



commit 53c974896c9f9c66aea35ce3e1e4c910897ea552
Author: Christian Hergert <christian hergert me>
Date:   Fri Mar 6 20:11:29 2015 -0800

    libide: add selection helpers in vim mode

 data/keybindings/vim.css |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/data/keybindings/vim.css b/data/keybindings/vim.css
index 7081bfd..84a40ce 100644
--- a/data/keybindings/vim.css
+++ b/data/keybindings/vim.css
@@ -738,6 +738,16 @@
 
   bind "<ctrl>e" { "movement" (screen-up, 1, 0, 1) };
   bind "<ctrl>y" { "movement" (screen-down, 1, 0, 1) };
+
+  /* page movements */
+  bind "<ctrl>b" { "movement" (page-up, 1, 0, 1)
+                   "clear-count" () };
+  bind "<ctrl>f" { "movement" (page-down, 1, 0, 1)
+                   "clear-count" () };
+  bind "<ctrl>u" { "movement" (half-page-up, 1, 0, 1)
+                   "clear-count" () };
+  bind "<ctrl>d" { "movement" (half-page-down, 1, 0, 1)
+                   "clear-count" () };
 }
 
 @binding-set builder-vim-source-view-visual-block


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