Emacs Config

My basic emacs config. Not too interesting, but very nice to wget when I need to start coding on a project that doesnt have a .vimrc yet..

;; .emacs
;; From:http://www.gertschepens.be/emacs-config
;; == Global Options ==

;; Ignore Case in searches
(setq case-fold-search t)

;; == Backup ==

;; Enable backup files.
(setq make-backup-files t)
;; Enable versioning
(setq version-control t)
;; Save all backup file in this directory.
(setq backup-directory-alist (quote ((".*" . "~/.emacs_backups/"))))
;; Number of kept Old versions
(setq kept-old-versions 2)
;; Number of kept New versions
(setq kept-new-versions 3)
;; Delete old versions silently
(setq delete-old-versions t)


;; == Display ==

;; Enable Buffer Fontification
(global-font-lock-mode 1)
;; disable startup message                                                                                                   
(setq inhibit-startup-message t)
;; Show column number at bottom of screen                                                                                    
(column-number-mode 1)
;; alias y to yes and n to no                                                                                                
(defalias 'yes-or-no-p 'y-or-n-p)
;; Disable the Menu bar (Useless without a Mouse - F10 still works)
(menu-bar-mode 0)

And for our downloading convenience; run this in your home dir (cd ~) Look out, this ll replace any existing documents

wget "http://www.gertschepens.be/sites/gertschepens.be/files/emacs." -O .emacs
  • *mouth open in amazement* xbmc just downloaded the subtitles on the fly from some site; who knows WHERE! This is Spectacular software! 18 weeks 11 hours ago
  • Very unrealistic dialogue and plot 18 weeks 21 hours ago

Site QR Code

Use this code at your own peril; I am not responsible for anything that happens to you or your devices. You re a big boy or girl, please do some research before using it if you have any concerns!