[gnome-builder] keybindings: add ctrl+g/ctrl+shift+g similar to gedit keybindings



commit 93d8b6a743b8fec3c264531f3cbeca06e5e5f8f3
Author: Christian Hergert <christian hergert me>
Date:   Tue Apr 21 18:15:19 2015 -0700

    keybindings: add ctrl+g/ctrl+shift+g similar to gedit keybindings
    
    This moves (and selects) the next/prev search result in a fashion similar
    to gedit.

 data/keybindings/default.css |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/data/keybindings/default.css b/data/keybindings/default.css
index 0edcbc6..4fcf02a 100644
--- a/data/keybindings/default.css
+++ b/data/keybindings/default.css
@@ -36,6 +36,9 @@
 
   bind "<ctrl>Return" { "action" ("workbench", "show-command-bar", "") };
   bind "<ctrl>KP_Enter" { "action" ("workbench", "show-command-bar", "") };
+
+  bind "<ctrl>g" { "move-search" (down, 0, 1, 1, 1, 1) };
+  bind "<ctrl><shift>g" { "move-search" (up, 0, 1, 0, 1, 1) };
 }
 
 IdeSourceViewMode.default {


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