 (csetq flyspell-issue-message-flag nil)
 (csetq flyspell-use-meta-tab nil)
 
-(defun minibuffer-keyboard-quit ()
-  "Abort recursive edit.
-In Delete Selection mode, if the mark is active, just deactivate it;
-then it takes a second \\[keyboard-quit] to abort the minibuffer."
-  (interactive)
-  (if (and delete-selection-mode transient-mark-mode mark-active)
-      (setq deactivate-mark t)
-    (when (get-buffer "*Completions*") (delete-windows-on "*Completions*"))
-    (abort-recursive-edit)))
-
 (defun hide-trailing-whitespace ()
   "Used for hooks to various modes."
   (setq-local show-trailing-whitespace nil))

  ("C-a" #'user/move-beginning-of-line)
  ("C-e" #'move-end-of-line))

(general-define-key
 :keymaps 'completion-list-mode-map
 "C-n" #'next-completion

  "Hook to run when exiting the minibuffer."
  (csetq gc-cons-threshold user/gc-cons-threshold))

;; Increase the memory while in the minibuffer
(add-hook 'minibuffer-setup-hook #'user/minibuffer-setup-hook)
(add-hook 'minibuffer-exit-hook #'user/minibuffer-exit-hook)

(with-eval-after-load 'xref
  (add-to-list 'xref-prompt-for-identifier 'xref-find-references t)
