;;; -*- lexical-binding: t; -*-

(require 'syd/base)

(setq
 ;; Always ask "y/n"; never "yes/no".
 use-short-answers t
 ;; Allow new minibuffers to be opened from inside existing minibuffers.
 enable-recursive-minibuffers t)

;; Up/down with 'C-k'/'C-j'.
(general-def
  :keymaps '(minibuffer-local-map minibuffer-mode-map read--expression-map)
  "C-k" #'previous-history-element
  "C-j" #'next-history-element)

(provide 'syd/minibuffer)
