From a5f4b2f479f12eacb4a7e2b52d2c7866cb58bb9c Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Mon, 15 Jul 2013 00:02:08 +0200 Subject: emacs: Nyan cat mode! --- emacs.d/init-modes.el | 2 ++ emacs.d/init-settings.el | 6 ++++++ emacs.d/init.el | 11 ++++++++--- 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") -- cgit 1.4.1