promptgarten ๐ŸŒฑ
๐ŸŒ ES

Command reference ยท Cursor CLI

/line-numbers

Toggles line numbers in displayed code blocks.

/line-numbers toggles whether line numbers are shown in the session's code blocks.

โœ… WHEN TO USE IT?

Wanting to reference specific lines during review

/line-numbers โ€” turn on before saying 'check line 42'

โ›” WHEN NOT TO?

Just short code snippets with no line references

For short snippets, line numbers get in the way more than they help.

Better: Leave /line-numbers off for a more compact view

SOURCES