   (projectile-global-mode))
 (use-package helm-projectile
   :ensure t)
-;; TRAMP fix
-(setq remote-file-name-inhibit-cache nil)
-(setq vc-ignore-dir-regexp
-      (format "%s\\|%s"
-              vc-ignore-dir-regexp
-              tramp-file-name-regexp))
-(setq tramp-verbose 1)
-
-;; Show matching parens
-(setq show-paren-delay 0)
-(show-paren-mode 1)
 
 ;; Disable backup files
 (setq make-backup-files nil) ; stop creating backup~ files

  (setq evil-normal-state-cursor 'box)  ; █
  (setq evil-insert-state-cursor 'bar)  ; ⎸
  (setq evil-emacs-state-cursor  'hbar))
;;  :config  ; _
;; (unless (display-graphic-p)
;;   ;; (require 'evil-terminal-cursor-changer)
;;   (evil-terminal-cursor-changer-activate)))
;; (add-hook 'after-init )

;; Theme
(use-package doom-themes
  :ensure t
  :init
  (setq
   doom-themes-enable-bold nil   ; if nil, bold is universally disabled
   doom-themes-enable-italic t)  ; if nil, italics is universally disabled
  :config
  (load-theme 'doom-tomorrow-night t))
;; modeline theme
(use-package doom-modeline
  :ensure t
  :hook (after-init . doom-modeline-mode)
  :init
  (set-face-attribute 'mode-line nil
                      :background "#353535")
  (set-face-attribute 'mode-line-inactive nil
                      :background "#131313")
  (setq doom-modeline-height 15))

;; Helm
(use-package helm

        helm-autoresize-min-height 20)
  :config
  (helm-mode 1))

(add-hook 'helm-after-initialize-hook
          (lambda()
            (define-key helm-map (kbd "TAB") 'helm-execute-persistent-action)
            (define-key helm-map (kbd "<tab>") 'helm-execute-persistent-action)
            (define-key helm-map (kbd "C-z") 'helm-select-action)))

;; VTerm
(add-to-list 'load-path "~/projects/emacs/emacs-libvterm")
(require 'vterm)
(unless (display-graphic-p)
  (define-key vterm-mode-map [up]    '(lambda () (interactive) (vterm-send-key "<up>")))
  (define-key vterm-mode-map [down]  '(lambda () (interactive) (vterm-send-key "<down>")))
  (define-key vterm-mode-map [right] '(lambda () (interactive) (vterm-send-key "<right>")))
  (define-key vterm-mode-map [left]  '(lambda () (interactive) (vterm-send-key "<left>")))
  (define-key vterm-mode-map [tab]   '(lambda () (interactive) (vterm-send-key "<tab>")))
  (define-key vterm-mode-map (kbd "DEL") '(lambda () (interactive) (vterm-send-key "<backspace>")))
  (define-key vterm-mode-map (kbd "RET") '(lambda () (interactive) (vterm-send-key "<return>"))))
;; Vterm theme
;; (set-face-attribute 'v-term-color-default-bg
;;                     :background "#1d1f21"
;;                     :foreground "#c5c8c6")


;; macOS specific
(let ((is-mac (string-equal system-type "darwin")))
