 ;;
 (setq doom-font (font-spec :family "Fantasque Sans Mono" :size 22 :weight 'semi-light)
       doom-variable-pitch-font (font-spec :family "Fantasque Sans Mono" :size 20))
-; (setq doom-font (font-spec :family "Fira Code" :size 12 :weight 'semi-light)
-;       doom-variable-pitch-font (font-spec :family "Fira Sans" :size 13))
+                                        ; (setq doom-font (font-spec :family "Fira Code" :size 12 :weight 'semi-light)
+                                        ;       doom-variable-pitch-font (font-spec :family "Fira Sans" :size 13))
 ;;
 ;; If you or Emacs can't find your font, use 'M-x describe-font' to look them
 ;; up, `M-x eval-region' to execute elisp code, and 'M-x doom/reload-font' to


      :desc "Rename symbol"
      "r r" (lambda () (interactive)
              (call-interactively 'lsp-rename))

      ;; :desc "Format buffer"
      ;; "b f" (lambda () (interactive)
      ;;         (call-interactively 'lsp-format-buffer))
      )

(after! company
    (setq company-dabbrev-downcase 0)
    (setq company-idle-delay 0))

(setq display-line-numbers-type nil)


;; (define-key evil-normal-state-map (kbd "C-x h f") 'describe-function)
;; (define-key evil-normal-state-map (kbd "C-x h v") 'describe-variable)

                                        ; (define-key evil-normal-state-map (kbd "C-d") 'scroll-up-command)
                                        ; (define-key evil-normal-state-map (kbd "C-u") 'scroll-down-command)

;; Insert mode as well
;; Makes C-e behave same as in Emacs. C-a works out of the box
;; (define-key evil-motion-state-map (kbd "C-e") nil)

(map! :n "<left>"
      (lambda ()
        (interactive)
        (call-interactively 'evil-window-decrease-width)
        (call-interactively 'evil-window-decrease-width)
        (call-interactively 'evil-window-decrease-width)
        (call-interactively 'evil-window-decrease-width)
        (call-interactively 'evil-window-decrease-width)))

(map! :n "<right>"
      (lambda ()
        (interactive)
        (call-interactively 'evil-window-increase-width)
        (call-interactively 'evil-window-increase-width)
        (call-interactively 'evil-window-increase-width)
        (call-interactively 'evil-window-increase-width)
        (call-interactively 'evil-window-increase-width)))

;; (define-key evil-normal-state-map (kbd "<right>") (lambda () (interactive)
;;                                                 (call-interactively 'evil-window-increase-width)
