Browse Source

Add my-git-si alias

master
10sr 3 months ago
parent
commit
98eecef8f2
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      emacs.el

+ 4
- 2
emacs.el View File

@@ -1889,8 +1889,10 @@ ORIG-FUNC is the target function, and ARGS is the argument when it is called."
(when (fboundp 'git-command) (when (fboundp 'git-command)
(define-key ctl-x-map "g" '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)) (when (and (eval-and-compile (require 'git-commit nil t))
(fboundp 'global-git-commit-mode)) (fboundp 'global-git-commit-mode))


Loading…
Cancel
Save