Skip to content

anonymous /gist:4384294
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
;; 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 http://www.emacswiki.org/emacs/IndentingPerl
; 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
Something went wrong with that request. Please try again.