;; Replaces tabs in files with spaces
(setq-default indent-tabs-mode nil)
-;; Display trailing whitespace
-(setq-default show-trailing-whitespace t)
+;; empty: Highlight empty lines
+;; lines-tail: Highlight lines over 80 characters
+;; trailing: Highlight trailing whitespace
+(require 'whitespace)
+(setq whitespace-style '(face empty lines-tail trailing))
+(global-whitespace-mode t)
;; Makes the compilation buffer always scrolls to follow
;; output as it comes in.
;; Map End key to end-of-buffer
(global-set-key "\e[4~" 'end-of-buffer)
+(require 'org)
+(define-key global-map "\C-cl" 'org-store-link)
+(define-key global-map "\C-ca" 'org-agenda)
+(setq org-log-done t)
+
;;===========================================================
;; Key bindings for compiling programs
;;===========================================================