Convert bulleted/unordered lists to numbered lists
January 15, 2025 ยท View on GitHub
- Visually select the lines.
- Enter command mode & run
Replace * with - if you are using markdown:'<,'>s/*/\=line('.') - line("'<") + 1 . '.'
January 15, 2025 ยท View on GitHub
:'<,'>s/*/\=line('.') - line("'<") + 1 . '.'
Replace * with - if you are using markdown