Skip to content

Instantly share code, notes, and snippets.

@jmgimeno
Last active August 29, 2015 13:57
Show Gist options
  • Save jmgimeno/9702828 to your computer and use it in GitHub Desktop.
Save jmgimeno/9702828 to your computer and use it in GitHub Desktop.
{:+ {:app {}
:editor {"alt-w" [:editor.watch.watch-selection]
"alt-shift-w" [:editor.watch.unwatch]}
:editor.clj.common {
;; moving in a sea of parens - jh
"alt-right" [:subpar.move.forward]
"alt-left" [:subpar.move.backward]
"alt-down" [:subpar.move.forward-down]
"alt-up" [:subpar.move.forward-up]
;; grow and shrink - jh
"ctrl-)" [:paredit.grow.right]
"ctrl-}" [:paredit.shrink.right]
"ctrl-(" [:paredit.grow.left]
"ctrl-{" [:paredit.shrink.left]
;; splice & kill
"alt-s" [:paredit-plus.splice-sexp] ;; remove 1 level of surrounding parens
"pmeta-up" [:paredit-plus.splice-sexp-killing-backward]
"pmeta-down" [:paredit-plus.splice-sexp-killing-forward]
"ctrl-k" [:paredit-plus.kill]
;; split & join - jh
"alt-shift-s" [:paredit-plus.split-sexp]
"alt-shift-j" [:paredit-plus.join-sexps]
;; select
"alt-a" [:paredit.select.parent]
"alt-shift-a" [:paredit.select.clear]
;; wrap in parens
"alt-(" [:paredit-plus.wrap-round]
"alt-[" [:paredit-plus.wrap-square]
"alt-{" [:paredit-plus.wrap-curly]
"alt-'" [:paredit-plus.wrap-quote]}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment