Skip to content

achengs/paredit-cm

Repository files navigation

paredit-cm

Paredit operations for CodeMirror.

Online Demo

Visit the online demo.

Features / Keys

Command Shortcut     Command Shortcut
Backward Ctrl 1     Forward Ctrl 2
Backward sexp Ctrl 3     Forward sexp Ctrl 4
Backward Up Ctrl 5     Forward Up Ctrl 6
Backward Down Ctrl 7     Forward Down Ctrl 8
Backward Barf Shift Ctrl [     Forward Barf Shift Ctrl ]
Backward Slurp Shift Ctrl 9     Forward Slurp Shift Ctrl 0
Command Shortcut     Command Shortcut     Command Shortcut
Splice Killing Backward Shift Ctrl 1     Splice Shift Ctrl 2     Splice Killing Forward Shift Ctrl 3
Raise sexp Shift Ctrl 4     Split sexp Shift Ctrl 5     Join sexps Shift Ctrl 6
Backward Kill Word Ctrl 9     Kill Ctrl 0     Forward Kill Word Ctrl -
Indent Defun Shift Ctrl \     Meta Double Quote Shift Alt "     Comment DWIM Shift Alt ;
Wrap round Shift Alt 9     Close round and newline Shift Alt 0     Trim Sexp Ctrl \

Bug reports are welcome.

Customization

You can change the key shortcuts by editing your copy of resources/js/keymap-paredit-cm.js

Running the Tests

From the command line

lein fig:test

License

See MIT License file.

About

Paredit for CodeMirror

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •