 ;; makefile has its issues
 (add-hook 'makefile-mode-hook 'usetabs)
 ;; insert literal tab
-(global-set-key (kbd "<C-tab>") (lambda () (interactive)
+(bind-key "<C-tab>" (lambda () (interactive)
                                   (insert "\t")))
 
-;; automatically indent on return, except in a few modes that have similar stuff by default
-;; automatically indent on return
-(use-package electric
+
+(use-package electric                   ; automatically indent on return
   :config
   (electric-indent-mode 1))
 

                      (,(kbd "<C-down-mouse-2>") facemenu-menu)
                      (,(kbd "<S-down-mouse-1>") mouse-appearance-menu)
                      (,(kbd "C-x C-t") transpose-lines)
                      (,(kbd "C-x C-q") read-only-mode)
                      (,(kbd "C-x C-o") delete-blank-lines)
                      (,(kbd "C-x C-n") set-goal-column)
                      (,(kbd "C-x TAB") indent-rigidly)

  (midnight-delay-set 'midnight-delay 0))

;; unique names
(use-package uniquify
  :config
  (setq uniquify-buffer-name-style 'reverse)
  (setq uniquify-separator "/")
  (setq uniquify-after-kill-buffer-p t)   ; rename after killing uniquified
  (setq uniquify-ignore-buffers-re "^\\*") ; don't muck with special buffers
  )


;; indentation
(setq-default tab-width 2)
(bind-key "C-c i" 'indent-region)

;; don't use tabs normally, except for a few special modes
(setq-default indent-tabs-mode nil)
