LightTable / Paredit

Light Table plugin for paredit ⛺
MIT License
35 stars 11 forks source link

implement backspace + delete #15

Closed achengs closed 10 years ago

achengs commented 10 years ago

Example user.keymap from berdario:

{:+ {:app {}

     :editor {"alt-w" [:editor.watch.watch-selection]
              "alt-shift-w" [:editor.watch.unwatch]}

     :editor.clj.common {"backspace" [:paredit.backspace]
                      "del" [:paredit.delete]
                      "alt-s" [:paredit.unwrap.parent]
                      "alt-shift-s" [:paredit.select.parent]
                      "esc" [:paredit.select.clear]
                      "pmeta-right" [:paredit.grow.right]
                      "pmeta-left" [:paredit.shrink.right]
                      "pmeta-shift-left" [:paredit.grow.left]
                      "pmeta-shift-right" [:paredit.shrink.left]
                      }}

 :- {
     :editor.keys.normal {"backspace" [:editor.backspace-pair]}}}
achengs commented 10 years ago

@ibdknox here's a cleaner PR

ibdknox commented 10 years ago

Thank you sir :)