aboutsummaryrefslogtreecommitdiffstats
path: root/_emacs.d/personal/10-config.el
diff options
context:
space:
mode:
Diffstat (limited to '_emacs.d/personal/10-config.el')
-rw-r--r--_emacs.d/personal/10-config.el8
1 files changed, 6 insertions, 2 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)