Skip to content

yank the file path on Windows #1320

Answered by joelim-work
azinsharaf asked this question in Q&A
Discussion options

You must be logged in to vote

The config snippets I provided above were for Windows CMD. From the looks of it you're using PowerShell, in which case you can simply use:

map Y &Set-Clipboard -Value ($Env:f -replace '"')

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@azinsharaf
Comment options

@joelim-work
Comment options

Answer selected by azinsharaf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants