Skip to content

Instantly share code, notes, and snippets.

@pjullah
Created June 8, 2017 09:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pjullah/b5233d66b719fd7ed66766f28d2a54fe to your computer and use it in GitHub Desktop.
Save pjullah/b5233d66b719fd7ed66766f28d2a54fe to your computer and use it in GitHub Desktop.
Cheat sheet for vim fireplace

fireplace

  • cpr => (require ... :reload)
  • cpR => (require ... :reload-all)

Evaluation

  • :Eval (clojure code) => runs (clojure code) in repl
  • cpp => evaluate inn-most expessions under cursor
  • cp<movement> => evaluate text described by <movement>
  • cqp => opens quasi-repl
  • cqc => quasi-repl command line window
  • cq<movement> => prefill quasi-repl command line window with text described by <movement>
  • :lopen => show stack trace after an exception was thrown

Getting help

  • :Doc <symbol> => show docstring of <symbol>
  • K => show docstring of command under cursor
  • :Source <symbol> => show source for <symbol>
  • [d => show source for symbol under cursor

Movement

  • ] C-D => jump to definition
  • gf => got to file (also works on namespaces)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment