summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dotfiles/emacs67
1 files changed, 0 insertions, 67 deletions
diff --git a/dotfiles/emacs b/dotfiles/emacs
deleted file mode 100644
index 2f2119c..0000000
--- a/dotfiles/emacs
+++ /dev/null
@@ -1,67 +0,0 @@
-;; Extra package repositories
-(require 'package)
-(add-to-list 'package-archives '("tromey" . "http://tromey.com/elpa/"))
-(add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/"))
-(package-initialize)
-
-;; Theme
-(load-theme 'wombat t)
-n(set-default-font "Droid Sans Mono-8")
-(set-default-font "Terminus-8")
-
-;; Hide menu bar, tool bar, and scroll bars
-(menu-bar-mode -1)
-(tool-bar-mode -1)
-(scroll-bar-mode -1)
-
-;; Interactively do shit!
-(require 'ido)
-(ido-mode t)
-(ido-ubiquitous-mode t)
-
-;; Easy window movement
-(require 'windmove)
-(windmove-default-keybindings 'meta)
-
-;; Better buffer naming
-(require 'uniquify)
-
-;; Line numbers are good!
-(global-linum-mode t)
-(column-number-mode t)
-
-;; Highlight matching parens and autopair them
-(show-paren-mode t)
-(require 'autopair)
-(autopair-global-mode t)
-
-;; Auto-completion is sick!
-(require 'auto-complete)
-(global-auto-complete-mode t)
-
-;; K&R style C/C++ code
-(setq indent-tabs-mode nil)
-(setq tab-width 4)
-(setq c-basic-offset 4)
-(setq c-default-style "k&r" -basic-offset)
-
-;; Keybinds
-(global-set-key (kbd "C-c c") 'comment-region)
-(global-set-key (kbd "C-c u") 'uncomment-region)
-
-;; IRC
-(require 'erc)
-(erc-autojoin-mode t)
-(setq erc-autojoin-channels-alist
- '(("rizon.net" "#/g/sicp" "#/g/amedev")
- ("freenode.net" "#mediagoblin" "#libre.fm" "#allegro" "#guile" "#emacs")
- ("gimp.org" "#evolution")))
-(erc-track-mode t)
-(setq erc-track-exclude-types '("JOIN" "NICK" "PART" "QUIT" "MODE" "324" "329" "332" "333" "353" "477"))
-
-;; Join IRC channels
-(defun start-irc ()
- (interactive)
- (erc :server "irc.freenode.net" :port 6667 :nick "davexunit")
- (erc :server "irc.rizon.net" :port 6667 :nick "davexunit"))
-(global-set-key (kbd "C-c i") 'start-irc)