   (evil-mode t))
 
 (use-package evil-collection
-  :init
-  (setq
-    evil-collection-setup-minibuffer t
-    evil-collection-company-use-tgn nil)
   :config
   (evil-collection-init))
 

;; save customizations somewhere other than your initialization file
(setq custom-file "~/.emacs-custom.el")
(load custom-file)

(add-to-list 'load-path (expand-file-name "features" user-emacs-directory))

(defvar rc/gc-threshold-increased 402653184)
(defvar rc/gc-percentage-increased 0.6)

(defvar rc/gc-threshold-normal 16777216)
(defvar rc/gc-percentage-normal 0.1)

(defun rc/disable-gc ()
  (setq
    gc-cons-threshold rc/gc-threshold-increased
    gc-cons-percentage rc/gc-percentage-increased))

(defun rc/restore-gc ()
  (setq
    gc-cons-threshold rc/gc-threshold-normal
    gc-cons-percentage rc/gc-percentage-normal))

;; disable GC during startup
(rc/disable-gc)
;; don't keep gc-cons-threshold too high. It helps to stave off the GC while
;; emacs starts up, but afterwards it causes stuttering and random freezes. So
;; Reset it to a reasonable default.
(add-hook 'after-init-hook #'rc/restore-gc)

;; disable garbage collection in minibuffer
;; see: http://tiny.cc/7wd7ay
(add-hook 'minibuffer-setup-hook #'rc/disable-gc)
(add-hook 'minibuffer-exit-hook #'rc/restore-gc)

(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))

(eval-when-compile
  (require 'use-package))

(use-package evil
  :init
  (setq evil-want-integration nil)
