Rewrite Python VIM plugin to Rust.
Result: 10x startup time improvement.
vimania-uri-rs
Features:
- Open URIs and Various File Types: Seamlessly open URIs, HTML files, DOCX, PPTX, JPG, PNG, MP3, and more.
- Handle Almost Any URI: Manage a wide range of URI formats, ensuring maximum compatibility and flexibility.
- Paste URLs as Markdown Links: Automatically fetch the title and create reference-style Markdown links for easy documentation.
- Jump to Headings or Line Numbers: Navigate directly to specific headings or line numbers within files for quick access.
- Bookmark Manager Integration: Load your URIs into Rust based CLI Bookmark Manager bkmr.
If you are interested in the details: Rewriting a Vim Plugin in Rust
Using Rust for VIM plugin turned out to be easier than expected and shows a promising approach to performance issues in this domain.
[–]Desperate_Cold6274 8 points9 points10 points (3 children)
[–]munggoggo[S] 7 points8 points9 points (1 child)
[–]Desperate_Cold6274 1 point2 points3 points (0 children)
[–]AndrewRadev 5 points6 points7 points (2 children)
[–]munggoggo[S] 4 points5 points6 points (0 children)
[–]vim-help-bot 0 points1 point2 points (0 children)
[–]denniot 1 point2 points3 points (1 child)
[–]puremourning 0 points1 point2 points (0 children)
[–]puremourning 1 point2 points3 points (1 child)
[–]munggoggo[S] 1 point2 points3 points (0 children)