From c771668f9aabe4d472866e675f4698ad81e6dff6 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Sun, 6 Jul 2014 07:02:03 -0500 Subject: [PATCH] Q and W jump between markers. this puts them right next to Tab which creates and deletes markers. numpad left/right arrows are an alternate action for this --- gtk2_ardour/editor_actions.cc | 2 ++ gtk2_ardour/mnemonic-us.bindings.in | 12 +++++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/gtk2_ardour/editor_actions.cc b/gtk2_ardour/editor_actions.cc index e696efebab..411948248c 100644 --- a/gtk2_ardour/editor_actions.cc +++ b/gtk2_ardour/editor_actions.cc @@ -239,7 +239,9 @@ Editor::register_actions () } reg_sens (editor_actions, "jump-forward-to-mark", _("Jump to Next Mark"), sigc::mem_fun(*this, &Editor::jump_forward_to_mark)); + reg_sens (editor_actions, "alternate-jump-forward-to-mark", _("Jump to Next Mark"), sigc::mem_fun(*this, &Editor::jump_forward_to_mark)); reg_sens (editor_actions, "jump-backward-to-mark", _("Jump to Previous Mark"), sigc::mem_fun(*this, &Editor::jump_backward_to_mark)); + reg_sens (editor_actions, "alternate-jump-backward-to-mark", _("Jump to Previous Mark"), sigc::mem_fun(*this, &Editor::jump_backward_to_mark)); reg_sens (editor_actions, "add-location-from-playhead", _("Add Mark from Playhead"), sigc::mem_fun(*this, &Editor::add_location_from_playhead_cursor)); reg_sens (editor_actions, "alternate-add-location-from-playhead", _("Add Mark from Playhead"), sigc::mem_fun(*this, &Editor::add_location_from_playhead_cursor)); diff --git a/gtk2_ardour/mnemonic-us.bindings.in b/gtk2_ardour/mnemonic-us.bindings.in index 6346bf6cd3..5d8ce13a90 100644 --- a/gtk2_ardour/mnemonic-us.bindings.in +++ b/gtk2_ardour/mnemonic-us.bindings.in @@ -130,7 +130,9 @@ This mode provides many different operations on both regions and control points, ;; TOP ROW @sess|Common/Quit|<@PRIMARY@>q|quit -@rop|Region/quantize-region|q|quantize MIDI notes \linebreak[4] in selected region(s) +@rop|Region/quantize-region|<@SECONDARY@>q|quantize MIDI notes \linebreak[4] in selected region(s) +@movp|Editor/jump-forward-to-mark|w|to next mark +@movp|Editor/jump-backward-to-mark|q|to previous mark ;; note that ctrl-w is special and consumed by the keyboard snooper @@ -143,14 +145,13 @@ This mode provides many different operations on both regions and control points, @wvis|Common/goto-editor|<@WINDOW@>e|toggle editor window @mmode|MouseMode/set-mouse-mode-range|r|range mode @edit|Editor/redo|<@PRIMARY@>r|redo -@edit|Editor/alternate-redo|<@PRIMARY@>y|redo -@edit|Editor/alternate-alternate-redo|<@PRIMARY@><@TERTIARY@>z|redo @rop|Region/reverse-region|<@SECONDARY@>r|reverse @trans|Transport/Record|<@TERTIARY@>r|engage record @mmode|MouseMode/set-mouse-mode-timefx|t|timefx mode @rop|Region/pitch-shift-region|<@SECONDARY@>t|transpose @eep|Editor/insert-time|<@PRIMARY@>t|insert time @mmode|MouseMode/set-mouse-mode-object-range|y|link object/range tools +@edit|Editor/alternate-redo|<@PRIMARY@>y|redo @select|Editor/select-all-between-cursors|<@PRIMARY@>u|all enclosed by edit range @select|Editor/select-all-within-cursors|u|all present in edit range @eep|Region/insert-region-from-region-list|i|insert from region list @@ -206,6 +207,7 @@ This mode provides many different operations on both regions and control points, @mmode|MouseMode/set-mouse-mode-zoom|z|zoom mode @edit|Editor/undo|<@PRIMARY@>z|undo +@edit|Editor/alternate-alternate-redo|<@PRIMARY@><@TERTIARY@>z|redo @vis|Editor/zoom-to-region|<@PRIMARY@><@SECONDARY@>z|zoom (x) to selected region(s) @vis|Editor/zoom-to-region-both-axes|<@SECONDARY@>z|zoom (x+y) to selected region @vis|Editor/toggle-zoom|<@TERTIARY@>z|toggle last 2 zoom states @@ -268,8 +270,8 @@ This mode provides many different operations on both regions and control points, @rop|Region/nudge-backward|KP_Subtract|nudge backward @-group|Editor/nudge-next-backward|<@PRIMARY@>KP_Subtract|some text -@movp|Editor/jump-forward-to-mark|<@PRIMARY@>KP_Right|to next mark -@movp|Editor/jump-backward-to-mark|<@PRIMARY@>KP_Left|to previous mark +@movp|Editor/alternate-jump-forward-to-mark|<@PRIMARY@>KP_Right|to next mark +@movp|Editor/alternate-jump-backward-to-mark|<@PRIMARY@>KP_Left|to previous mark @rop|Region/nudge-forward|KP_Add|nudge forward @-group|Editor/nudge-next-forward|<@PRIMARY@>KP_Add|some text