:feature was a "catch-all" category. Many of its modules fit better in other categories, so they've been moved: - feature/debugger -> tools/debugger - feature/evil -> editor/evil - feature/eval -> tools/eval - feature/lookup -> tools/lookup - feature/snippets -> editor/snippets - feature/file-templates -> editor/file-templates - feature/workspaces -> ui/workspaces More potential changes in the future: - A new :term category for terminal emulation modules (eshell, term and vterm). - A new :os category for modules dedicated to os-specific functionality. The :tools macos module would fit here, but so would modules for nixos and arch. - A new :services category for web-service integration, like wakatime, twitter, elfeed, gist and pastebin services.
19 lines
660 B
EmacsLisp
19 lines
660 B
EmacsLisp
;;; editor/parinfer/config.el -*- lexical-binding: t; -*-
|
|
|
|
(def-package! parinfer
|
|
:hook ((emacs-lisp-mode clojure-mode scheme-mode lisp-mode) . parinfer-mode)
|
|
:init
|
|
(setq parinfer-extensions
|
|
'(defaults
|
|
pretty-parens
|
|
smart-tab
|
|
smart-yank))
|
|
(when (featurep! :editor evil +everywhere)
|
|
(push 'evil parinfer-extensions))
|
|
:config
|
|
(map! :map parinfer-mode-map
|
|
"\"" nil ; smartparens handles this
|
|
:i "<tab>" #'parinfer-smart-tab:dwim-right-or-complete
|
|
:i "<backtab>" #'parinfer-smart-tab:dwim-left
|
|
:localleader
|
|
:desc "Toggle parinfer-mode" "m" #'parinfer-toggle-mode))
|