Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zk-phi/cedit

paredit-like commands for C-like languages
https://github.com/zk-phi/cedit

emacs

Last synced: about 2 months ago
JSON representation

paredit-like commands for C-like languages

Awesome Lists containing this project

README

        

* cedit.el

paredit風のコマンドでC系の言語を編集

paredit-like commands for c-like languages

** Screencast

[[screencast.gif]]

** Usage

Require this script

: (require 'cedit)

then following commands are available.

: cedit-forward-char
: cedit-backward-char
: cedit-beginning-of-statement
: cedit-end-of-statement
:
: cedit-down-block
: cedit-up-block-forward
: cedit-up-block-backward
:
: cedit-slurp
: cedit-wrap-brace
: cedit-barf
: cedit-splice-killing-backward
: cedit-raise

Keybinds are not changed automatically.

** paredit.el Integration

When paredit.el is found on your system, following commands are also
available.

: cedit-or-paredit-slurp
: cedit-or-paredit-barf
: cedit-or-paredit-splice-killing-backward
: cedit-or-paredit-raise

They are "dwim" commands that call one of cedit-xxx or paredit-xxx.

** Contribution

cedit is now in very beta stage. You should feel free to fix this, or
even develop a better version.