github.com/damiendart/pathshorten (go): Package pathshorten provides an implementation of Vim's "pathshorten" function, which shortens directory names in a file path.
Keywords: golang|pathshorten|vim