 (global-set-key (kbd "C-b") 'ido-switch-buffer)
 
 (global-set-key (kbd "C-<delete>") 'kill-word)
-
+(global-set-key (kbd "C-\\") 'fixup-whitespace)
 (global-set-key (kbd "C-<tab>") 'other-window)
 
 (global-set-key (kbd "C-M-1") 'kill-buffer-and-window)

                            (mode . gnus-article-mode)
                            (name . "^\\.bbdb$")
                            (name . "^\\.newsrc-dribble")))))))
    (add-hook 'ibuffer-mode-hook
              (lambda ()
                (ibuffer-switch-to-saved-filter-groups "default")))

	
(custom-set-faces

  (next-line n)
  (scroll-up n))

(global-set-key [C-up] 'scroll-down-in-place)
(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."
  (interactive) ; Use (interactive "^") in Emacs 23 to make shift-select work 
  (let ((oldpos (point)))
    (back-to-indentation)
    (and (= oldpos (point))
         (beginning-of-line))))

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



;; Backups
