Browse Source

Add git-worktree keybind

master
10sr 5 years ago
parent
commit
3a96ac420d
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      emacs.el

+ 1
- 0
emacs.el View File

@@ -1949,6 +1949,7 @@ initializing."
(let ((bf (git-worktree-open-noselect directory)))
(pop-to-buffer bf)))
(defalias 'git-worktree 'git-worktree-open)
(define-key ctl-x-map "T" 'git-worktree)

(defun git-worktree-mode-go ()
"Go to worktree directory at point."


Loading…
Cancel
Save