diff options
author | David Thompson <dthompson@member.fsf.org> | 2013-07-20 13:11:09 -0400 |
---|---|---|
committer | David Thompson <dthompson@member.fsf.org> | 2013-07-20 13:11:09 -0400 |
commit | 02136bdb25f3dbda7db9e7185166e7cf5ea07291 (patch) | |
tree | b312e2c2d26ee1d89a125fc8bdbdb010bdda628b | |
parent | f442288d494673c2d4b90385b44b16a918c0ba9f (diff) |
Remove emacs config because that has its own repo.
-rw-r--r-- | dotfiles/emacs | 67 |
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) |