 (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)
(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)


(setq vc-follow-symlinks t)
(setq frame-title-format '("Emacs @ " system-name ": %b %+%+ %f"))
(setq bookmark-save-flag 1)
(setq scroll-margin 2)

	
(custom-set-faces
  ;; custom-set-faces was added by Custom.
