Created
December 27, 2012 00:20
-
-
Save anonymous/4384294 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; 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