diff --git a/gtk2_ardour/ardour.keys.in b/gtk2_ardour/ardour.keys.in index 11909f337c..ea491115a1 100644 --- a/gtk2_ardour/ardour.keys.in +++ b/gtk2_ardour/ardour.keys.in @@ -284,13 +284,13 @@ This mode provides many different operations on both regions and control points, ;; keypad -@rop|Region/nudge-backward|KP_Subtract|nudge backward +@select|Editor/nudge-backward|KP_Subtract|nudge backward @trans|Common/nudge-next-backward|<@PRIMARY@>KP_Subtract|some text @gmark|Common/alternate-jump-forward-to-mark|<@PRIMARY@>KP_Right|to next mark @gmark|Common/alternate-jump-backward-to-mark|<@PRIMARY@>KP_Left|to previous mark -@rop|Region/nudge-forward|KP_Add|nudge forward +@select|Editor/nudge-forward|KP_Add|nudge forward @trans|Common/nudge-next-forward|<@PRIMARY@>KP_Add|some text @gedt|Common/start-range|comma|some text diff --git a/gtk2_ardour/editor_actions.cc b/gtk2_ardour/editor_actions.cc index 5e9e329e96..c448383989 100644 --- a/gtk2_ardour/editor_actions.cc +++ b/gtk2_ardour/editor_actions.cc @@ -260,6 +260,16 @@ Editor::register_actions () reg_sens (editor_actions, "toggle-all-existing-automation", _("Toggle All Existing Automation"), sigc::mem_fun (*this, &Editor::toggle_all_existing_automation)); reg_sens (editor_actions, "toggle-layer-display", _("Toggle Layer Display"), sigc::mem_fun (*this, &Editor::toggle_layer_display)); + /* these "overlap" with Region/nudge-* and also Common/nudge-* but + * provide a single editor-related action that will nudge a region, + * selected marker or playhead + */ + + reg_sens (editor_actions, "nudge-forward", _("Nudge Later"), sigc::bind (sigc::mem_fun (*this, &Editor::nudge_forward), false, false)); + reg_sens (editor_actions, "alternate-nudge-forward", _("Nudge Later"), sigc::bind (sigc::mem_fun (*this, &Editor::nudge_forward), false, false)); + reg_sens (editor_actions, "nudge-backward", _("Nudge Earlier"), sigc::bind (sigc::mem_fun (*this, &Editor::nudge_backward), false, false)); + reg_sens (editor_actions, "alternate-nudge-backward", _("Nudge Earlier"), sigc::bind (sigc::mem_fun (*this, &Editor::nudge_backward), false, false)); + act = reg_sens (editor_actions, "track-record-enable-toggle", _("Toggle Record Enable"), sigc::mem_fun(*this, &Editor::toggle_record_enable)); ActionManager::track_selection_sensitive_actions.push_back (act); act = reg_sens (editor_actions, "track-solo-toggle", _("Toggle Solo"), sigc::mem_fun(*this, &Editor::toggle_solo));