Created
September 7, 2011 21:07
-
-
Save pierrel/1201732 to your computer and use it in GitHub Desktop.
minimal .emacs
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
;; taken from http://snarfed.org/minimal_emacs_for_fast_startup | |
; cutoff for word wrap | |
(setq-default fill-column 79) | |
; F12 toggles auto-fill mode | |
(global-set-key [f12] 'auto-fill-mode) | |
; C-- keybinding for undo (removes the shift) | |
(global-set-key [(control -)] 'undo) | |
; turn on pending delete (when a region | |
; is selected, typing replaces it) | |
(delete-selection-mode t) | |
; when on a tab, make the cursor the tab length | |
(setq-default x-stretch-cursor t) | |
; avoid garbage collection (default is only 400k) | |
(setq-default gc-cons-threshold 4000000) | |
; turn on random customization options | |
(custom-set-variables | |
'(sentence-end-double-space nil) | |
'(truncate-partial-width-windows nil) | |
'(line-number-mode t) | |
'(column-number-mode t) | |
'(query-user-mail-address nil) | |
'(visible-bell t)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment