diff --git a/gtm b/gtm index 4c01f21..c4aeaec 100755 --- a/gtm +++ b/gtm @@ -1013,6 +1013,12 @@ def handle_keyboard_input(key, state: AppState) -> AppState: elif key in [78, ord('N')]: # ASCII code for 'N' (uppercase) if state.search_matches: return jump_to_prev_match(state) + elif key in [99, ord('c')]: # ASCII code for 'c' + if state.show_whole_diff or state.show_additions or state.show_deletions: + return jump_to_next_change(state) + elif key in [67, ord('C')]: # ASCII code for 'C' (uppercase) + if state.show_whole_diff or state.show_additions or state.show_deletions: + return jump_to_prev_change(state) elif key in [112, ord('p')]: # ASCII code for 'p' if state.show_whole_diff or state.show_additions or state.show_deletions: return jump_to_prev_change(state)