From 8090358d7b7228c4a905aaa46c3bdb9b631a1213 Mon Sep 17 00:00:00 2001 From: ryuslash Date: Tue, 27 Jul 2010 22:07:30 +0200 Subject: .emacs tweaked added awesome theme --- .emacs | 35 ++++++++++++++++++++++++----------- 1 file changed, 24 insertions(+), 11 deletions(-) (limited to '.emacs') diff --git a/.emacs b/.emacs index 88c2afd..c5696fc 100644 --- a/.emacs +++ b/.emacs @@ -1,19 +1,29 @@ +(require 'paren) +(require 'uniquify) + (load-file "~/.emacs.d/include.el") (if (eq system-type 'gnu/linux) ; if we're running linux (load-file "~/.emacs.d/linux/.emacs")) -(setq inhibit-startup-message t) ; don't show welcome -(setq-default indent-tabs-mode nil) ; spaces, no tabs -(tool-bar-mode nil) ; no toolbar -(menu-bar-mode nil) ; no menu -(line-number-mode nil) ; don't show line numbers in splitter -(global-linum-mode t) ; show line numbers in gutter -(column-number-mode t) ; show column numbers in splitter -(color-theme-weirdness) ; my theme -(global-font-lock-mode t) ; always show syntax higlighting, this may - ; be old -(fset 'yes-or-no-p 'y-or-n-p) ; don't want to have to type yes or no +(setq inhibit-startup-message t) ; don't show welcome +(setq-default indent-tabs-mode nil) ; spaces, no tabs +(tool-bar-mode nil) ; no toolbar +(menu-bar-mode nil) ; no menu +(line-number-mode nil) ; don't show line numbers in splitter +(global-linum-mode t) ; show line numbers in gutter +(column-number-mode t) ; show column numbers in splitter +(color-theme-weirdness) ; my theme +(global-font-lock-mode t) ; always show syntax higlighting, this may + ; be old +(fset 'yes-or-no-p 'y-or-n-p) ; don't want to have to type yes or no +(setq require-final-newline t) ; I always get bothered by this with the likes of fstab +(show-paren-mode t) +(setq font-lock-maximum-decoration t) ; denotes our interest in maximum possible fontification +(setq uniquify-buffer-name-style 'reverse) + +;; Keybindings +(global-set-key "\C-m" 'newline-and-indent) ;; Autopair Mode (autopair-global-mode) @@ -27,6 +37,9 @@ ;; C# Mode (setq auto-mode-alist (cons `("\\.cs\\'" . csharp-mode) auto-mode-alist)) +;; Batch Mode +(setq auto-mode-alist (cons `("\\.bat\\'" . batch-mode) auto-mode-alist)) + ;; Autosave location (setq backup-directory-alist `((".*" . ,temporary-file-directory))) -- cgit v1.2.3-54-g00ecf