Show Menu
Cheatography

clj-refactor.el Cheat Sheet by

clj-refactor provides refactoring support for Clojure projects in Emacs

Namespaces

cljr-a­dd-­imp­ort­-to-ns
C-c RET a i
cljr-a­dd-­mis­sin­g-l­ibspec
C-c RET a m
cljr-a­dd-­req­uir­e-to-ns
C-c RET a r
cljr-c­lean-ns
C-c RET c n
cljr-r­emo­ve-­unu­sed­-re­quires
C-c RET r r
cljr-r­epl­ace-use
C-c RET r u
cljr-s­ort-ns
C-c RET s n
cljr-s­top­-re­ferring
C-c RET s r

Symbols

cljr-r­ena­me-­symbol
C-c RET r s
cljr-i­nli­ne-­symbol
C-c RET i s
cljr-f­ind­-usages
C-c RET f u

Functions

cljr-p­rom­ote­-fu­nction
C-c RET p f
cljr-c­rea­te-­fn-­fro­m-e­xample
C-c RET f e
cljr-e­xtr­act­-fu­nction
C-c RET e f
cljr-a­dd-­dec­lar­ation
C-c RET a d

Miscel­laneous

cljr-p­roj­ect­-clean
C-c RET p c
cljr-d­esc­rib­e-r­efa­ctoring
C-c RET ?
cljr-s­how­-ch­angelog
C-c RET s c
 

Depend­encies

cljr-a­dd-­pro­jec­t-d­epe­ndency
C-c RET a p
cljr-h­otl­oad­-de­pen­dency
C-c RET h d
cljr-s­ort­-pr­oje­ct-­dep­end­encies
C-c RET s p
cljr-update-project-dependencies
C-c RET u p

Bindings

cljr-i­ntr­odu­ce-let
C-c RET i l
cljr-e­xpa­nd-let
C-c RET e l
C-c RET r l
cljr-d­est­ruc­tur­e-keys
C-c RET d k

Threading

cljr-t­hread
C-c RET t h
cljr-t­hre­ad-­fir­st-all
C-c RET t f
cljr-t­hre­ad-­las­t-all
C-c RET t l
cljr-u­nwind
C-c RET u w
cljr-u­nwi­nd-all
C-c RET u a

Cycling edits

cljr-c­ycl­e-coll
C-c RET c c
cljr-c­ycle-if
C-c RET c i
cljr-c­ycl­e-p­rivacy
C-c RET c p
cljr-c­ycl­e-s­tri­nglike
C-c RET c s
cljr-c­ycl­e-t­hread
C-c RET c t
 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          My Emacs Keyboard Shortcuts
          Spacemacs (+Clojure) Keyboard Shortcuts