   (set-scroll-bar-mode nil))
 
 (blink-cursor-mode -1)
-(set-fringe-mode 0)
-;(hl-line-mode -1)
-;; highlight the current line
-(global-hl-line-mode +1)
+(set-fringe-mode nil)
+
 ;; disable the annoying bell ring
 (setq ring-bell-function 'ignore)
 
 
 (setq mouse-yank-at-point t		; Yank where the point currently is
-      x-select-enable-primary t         ; Yank use the primary selection if available
-      x-select-enable-clipboard t       ; Yank use the clipboard if available
+      select-enable-primary t         ; Yank use the primary selection if available
+      select-enable-clipboard t       ; Yank use the clipboard if available
       save-interprogram-paste-before-kill t ; Put clipboard/selection into kill ring
       x-selection-timeout 10                ; Workaround. See https://debbugs.gnu.org/16737
       echo-keystrokes 0.1               ; Show keystrokes early

;; reduce the frequency of garbage collection by making it happen on
;; each 50MB of allocated data (the default is on every 0.76MB)
(setq gc-cons-threshold 50000000)


(when (fboundp 'tool-bar-mode)
  (tool-bar-mode -1))

(use-package super-save
  :ensure t
  :config
  (setq auto-save-default nil)		  ; switch off the built-in auto-save-mode
  (setq super-save-auto-save-when-idle t) ;;auto-saving buffers when Emacs is idle
  (super-save-mode +1))

(use-package magit
