VIM: Difference between revisions

no edit summary
No edit summary
 
Line 23: Line 23:


= Instructions =
= Instructions =
== add line numbers ==
Visual highlight and then start with number 42
<syntaxhighlight lang="vim">
:'<,'>s/^/\=(line('.')-line("'<")+42).' --> '/
</syntaxhighlight>


== beautify json ==
== beautify json ==