Skip to content
Oleh Krehel edited this page Apr 1, 2016 · 3 revisions

Binding

lispy-view-test is bound to xv.

Description

If you want to explore how a certain command is intended to behave, just find the corresponding test (with the same name as the command) and call xv. The point should be positioned like this:

|(should (string= (lispy-with "...

Demo

lispy-view-test.png

What you see here:

  • The point is positioned on the test, as described above, and relevant info is displayed in an overlay (the buffer text isn't modified).
  • Above, is the initial code state, including the point and the mark.
  • Next, comes the key sequence.
  • Finally, there's the final code state, after the key sequence was executed.

To dismiss the overlay, just press xv again.

See another example for M-m marking a symbol in a string:

lispy-mark-symbol-test.png

Clone this wiki locally