[gnome-builder/wip/oholy/keybindings-edit-locations] keybindings: Add keybindings for moving across edit locations




commit d62f383388d95044d1c31d2c08c636f93b988592
Author: Ondrej Holy <oholy redhat com>
Date:   Tue Oct 20 11:33:04 2020 +0200

    keybindings: Add keybindings for moving across edit locations
    
    As per the Keyboard Shortcuts dialog, `Shift + Alt + Left` resp.
    `Shift + Alt + Right` should move to the previous resp. next edit
    location, however, it does nothing currently. Let's add those
    missing keybindings.

 src/plugins/editor/default.css | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/plugins/editor/default.css b/src/plugins/editor/default.css
index 1013e5c40..2a59876b7 100644
--- a/src/plugins/editor/default.css
+++ b/src/plugins/editor/default.css
@@ -55,6 +55,9 @@
 
   /* Add back emoji */
   bind "<ctrl>semicolon" { "insert-emoji" () };
+
+  bind "<shift><alt>Left" { "action" ("history", "move-previous-edit", "") };
+  bind "<shift><alt>Right" { "action" ("history", "move-next-edit", "") };
 }
 
 idesourceviewmode.default {


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