 (use-package general
   :ensure t
   :config (general-define-key
-    :states '(normal visual insert emacs)
-    :prefix "SPC"
-    :non-normal-prefix "M-SPC"
-   ;; "/"   '(counsel-rg :which-key "ripgrep") ; You'll need counsel package for this
-    "TAB" '(switch-to-prev-buffer :which-key "previous buffer")
-    "SPC" '(helm-M-x :which-key "M-x")
-    "ff"  '(helm-find-files :which-key "find files")
-    "pf"  '(helm-projectile-find-file :which-key "find project files")
-    "pp"  '(helm-projectile-switch-project :which-key "choose project")
-    ;; Buffers
-    "bb"  '(helm-buffers-list :which-key "buffers list")
-    ;; Window
-    "wl"  '(windmove-right :which-key "move right")
-    "wh"  '(windmove-left :which-key "move left")
-    "wk"  '(windmove-up :which-key "move up")
-    "wj"  '(windmove-down :which-key "move down")
-    "w/"  '(split-right :which-key "split right")
-    "w-"  '(split-down :which-key "split down")
-    "wx"  '(delete-window :which-key "delete window")
-    ;; Others
-    "at"  '(ansi-term :which-key "open terminal")
-    ;; Git
-    "g"   '(magit-status :which-key "magit status")
-    ;; Editing
-    "cc" '(comment-or-uncomment-region :which-key "comment code")
-    "cf" '(my-lsp-format :which-key "format code")
-    ))
+           :states '(normal visual insert emacs)
+           :prefix "SPC"
+           :non-normal-prefix "M-SPC"
+           ;; "/"   '(counsel-rg :which-key "ripgrep") ; You'll need counsel package for this
+           "TAB" '(switch-to-prev-buffer :which-key "previous buffer")
+           "SPC" '(helm-M-x :which-key "M-x")
+           "ff"  '(helm-find-files :which-key "find files")
+           "pf"  '(helm-projectile-find-file :which-key "find project files")
+           "pp"  '(helm-projectile-switch-project :which-key "choose project")
+           ;; Buffers
+           "bb"  '(helm-buffers-list :which-key "buffers list")
+           ;; Window
+           "wl"  '(windmove-right :which-key "move right")
+           "wh"  '(windmove-left :which-key "move left")
+           "wk"  '(windmove-up :which-key "move up")
+           "wj"  '(windmove-down :which-key "move down")
+           "w/"  '(split-right :which-key "split right")
+           "w-"  '(split-down :which-key "split down")
+           "wx"  '(delete-window :which-key "delete window")
+           ;; Others
+           "at"  '(ansi-term :which-key "open terminal")
+           ;; Git
+           "g"   '(magit-status :which-key "magit status")
+           ;; Editing
+           "cc" '(comment-or-uncomment-region :which-key "comment code")
+           "cf" '(my-lsp-format :which-key "format code")
+           ))
 
 ;; macOS specific
 (let ((is-mac (string-equal system-type "darwin")))

  :ensure t
  :init
  (setq helm-M-x-fuzzy-match t
    helm-mode-fuzzy-match t
    helm-buffers-fuzzy-matching t
    helm-recentf-fuzzy-match t
    helm-locate-fuzzy-match t
    helm-semantic-fuzzy-match t
    helm-imenu-fuzzy-match t
    helm-completion-in-region-fuzzy-match t
    helm-candidate-number-list 150
    helm-split-window-in-side-p t
    helm-move-to-line-cycle-in-source t
    helm-echo-input-in-header-line t
    helm-autoresize-max-height 0
    helm-autoresize-min-height 20)
  :config
  (helm-mode 1))
(add-hook 'helm-after-initialize-hook

  (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 )

