         insert-directory-program "/usr/local/bin/gls"
         dired-listing-switches "-aBhl --group-directories-first"))
 
-;; neuter annoying escape key
-(define-key key-translation-map (kbd "ESC") (kbd "C-g"))
-
 ;; replaces unnecessary suspend command
 (global-set-key (kbd "C-z") #'zap-up-to-char)
 

  ([remap occur] . #'helm-occur)
  ([remap switch-to-buffer] . #'helm-buffers-list)
  ([remap recentf-open-files] . #'helm-recentf)
  ([remap yank-pop] . #'helm-show-kill-ring)
  ("C-c s y" . #'helm-show-kill-ring)
  ("C-c s f" . #'helm-find)
  ("C-c s a" . #'helm-do-grep-ag)

	org-preview-latex-image-directory (concat "~/.cache/emacs/" "ltximg")
        org-format-latex-options '( :foreground "Black"
                                    :background "White"
                                    :scale 1.5
                                    :html-foreground "Black"
                                    :html-background "Transparent"
                                    :html-scale 1.0
