Create a gist now

Instantly share code, notes, and snippets.

anonymous /gist:4384294
Created Dec 27, 2012

What would you like to do?
;; startup
(add-to-list 'load-path "~/emacs")
(setq inhibit-startup-message t)
(setq confirm-kill-emacs (quote y-or-n-p))
;; General settings
(setq indent-tabs-mode nil)
(setq line-number-mode t)
(setq column-number-mode t)
(setq require-final-newline nil)
(setq display-buffer-reuse-frames t)
(when (boundp 'osx-key-mode-map)
(define-key osx-key-mode-map (kbd "A-w") 'kill-this-buffer)
; Keep emacs from pooping backup files all over the place
(setq make-backup-files nil)
;; diff
(setq diff-switches "-u")
;;; perl ;;;
; See
; cperl-mode is preferred to perl-mode
(defalias 'perl-mode 'cperl-mode)
(setq cperl-indent-level 4 ; 4 character indents
cperl-indent-parens-as-block t ; indent parens like blocks
cperl-continued-statement-offset 2
cperl-continued-brace-offset 0
cperl-close-paren-offset -4
cperl-tabs-always-indent nil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment