Merge pull request #670 from ar1a/parinfer
:editor parinfer for lisp editing
This commit is contained in:
commit
63a8c30765
|
@ -43,6 +43,9 @@
|
|||
;unicode ; extended unicode support for various languages
|
||||
vi-tilde-fringe ; fringe tildes to mark beyond EOB
|
||||
window-select ; visually switch windows
|
||||
|
||||
:editor
|
||||
;parinfer ; turn lisp into python, sort of
|
||||
|
||||
:emacs
|
||||
dired ; making dired pretty [functional]
|
||||
|
|
18
modules/editor/parinfer/config.el
Normal file
18
modules/editor/parinfer/config.el
Normal file
|
@ -0,0 +1,18 @@
|
|||
;;; editor/parinfer/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
(def-package! parinfer
|
||||
:hook ((emacs-lisp clojure-mode common-lisp scheme lisp) . parinfer-mode)
|
||||
:init
|
||||
(setq parinfer-extensions
|
||||
'(defaults
|
||||
pretty-parens
|
||||
smart-tab
|
||||
smart-yank))
|
||||
(when (featurep! :feature evil +everywhere)
|
||||
(push 'evil parinfer-extensions))
|
||||
:config
|
||||
(map! :map parinfer-mode-map
|
||||
:i "<tab>" #'parinfer-smart-tab:dwim-right-or-complete
|
||||
:i "<backtab>" #'parinfer-smart-tab:dwim-left
|
||||
:localleader
|
||||
:nv "m" #'parinfer-toggle-mode))
|
4
modules/editor/parinfer/packages.el
Normal file
4
modules/editor/parinfer/packages.el
Normal file
|
@ -0,0 +1,4 @@
|
|||
;; -*- no-byte-compile: t; -*-
|
||||
;;; editor/parinfer/packages.el
|
||||
|
||||
(package! parinfer)
|
Loading…
Reference in New Issue
Block a user