vim 按字符长度排序

如果你安有 python3 或者 python 支持的话,可以
:py3 import vim
:py3 vim.current.buffer[:] = list(sorted(vim.current.buffer, key=len))

    原文作者:drbinzhao
    原文地址: https://blog.csdn.net/drbinzhao/article/details/54999172
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞