Ver código fonte

Implement git-worktree-mode-go

master
10sr 5 anos atrás
pai
commit
3e6fa40ef5
Acessado por: 10sr ID da chave GPG: 7BEC428194130EB2
1 arquivos alterados com 7 adições e 0 exclusões
  1. +7
    -0
      emacs.el

+ 7
- 0
emacs.el Ver arquivo

@@ -2232,6 +2232,13 @@ initializing."
(pop-to-buffer bf)))
(defalias 'git-worktree 'git-worktree-open)

(defun git-worktree-mode-go ()
"Go to worktree directory at point."
(interactive)
(let ((id (tabulated-list-get-id)))
(when id
(dired (plist-get id :worktree)))))

(defvar git-worktree-mode-map
(let ((map (make-sparse-keymap)))
(suppress-keymap map)


Carregando…
Cancelar
Salvar