[gnome-builder/wip/oholy/keybindings-edit-locations: 2/2] keybindings: Add keybindings for moving across edit locations
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/oholy/keybindings-edit-locations: 2/2] keybindings: Add keybindings for moving across edit locations
- Date: Tue, 20 Oct 2020 15:02:50 +0000 (UTC)
commit d2b3b84f7f3f9bea3a06453ff466ef161232e31e
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]