         (when text (message "%s" text)))))
 
   :general
-  ("C-c f n" #'flymake-goto-next-error)
-  ("C-c f p" #'flymake-goto-prev-error)
-  ("C-c f s" #'flymake-start)
-  ("C-c f f" #'flymake-display-at-point)
+  (:prefix "C-c f"
+   "n" #'flymake-goto-next-error
+   "p" #'flymake-goto-prev-error
+   "s" #'flymake-start
+   "f" #'flymake-display-at-point)
   :init
   (csetq flymake-no-changes-timeout nil)
   (csetq flymake-start-syntax-check-on-newline nil))

  (csetq pipenv-projectile-after-switch-function #'pipenv-projectile-after-switch-extended))

(use-package pyvenv
  :ghook (python-mode-hook #'user/auto-virtualenv)
  :preface
  (defun user/auto-virtualenv ()
    (pyvenv-mode t)

  :init
  (csetq projectile-completion-system 'ivy)
  (csetq projectile-enable-caching t)
  (csetq projectile-sort-order 'recentf)
  (csetq projectile-use-git-grep t)

