Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

AdvancedSorters plugin for Vim

📅 2017-Sep-05 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ plugin, sort, vim ⬩ 📚 Archive

Vim has an inbuilt :sort function that can be used to sort lines. However, I recently had to sort words in a line. I could have broken the line and put each word on one line, sort them and put the results back as a line. Thankfully, I found the AdvancedSorters plugin for Vim that does this job easily in one command.

Tried with: Vim 7.4 and Ubuntu 16.04


© 2023 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘 Mastodon📧 Email