   (evil-define-key 'normal project-explorer-mode-map (kbd "o") 'pe/return)
   (evil-define-key 'normal project-explorer-mode-map (kbd "c") 'pe/create-file)
   (evil-define-key 'normal project-explorer-mode-map (kbd "d") 'pe/delete-file))
+
+(use-package smartparens
+  :commands (smartparens-mode)
+  :init (add-hook 'prog-mode-hook 'smartparens-mode))
 
 (use-package pomodoro
   :init (add-hook 'after-init-hook 'pomodoro-add-to-mode-line)

  (global-set-key (kbd "<C-return>") 'my/open-line-below)
  (global-set-key (kbd "<S-return>") 'my/open-line-above)
  (global-set-key (kbd "s-k") 'evil-scroll-line-up)
  (global-set-key (kbd "s-j") 'evil-scroll-line-down)
  (define-key isearch-mode-map (kbd "C-p") 'isearch-repeat-backward)
  (define-key isearch-mode-map (kbd "C-n") 'isearch-repeat-forward))

(defun my/save-buffers-and-goes-to-normal-mode ()
  (interactive)

    (evil-leader/set-key
     "o" 'fzf
     "r" 'isearch-backward
     "s" 'isearch-forward
     "en" 'my/next-error))

  (use-package evil-visualstar
    :config (global-evil-visualstar-mode t))
