 
 (icomplete-mode t) ;; constantly updating completions in the mini buffer
 (global-linum-mode 0) ;; disable line number column
+(show-paren-mode t) ;; highlight matching parentheses
+(menu-bar-mode nil) ;; disable the menu bar
 
 (set-face-attribute 'default nil
 	:weight 'normal 

(setq tab-width 4)
(setq undo-limit 1000000)
(setq undo-strong-limit 2000000)

	
(custom-set-faces

(global-set-key [C-down] 'scroll-up-in-place)


(defun smart-beginning-of-line ()
  "Move point to first non-whitespace character or beginning-of-line.
Move point to the first non-whitespace character on this line.
If point was already at that position, move point to beginning of line."
  (interactive) ; Use (interactive "^") in Emacs 23 to make shift-select work
  (let ((oldpos (point)))
    (back-to-indentation)
    (and (= oldpos (point))
         (beginning-of-line))))

(global-set-key [home] 'smart-beginning-of-line)


;; Backups

; return a backup file path of a give file path
