   ;; some of these need to be run after init file has loaded
   ;; to actually be diminished
   (add-hook 'after-init-hook (lambda ()
-    (diminish 'visual-line-mode)
-    (diminish 'auto-revert-mode)
-    (diminish 'undo-tree-mode))))
+                               (diminish 'auto-revert-mode))))
 
 (use-package dash-functional)
 

(global-unset-key (kbd "<f11>"))                            ; was fullscreen mode

;; Text handling
(global-visual-line-mode t)                                        ; edit visual lines
(setq visual-line-fringe-indicators '(left-curly-arrow nil))

(setq-default tab-width 3                                   ; ideal tab width
              indent-tabs-mode t                            ; enable tabs for most files

(global-set-key (kbd "<f5> <f5>") #'menu-bar-open)
(global-set-key (kbd "<f5> f") #'toggle-frame-fullscreen)

(use-package visual-line
  :ensure nil
  :init
  (setq visual-line-fringe-indicators '(left-curly-arrow nil))
  :config
  (global-visual-line-mode t)                                 ; edit visual lines
  :diminish visual-line-mode)

(use-package smooth-scrolling
  :config
  (smooth-scrolling-mode t)
