public
anonymous / gist:4384294
Created

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
;; 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
)

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.