瀏覽代碼

Add my-git-si alias

master
10sr 3 月之前
父節點
當前提交
98eecef8f2
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. +4
    -2
      emacs.el

+ 4
- 2
emacs.el 查看文件

@@ -1889,8 +1889,10 @@ ORIG-FUNC is the target function, and ARGS is the argument when it is called."
(when (fboundp 'git-command)
(define-key ctl-x-map "g" 'git-command))

(when (fboundp 'gited-list)
(defalias 'gited 'gited-list))
;; (when (fboundp 'gited-list)
;; (defalias 'gited 'gited-list))
(when (fboundp 'counsel-git-checkout)
(defalias 'my-git-si 'counsel-git-checkout))

(when (and (eval-and-compile (require 'git-commit nil t))
(fboundp 'global-git-commit-mode))


Loading…
取消
儲存