 (icomplete-mode t) ;; constantly updating completions in the mini buffer
 (global-linum-mode 0) ;; disable line number column
 
-(and
- (require 'centered-cursor-mode)
- (global-centered-cursor-mode +1))
+;;(and ;; need to replace this with scrolling with arrows while holding C-S
+;; (require 'centered-cursor-mode)
+;; (global-centered-cursor-mode +1))
 
 (set-face-attribute 'default nil
 	:weight 'normal 

(global-set-key (kbd "C-<next>") 'previous-buffer) ;; page down

(global-set-key (kbd "C-f") 'isearch-forward)
(global-set-key (kbd "C-s") 'save-buffer)
(global-set-key (kbd "C-w") 'kill-this-buffer)
(global-set-key (kbd "C-b") 'ido-switch-buffer)

(global-set-key (kbd "C-<delete>") 'kill-word)

(global-set-key (kbd "C-<tab>") 'other-window)

(global-set-key (kbd "M-1") 'delete-other-windows)


(defun scroll-down-in-place (n)
  (interactive "p")
  (previous-line n)
  (scroll-down n))

(defun scroll-up-in-place (n)
  (interactive "p")
  (next-line n)
  (scroll-up n))

;;(global-set-key [mouse-4] 'scroll-down-in-place)
;;(global-set-key [mouse-5] 'scroll-up-in-place)
(global-set-key [C-up] 'scroll-down-in-place)
(global-set-key [C-down] 'scroll-up-in-place)