Added a branching menu.
This commit is contained in:
parent
ceb77d506d
commit
70ee1c5301
1 changed files with 5 additions and 1 deletions
|
@ -170,6 +170,10 @@
|
||||||
|
|
||||||
(branching
|
(branching
|
||||||
(actions
|
(actions
|
||||||
|
("V" "Branch manager" magit-show-branches)
|
||||||
|
("B" "Create" magit-create-branch)
|
||||||
|
("m" "Move" magit-move-branch)
|
||||||
|
("d" "Delete" magit-delete-branch)
|
||||||
("c" "Checkout" magit-checkout)))
|
("c" "Checkout" magit-checkout)))
|
||||||
|
|
||||||
(tagging
|
(tagging
|
||||||
|
@ -369,7 +373,7 @@ put it in magit-key-mode-key-maps for fast lookup."
|
||||||
(max-size 70))
|
(max-size 70))
|
||||||
(while strings
|
(while strings
|
||||||
(let ((str (car strings)))
|
(let ((str (car strings)))
|
||||||
(let ((padding (make-string (- (+ longest-act 5) (length str)) ? )))
|
(let ((padding (make-string (- (+ longest-act 3) (length str)) ? )))
|
||||||
(insert str)
|
(insert str)
|
||||||
(if (and (> (+ (current-column) longest-act) max-size)
|
(if (and (> (+ (current-column) longest-act) max-size)
|
||||||
(cdr strings))
|
(cdr strings))
|
||||||
|
|
Loading…
Reference in a new issue