This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/contrib/pcre2el/packages.el

35 lines
882 B
EmacsLisp
Raw Normal View History

(setq pcre2el-packages
'(
pcre2el
))
(defun pcre2el/init-pcre2el ()
(use-package pcre2el
:defer t
:commands rxt-fontify-regexp-at-point
:init
(progn
;;
(spacemacs/declare-prefix "R" "pcre2el")
(evil-leader/set-key
"R/" 'rxt-explain
"Rc" 'rxt-convert-syntax
"Rx" 'rxt-convert-to-rx
"R'" 'rxt-convert-to-strings
"Rpe" 'rxt-pcre-to-elisp
"R%" 'pcre-query-replace-regexp
"Rpx" 'rxt-pcre-to-rx
"Rps" 'rxt-pcre-to-sre
"Rp'" 'rxt-pcre-to-strings
"Rp/" 'rxt-explain-pcre
"Re/" 'rxt-explain-elisp
"Rep" 'rxt-elisp-to-pcre
"Rex" 'rxt-elisp-to-rx
"Res" 'rxt-elisp-to-sre
"Re'" 'rxt-elisp-to-strings
"Ret" 'rxt-toggle-elisp-rx
"Rt" 'rxt-toggle-elisp-rx
"Rh" 'rxt-fontify-regexp-at-point))))