File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -2543,12 +2543,14 @@ if {[is_enabled multicommit] || [is_enabled singlecommit]} {
2543
2543
[ list .mbar.commit entryconf [.mbar.commit index last] -state]
2544
2544
2545
2545
.mbar.commit add command -label [ mc " Unstage From Commit" ] \
2546
- -command do_unstage_selection
2546
+ -command do_unstage_selection \
2547
+ -accelerator $M1T -U
2547
2548
lappend disable_on_lock \
2548
2549
[ list .mbar.commit entryconf [.mbar.commit index last] -state]
2549
2550
2550
2551
.mbar.commit add command -label [ mc " Revert Changes" ] \
2551
- -command do_revert_selection
2552
+ -command do_revert_selection \
2553
+ -accelerator $M1T -J
2552
2554
lappend disable_on_lock \
2553
2555
[ list .mbar.commit entryconf [.mbar.commit index last] -state]
2554
2556
@@ -3296,6 +3298,10 @@ unset gws
3296
3298
bind $ui_comm <$M1B -Key-Return> {do_commit;break}
3297
3299
bind $ui_comm <$M1B -Key-t> {do_add_selection;break}
3298
3300
bind $ui_comm <$M1B -Key-T> {do_add_selection;break}
3301
+ bind $ui_comm <$M1B -Key-u> {do_unstage_selection;break}
3302
+ bind $ui_comm <$M1B -Key-U> {do_unstage_selection;break}
3303
+ bind $ui_comm <$M1B -Key-j> {do_revert_selection;break}
3304
+ bind $ui_comm <$M1B -Key-J> {do_revert_selection;break}
3299
3305
bind $ui_comm <$M1B -Key-i> {do_add_all;break}
3300
3306
bind $ui_comm <$M1B -Key-I> {do_add_all;break}
3301
3307
bind $ui_comm <$M1B -Key-x> {tk_textCut %W;break}
You can’t perform that action at this time.
0 commit comments