      (format "%s Saved %s" (danylo/fa-icon "database") this-file-name))
     ))
 (advice-add 'save-buffer :around #'danylo/save-buffer)
+
+;;;; Minibuffer yes/no query confirm with enter
+(fset 'yes-or-no-p 'y-or-n-p)
+(defun danylo/y-or-n-p-with-return (orig-func &rest args)
+  "Confirm 'yes' query in minibuffer using RET."
+  (let ((query-replace-map (copy-keymap query-replace-map)))
+    (define-key query-replace-map (kbd "RET") 'act)
+    (apply orig-func args)))
+(advice-add 'y-or-n-p :around #'danylo/y-or-n-p-with-return)
 
 ;; Better start screen
 (use-package dashboard

         (comint-mode . company-mode)
         (LaTeX-mode . company-mode)
         (sh-mode . company-mode)
         (css-mode . company-mode)
         (html-mode . company-mode))
  :bind (("S-<return>" . company-complete))
  :init
  (setq company-dabbrev-downcase 0

         ("\\.markdown\\'" . markdown-mode))
  :init (setq markdown-command "multimarkdown")
  (add-hook 'markdown-mode-hook
            (lambda ()
              (filladapt-mode -1)
              (setq-local markdown-enable-math t)))
  (sp-local-pair 'markdown-mode "%" "%")
  (sp-local-pair 'markdown-mode "$" "$" :insert "C-c f e")
  (sp-local-pair 'markdown-mode "$$" "$$" :insert "C-c f d e"))

;;; ..:: Bash ::..

