Skip to content

Instantly share code, notes, and snippets.

@fdelbos
Last active September 27, 2015 06:08
Show Gist options
  • Save fdelbos/1223433 to your computer and use it in GitHub Desktop.
Save fdelbos/1223433 to your computer and use it in GitHub Desktop.
Minimalist Emacs configuration
(setq visible-bell t)
(line-number-mode 1)
(column-number-mode 1)
(global-font-lock-mode t)
(setq font-lock-maximum-size nil)
(setq-default transient-mark-mode t)
(menu-bar-mode -1)
(setq backup-inhibited t)
(setq auto-save-default nil)
(setq inhibit-startup-message t)
(load-library "paren")
(show-paren-mode 1)
(transient-mark-mode t)
(setq make-backup-files nil
backup-inhibited t)
(fset 'yes-or-no-p 'y-or-n-p)
(setq next-line-add-newlines nil)
(display-time)
(setq user-full-name "Frederic DELBOS - [email protected]")
(setq user-mail-address "[email protected]")
(global-set-key (read-kbd-macro "<f8>") 'delete-trailing-whitespace)
(global-set-key (read-kbd-macro "<f9>") 'comment-region)
(global-set-key (read-kbd-macro "<f10>") 'uncomment-region)
(setq-default tab-width 4)
(setq show-trailing-whitespace t)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment