-
-
Notifications
You must be signed in to change notification settings - Fork 136
lispy view test
Oleh Krehel edited this page Apr 1, 2016
·
3 revisions
lispy-view-test
is bound to xv.
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 "...
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: