10

GitHub - tomekw/doom-parents: A set of Doom Emacs mappings for manipulating pare...

 3 years ago
source link: https://github.com/tomekw/doom-parents
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

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)

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. Raise sexp

    SPC - c -p - r

  5. Push parenthesis to the right

    SPC - c -p - > - )

  6. Push parenthesis to the left

    SPC - c -p - < - (

  7. Pull parenthesis from the right

    SPC - c -p - < - )

  8. Pull parenthesis from the left

    SPC - c -p - > - (


Recommend

  • 115

    unimpaired.vim Much of unimpaired.vim was extracted from my vimrc when I noticed a pattern: complementary pairs of mappings. They mostly fall into four categories. There are mappings which are simply short normal mode aliases for...

  • 77

    clever-f.vim clever-f.vim extends f, F, t and T ma...

  • 99
    • Github github.com 7 years ago
    • Cache

    FAQ · hlissner/doom-emacs Wiki · GitHub

    GitHub is where people build software. More than 28 million people use GitHub to discover, fork, and contribute to over 80 million projects.

  • 30

    Migrating To Doom Emacs15 Mar 2020Yesterday, I spent some time migrating my vanilla Emacs configuration to Doom Emacs. The whole process took me...

  • 16
    • xiaozhou.net 4 years ago
    • Cache

    从Spacemacs迁移到Doom Emacs

    从Spacemacs迁移到Doom Emacs 发表于 2020-03-26 | 分类于 技术控 | 2 Com...

  • 9
    • www.erichgrunewald.com 3 years ago
    • Cache

    Setting Up Gmail in Doom Emacs using mbsync and mu4e

    Setting Up Gmail in Doom Emacs using mbsync and mu4e I can think of far better ways to spend a quiet Sunday afternoon than trying to get Doom Emacs to serve as an email client, but...

  • 17

    Clojure and Doom Emacs on a brand new M1 computerI've recently landed my first Clojure position and received an m1-powered MacBook. Two months before that, I had also bought myself an m1 MacBook air and had to set up Clojure to use i...

  • 18
    • hsingko.github.io 3 years ago
    • Cache

    在doom emacs中安装emacs-rime

    最近看了《子弹笔记法》,又想要折腾GTD工作法了。为什么起这个念头呢?那是因为2020都快结束了,而年初的计划根本就没有实现啊,感觉又白白浪费了一年,而我的青春已经所剩无几了(甚至到了连说“青春”两个字都要厚着脸皮的地步)。看了这本书之后,我决心要通...

  • 36
    • hsingko.github.io 3 years ago
    • Cache

    在 Doom Emacs 中抢先体验 Org-roam V2

    在 2021-07-17 org-roam v2 已经正式合并到master分支,已经不用再像本文一样折腾了。 写在前面# org-...

  • 8
    • spin.atomicobject.com 1 year ago
    • Cache

    Configure Doom Emacs as an Email Client

    I recently spent some time configuring Doom Emacs to be my email client. It took a lot of trial and error, but I finally have a working configuration. Why did I do this? Because the Emacs...

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK