copy relative path of file

Posted by efr on Super User See other posts from Super User or by efr
Published on 2013-10-21T09:42:33Z Indexed on 2013/10/21 10:00 UTC
Read the original article Hit count: 232

I can copy full path of file:

{ "keys": ["super+i"], "command": "copy_file_path" }

But don't know how to copy its relative path (relative to project folder)

I even created .sublime-project

{
    "folders":
    [
        {
            "path": ".",
            "folder_exclude_patterns": ["node_modules"],
            "follow_symlinks": true
        }
    ]
}

But copy_file_path still copies absolute path.

© Super User or respective owner

Related posts about sublime-text-2

Related posts about sublime-text-3