Skip to content

Latest commit

 

History

History
63 lines (35 loc) · 897 Bytes

README.md

File metadata and controls

63 lines (35 loc) · 897 Bytes

doom-parents

A set of Doom Emacs mappings for manipulating parentheses and sexps

Installation

;; ~/.doom.d/packages.el

(package! doom-parents
  :recipe (:host github :repo "tomekw/doom-parents"))

;; ~/.doom.d/config.el

(use-package! doom-parents)

and then:

$ doom sync

Usage

  1. Wrap sexp in round parentheses

    SPC - c -p - (

  2. Wrap sexp in square parentheses

    SPC - c -p - [

  3. Wrap sexp in curly parentheses

    SPC - c -p - {

  4. Copy sexp

    SPC - c -p - y

  5. Kill sexp

    SPC - c -p - d

  6. Raise sexp

    SPC - c -p - r

  7. Push parenthesis to the right

    SPC - c -p - > - )

  8. Push parenthesis to the left

    SPC - c -p - < - (

  9. Pull parenthesis from the right

    SPC - c -p - < - )

  10. Pull parenthesis from the left

    SPC - c -p - > - (