 ;;; Cursor
 ;; Change cursor color according to mode:
 ;;   read-only buffer / overwrite / regular (insert) mode
-(blink-cursor-mode -1) ; Don't blink the cursor, it's distracting!
+(blink-cursor-mode -1)                ;Don't blink the cursor, it's distracting!
 
 (defvar hcz-set-cursor-color-color "")
 (defvar hcz-set-cursor-color-buffer "")

        (when (null menu-bar-mode)
          (set-frame-size nil bkp--frame-text-width-px bkp--frame-text-height-px :pixelwise))))
    (bind-key "<f2>" #'modi/toggle-menu-bar modi-mode-map)
    (key-chord-define-global "2w" #'modi/toggle-menu-bar))) ; alternative to F2

;;;; Tool bar
(if (fboundp 'tool-bar-mode)   (tool-bar-mode -1)) ; do not show the tool bar with icons on the top
(>=e "25.0"
    ;; Do not resize the frame when toggling `tool-bar-mode'
    (add-to-list 'frame-inhibit-implied-resize 'tool-bar-lines))

;;;; Scroll bar
(if (fboundp 'scroll-bar-mode) (scroll-bar-mode -1)) ; disable the scroll bars

;;; Themes
;;                     THEME-NAME      DARK   FCI-RULE-COLOR

;;  Prettify symbols

;;; Variables
(setq inhibit-startup-message t)     ;No splash screen at startup
(setq scroll-step 1)                 ;Scroll 1 line at a time
(setq tooltip-mode nil)              ;Disable tooltip appearance on mouse hover
(setq frame-resize-pixelwise t)      ;Allow frame size to inc/dec by a pixel
(setq visible-bell t)    ;Enable visible bell or screen blink to happen on error
(setq-default fill-column 80)           ;Default 70

(defun modi/is-font (fontname)
  "Return non-nil if the default font matches FONTNAME."
