 ;; enable mouse
 (xterm-mouse-mode 1)
 
+;;;; Mouse scrolling in terminal emacs
+(unless (display-graphic-p)
+  (global-set-key (kbd "<mouse-4>") 'scroll-down-line)
+  (global-set-key (kbd "<mouse-5>") 'scroll-up-line))
+
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;;;;;         General Emacs Apperance                  ;;;;;
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

    (if (eq (xscheme-region-expression-p point-min (point-max)) 'one)
        (exit-minibuffer)
      (error "input must be a single, complete expression"))))




    (tool-bar-mode -1))
(if window-system
    (scroll-bar-mode -1))
;; (menu-bar-mode -1)
(column-number-mode 1)
(add-hook 'prog-mode-hook 'linum-mode)
;; (setq inhibit-startup-message 't)

(load-theme 'twilight-bright t)

;;parentheses
(show-paren-mode 1)
