aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@gmail.com>2016-02-25 11:09:03 +0800
committerAaron LI <aaronly.me@gmail.com>2016-02-25 11:09:03 +0800
commit87ffd6deb54229bec31ff8750cc410fbb42edc86 (patch)
tree3d53eafcee4b977165d9edad994cb6aba242da22
parentf3b8e8e2dfc0ff303ef5673f81be793b30a92eda (diff)
downloaddotfiles-87ffd6deb54229bec31ff8750cc410fbb42edc86.tar.bz2
_emacs.d/personal: small updates
-rw-r--r--_emacs.d/personal/10-config.el8
-rw-r--r--_emacs.d/personal/50-mu4e.el3
2 files changed, 7 insertions, 4 deletions
diff --git a/_emacs.d/personal/10-config.el b/_emacs.d/personal/10-config.el
index dc0420f..419bf2b 100644
--- a/_emacs.d/personal/10-config.el
+++ b/_emacs.d/personal/10-config.el
@@ -5,6 +5,8 @@
;;
;; Credits:
;; [1] https://github.com/wasamasa/dotemacs/blob/master/init.org
+;; [2] From Vim to Emacs+Evil chaotic migration guide
+;; http://juanjoalvarez.net/es/detail/2014/sep/19/vim-emacsevil-chaotic-migration-guide/
;;
;; Aaron LI
;; 2016-02-24
@@ -25,8 +27,6 @@
;; Prevent kill and yank commands from accessing the clipboard
(setq x-select-enable-clipboard nil)
-(setq fill-column 80)
-
;; Zero out default splitting thresholds
(setq split-height-threshold 0
split-width-threshold 0)
@@ -47,4 +47,8 @@
auto-save-list-file-prefix prelude-autosave-dir)
(setq-default tab-width 4)
+(setq-default fill-column 78)
+
+;; Auto-indent with the Return key
+(define-key global-map (kbd "RET") 'newline-and-indent)
diff --git a/_emacs.d/personal/50-mu4e.el b/_emacs.d/personal/50-mu4e.el
index 955acd0..55f1387 100644
--- a/_emacs.d/personal/50-mu4e.el
+++ b/_emacs.d/personal/50-mu4e.el
@@ -256,7 +256,7 @@
;; also include messages related to the searched messages
(setq mu4e-headers-include-related t)
;; exclude the duplicate messages with the same `Message-ID'
-(setq mu4e-headers-skip-duplicates t)
+;(setq mu4e-headers-skip-duplicates t)
;; confirm before sending
(add-hook 'message-send-hook
@@ -291,4 +291,3 @@
;; set `mu4e' as emacs' default email program
(setq mail-user-agent 'mu4e-user-agent)
-