   (tool-bar-mode 0)                                           ; no tool bar (tool-bar)
   (scroll-bar-mode 0)                                         ; no scroll bar (scroll-bar)
   (mouse-avoidance-mode 'animate)                             ; move mouse pointer out of way (avoid)
-  (global-eldoc-mode -1)                                      ; turn off annoying eldoc mode (eldoc)
   (fset 'yes-or-no-p 'y-or-n-p)                               ; change stupid default y/n? y
   (electric-indent-mode +1)                                   ; turn on electric mode globally (electric)
   (delete-selection-mode t)                                   ; pastes delete selection

  :demand)

;; built-in eldoc mode
(use-package eldoc-mode
  :ensure nil
  :general
  ("<f10> e" #'eldoc-mode))


  (push '("*Completions*" :stick t :noselect t) popwin:special-display-config)
  (push '(Man-mode :stick t :height 20) popwin:special-display-config)
  (push '("*undo-tree*" :stick t :width 60 :position right) popwin:special-display-config)
  (push '("*eldoc*" :width 60 :position right :noselect t) popwin:special-display-config)
  (push '("*General Keybindings*" :width 120 :position right) popwin:special-display-config)
  (popwin-mode 1)
  :defer 2)
