summaryrefslogtreecommitdiffstats
path: root/.emacs
diff options
context:
space:
mode:
authorGravatar ryuslash2010-07-27 22:07:30 +0200
committerGravatar ryuslash2010-07-27 22:07:30 +0200
commit8090358d7b7228c4a905aaa46c3bdb9b631a1213 (patch)
tree564a065607f55f176561605f42684eb5331607e8 /.emacs
parent827078933d5ebd12d711fe3240aca28b6a0e4086 (diff)
downloaddotfiles-8090358d7b7228c4a905aaa46c3bdb9b631a1213.tar.gz
dotfiles-8090358d7b7228c4a905aaa46c3bdb9b631a1213.zip
.emacs tweaked
added awesome theme
Diffstat (limited to '.emacs')
-rw-r--r--.emacs35
1 files changed, 24 insertions, 11 deletions
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)))