 ;; Mark and edit occurrences
 (use-package iedit)
 
+(use-package pcre2el
+  :config
+  (with-eval-after-load 'which-key
+    (which-key-add-key-based-replacements "C-c /" "PCRE")))
+
 ;; Construct regexp and search visually and incrementally
 (use-package visual-regexp-steroids
   :bind (("M-%"   . vr/replace)

(use-package which-key
  :delight
  :bind (("C-h b" . which-key-show-top-level)
         ("C-h m" . which-key-show-major-mode)))

;; Visual alignment
(use-package ialign

  :config
  (projectile-mode 1)
  (with-eval-after-load 'project
    (add-to-list 'project-find-functions 'projectile-project-find-function))
  (with-eval-after-load 'which-key
    (which-key-add-key-based-replacements "C-c p" "projectile")
    (which-key-add-keymap-based-replacements projectile-command-map
      "4" "projectile-other-window"
      "5" "projectile-other-frame"
      "x" "projectile-run"
      "s" "projectile-search")))

(use-package projectile-rails
  :after projectile
