On the file tab, right clicking brings up a menu item which states "Copy Full Path to Clipboard".
I would like to know the following in order to create a key-binding for this function (and a filename copy):
1) Is there a global property which gives the name and/or path of the currently selected file (buffer)?
2) Is there some method similar to "copy_to_clipboard" which can be used to place this name or path on the clipboard?
I have tried searching the online documentation, but as usual, spent vast amounts of time and came up empty-handed.
Can anyone help?