projects
/
dotfiles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
9f6e82f
)
emacs - disable flyspell mode in mode-line and fix magit mapping bug
author
Peng Li
<seudut@gmail.com>
Mon, 11 Jul 2016 04:14:09 +0000
(12:14 +0800)
committer
Peng Li
<seudut@gmail.com>
Mon, 11 Jul 2016 04:14:09 +0000
(12:14 +0800)
emacs.d/config.org
patch
|
blob
|
history
diff --git
a/emacs.d/config.org
b/emacs.d/config.org
index
aebc41c
..
0520fa7
100644
(file)
--- a/
emacs.d/config.org
+++ b/
emacs.d/config.org
@@
-350,6
+350,8
@@
clean mode line, Refer to [[https://www.masteringemacs.org/article/hiding-replac
(auto-revert-mode . "")
;; default is Ind
(org-indent-mode . "")
(auto-revert-mode . "")
;; default is Ind
(org-indent-mode . "")
+ ;; default is Fly
+ (flyspell-mode . "")
;; Major modes
(lisp-interaction-mode . "λ")
(hi-lock-mode . "")
;; Major modes
(lisp-interaction-mode . "λ")
(hi-lock-mode . "")
@@
-1302,7
+1304,8
@@
and Defined keys, using vi keybindings, Refer abo-abo's setting [[https://github
magit-staged-section-map))
(define-key map "j" 'magit-section-forward)
(define-key map "k" 'magit-section-backward)
magit-staged-section-map))
(define-key map "j" 'magit-section-forward)
(define-key map "k" 'magit-section-backward)
- (define-key map "D" 'magit-discard-file)
+ (define-key map "D" 'magit-discard)
+ (define-key map "O" 'magit-discard-file)
(define-key map "n" nil)
(define-key map "p" nil)
(define-key map "v" 'recenter-top-bottom)
(define-key map "n" nil)
(define-key map "p" nil)
(define-key map "v" 'recenter-top-bottom)