summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el23
1 files changed, 6 insertions, 17 deletions
diff --git a/init.el b/init.el
index 59c577f..b26e583 100644
--- a/init.el
+++ b/init.el
@@ -40,14 +40,6 @@
(set-background-color "#181818")
-;; smart mode line
-(setq sml/theme 'respectful)
-(sml/setup)
-
-;; show me where I am, nyan cat!
-(nyan-mode)
-(setq nyan-wavy-trail t)
-(nyan-start-animation)
(require 'visual-regexp-steroids)
(define-key global-map (kbd "C-c r") 'vr/replace)
@@ -144,6 +136,11 @@
(put 'erase-buffer 'disabled nil)
(put 'narrow-to-page 'disabled nil)
+(require 'auto-complete-config)
+(ac-config-default)
+(setq ac-auto-start t)
+(global-auto-complete-mode)
+
;; keep the cursor centered to avoid sudden scroll jumps
(require 'centered-cursor-mode)
@@ -175,6 +172,7 @@
(load "init-magit.el")
(load "init-eshell.el")
(load "init-smex.el")
+(load "init-modeline.el")
(load "init-my-stuff.el")
;; start in fullscreen mode
@@ -184,24 +182,15 @@
(global-set-key (kbd "<C-prior>") 'backward-page)
(global-set-key (kbd "<C-next>") 'forward-page)
-;; show time and date in modeline
-(display-time-mode 1)
-(setq display-time-day-and-date t)
(require 'info+)
(setq Info-fontify-quotations-flag t)
(setq Info-fontify-single-quote-flag t)
-(require 'auto-complete-config)
-(ac-config-default)
-(setq ac-auto-start t)
-(global-auto-complete-mode)
(global-prettify-symbols-mode)
(delete-selection-mode 1) ; delete seleted text when typing
-(column-number-mode 1) ; show column position of point in status bar
-
(global-hl-line-mode 1) ; turn on highlighting current line
(set-face-background 'hl-line "#222")
(set-face-attribute hl-line-face nil :underline nil)