Created
May 30, 2024 14:08
-
-
Save jovemfelix/942f7cc22faeb63acf50e4751aa4e7b9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"actions": [ | |
{ | |
"type": "command", | |
"label": "Send to VSCode", | |
"command_line": "code ${PWD}", | |
"use_shell": true, | |
"cwd": "%f", | |
"max_items": 1, | |
"filetypes": ["directory"] | |
}, | |
{ | |
"type": "menu", | |
"label": "Copy details", | |
"actions": [ | |
{ | |
"type": "command", | |
"label": "Copy name", | |
"command_line": "echo -n %B | xclip -f -selection primary | xclip -selection clipboard", | |
"use_shell": true | |
}, | |
{ | |
"type": "command", | |
"label": "Copy path", | |
"command_line": "echo -n %F | xclip -f -selection primary | xclip -selection clipboard", | |
"use_shell": true | |
}, | |
{ | |
"type": "command", | |
"label": "Copy URI", | |
"command_line": "echo -n %U | xclip -f -selection primary | xclip -selection clipboard", | |
"use_shell": true | |
} | |
] | |
} | |
], | |
"debug": false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment