about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <vincent@spotify.com>2013-07-14T22·02+0200
committerVincent Ambo <vincent@spotify.com>2013-07-14T22·02+0200
commita5f4b2f479f12eacb4a7e2b52d2c7866cb58bb9c (patch)
tree98947ce7851cc8f5a4c71b978ad743870523b3da
parentdc0e8b98715ece0a574c3e28dff0af65b9a28229 (diff)
emacs: Nyan cat mode!
-rw-r--r--emacs.d/init-modes.el2
-rw-r--r--emacs.d/init-settings.el6
-rw-r--r--emacs.d/init.el11
3 files changed, 16 insertions, 3 deletions
diff --git a/emacs.d/init-modes.el b/emacs.d/init-modes.el
index 2c07032c5bf6..74178b1e8463 100644
--- a/emacs.d/init-modes.el
+++ b/emacs.d/init-modes.el
@@ -46,3 +46,5 @@
 ;; Always highlight matching brackets
 (show-paren-mode 1)
 
+;; Enable Nyan mode
+(nyan-mode 1)
diff --git a/emacs.d/init-settings.el b/emacs.d/init-settings.el
index d963c8288222..b4ad1c20955c 100644
--- a/emacs.d/init-settings.el
+++ b/emacs.d/init-settings.el
@@ -99,6 +99,12 @@ comment as a filename."
 
 (set-default-font "Source Code Pro 13")
 
+;; Don't make the nyan cat too long ... I have other stuff in the mode
+;; bar as well!
+(set-variable 'nyan-bar-length 15)
+;; Not the real deal without this ...
+(set-variable 'nyan-wavy-trail t)
+
 ;; Hiding JOIN, QUIT, PART
 (setq erc-hide-list '("JOIN" "PART" "QUIT"))
 
diff --git a/emacs.d/init.el b/emacs.d/init.el
index 8c89496ae9e2..a80eb8133920 100644
--- a/emacs.d/init.el
+++ b/emacs.d/init.el
@@ -40,9 +40,6 @@
 
 
 (load "~/.emacs.d/init-functions.el")
-(load "~/.emacs.d/init-settings.el")
-(load "~/.emacs.d/init-modes.el")
-(load "~/.emacs.d/init-bindings.el")
 
 (setq custom-file "~/.emacs.d/init-custom.el")
 (load custom-file)
@@ -51,6 +48,14 @@
 (custom-download-script "https://raw.github.com/dimitri/switch-window/master/switch-window.el"
                         "switch-window.el")
 
+;; NYAN CAT!
+(custom-clone-git "https://github.com/TeMPOraL/nyan-mode" "nyan-mode")
+(load "~/.emacs.d/nyan-mode/nyan-mode.el")
+
+(load "~/.emacs.d/init-settings.el")
+(load "~/.emacs.d/init-modes.el")
+(load "~/.emacs.d/init-bindings.el")
+
 ;; IRC configuration (erc)
 ;; Actual servers and such are loaded from irc.el
 (load "~/.emacs.d/irc")