From: Peng Li Date: Wed, 13 Jul 2016 12:24:26 +0000 (+0800) Subject: emacs - magit and dired X-Git-Url: http://47.100.26.94:8080/?a=commitdiff_plain;h=208982a22a85a3d377490b72e20398afb65f003d;p=dotfiles.git emacs - magit and dired --- diff --git a/emacs.d/config.org b/emacs.d/config.org index ce73187..c19eb3c 100644 --- a/emacs.d/config.org +++ b/emacs.d/config.org @@ -1305,6 +1305,9 @@ and Defined keys, using vi keybindings, Refer abo-abo's setting [[https://github #+BEGIN_SRC emacs-lisp :tangle yes :results silent (use-package magit :ensure t + :init + ;; don't ask me to confirm the unsaved change + (setq magit-save-repository-buffers nil) :commands magit-status magit-blame :config (dolist (map (list magit-status-mode-map @@ -1502,6 +1505,7 @@ Refer [[https://github.com/abo-abo/hydra/blob/master/hydra-examples.el][hydra-ex ("'" mode-line-other-buffer "last buffer" :exit t) ("C-'" mode-line-other-buffer "last buffer" :exit t) ("m" man "man" :exit t) + ("d" dired-jump "dired" :exit t) ("q" nil "quit") ("f" nil "quit"))