   (csetq eshell-ls-dired-initial-args (quote ("-h")))
   (csetq eshell-ls-exclude-regexp "~\\'")
   (csetq eshell-ls-initial-args "-h")
-  ;; (csetq eshell-prompt-function (lambda ()
-  ;;                                 (concat
-  ;;                                  (abbreviate-file-name
-  ;;                                   (eshell/pwd))
-  ;;                                  (if (= (user-uid) 0) " # " " $ "))))
-  ;; (csetq eshell-rebind-keys-alist
-  ;;   (quote
-  ;;    (([(control 97)]
-  ;;      . eshell-bol)
-  ;;     ([home]
-  ;;      . eshell-bol)
-  ;;     ([(control 100)]
-  ;;      . eshell-delchar-or-maybe-eof)
-  ;;     ([backspace]
-  ;;      . eshell-delete-backward-char)
-  ;;     ([delete]
-  ;;      . eshell-delete-backward-char))))
   (csetq eshell-stringify-t nil))
 
 (use-package esh-module

  :init
  (csetq gdb-many-windows t))

;; (use-package helm
;;   :diminish
;;   :demand
;;   :bind (([remap execute-extended-command] . #'helm-M-x)
;;          ([remap find-file] . #'helm-find-files)
;;          ([remap imenu] . #'helm-imenu)
;;          ([remap switch-to-buffer] . #'helm-mini)
;;          ([remap yank-pop] . #'helm-show-kill-ring)
;;          ("C-c h" . #'helm-command-prefix)
;;          ("C-h SPC" . #'helm-all-mark-rings)
;;          :map minibuffer-local-map
;;          ("C-c C-l" . #'helm-minibuffer-history)
;;          :map helm-map
;;          ("<tab>" . #'helm-execute-persistent-action)
;;          ("C-i" . #'helm-execute-persistent-action)
;;          ("C-z" . #'helm-select-action))
;;   :hook (helm-minibuffer-set-up . helm-hide-minibuffer-maybe)
;;   :init
;;   (require 'helm-config)

;;   ;; Display in own frame
;;   ;; (csetq helm-display-function 'helm-display-buffer-in-own-frame)
;;   ;; (csetq helm-display-buffer-reuse-frame t)
;;   ;; (csetq helm-use-undecorated-frame-option t)

;;   (setq helm-autoresize-max-height 20)
;;   (setq helm-autoresize-min-height 20)

;;   (csetq helm-echo-input-in-header-line t)
;;   (csetq helm-ff-file-name-history-use-recentf t)
;;   (csetq helm-net-prefer-curl t)
;;   (csetq helm-split-window-inside-p t)

;;   :config
;;   (helm-mode t)
;;   (helm-autoresize-mode t))

;; (use-package helm-projectile
;;   :after helm
;;   :config
;;   (helm-projectile-on))

;; (use-package helm-descbinds
;;   :after helm
;;   :config
;;   (helm-descbinds-mode t))

(use-package hexl
  :if (< emacs-major-version 27)
  :ensure nil
  :init
  (csetq hexl-bits 8))

(use-package highlight-indent-guides
  :disabled
  :diminish
  :hook (prog-mode . highlight-indent-guides-mode)
  :init
  (csetq highlight-indent-guides-method 'character)
  (csetq highlight-indent-guides-character ?\|))

(use-package highlight-symbol
  :diminish

  "Set the VARIABLE to VALUE, but use `set-default' if needed."
  `(funcall (or (get ',variable 'custom-set) 'set-default) ',variable ,value))

(csetq gc-cons-threshold (* 10 gc-cons-threshold))

;; Apparently, when using default values, the input lag and hangs disappears
;; (csetq gc-cons-threshold (* 384 1024 1024))
