소스 검색

Add gited-list keybind

master
10sr 5 년 전
부모
커밋
eb7b1d237e
로그인 계정: 10sr GPG 키 ID: 7BEC428194130EB2
1개의 변경된 파일8개의 추가작업 그리고 5개의 파일을 삭제
  1. +8
    -5
      emacs.el

+ 8
- 5
emacs.el 파일 보기

@@ -907,7 +907,7 @@ found, otherwise returns nil."
(lambda ()
(setq imenu-generic-expression
`(("Sections" ";;;\+\n;; \\(.*\\)\n" 1)
,@imenu-generic-expression))))
,@imenu-generic-expression))))

(with-eval-after-load 'compile
(defvar compilation-filter-start)
@@ -986,6 +986,9 @@ found, otherwise returns nil."
(when (autoload-eval-lazily 'git-command)
(define-key ctl-x-map "g" 'git-command))

(when (autoload-eval-lazily 'gited)
(define-key ctl-x-map (kbd "C-g") 'gited-list))

(when (safe-require-or-eval 'git-commit)
(global-git-commit-mode 1))
(with-eval-after-load 'git-commit
@@ -1748,8 +1751,8 @@ and search from projectile root (if projectile is available)."
(safe-require-or-eval 'projectile)
(projectile-project-p))
(projectile-with-default-dir (projectile-project-root)
(compilation-start command-args
'grep-mode))
(compilation-start command-args
'grep-mode))
(compilation-start command-args
'grep-mode)))

@@ -1767,8 +1770,8 @@ and search from projectile root (if projectile is available)."
(if (safe-require-or-eval 'projectile)
(projectile-with-default-dir (or (projectile-project-root)
default-directory)
(compilation-start command-args
'grep-mode))
(compilation-start command-args
'grep-mode))
(compilation-start command-args
'grep-mode))))



불러오는 중...
취소
저장