punassuming / ranger.el

Bringing the goodness of ranger to dired!
700 stars 52 forks source link

Copy the path of current selection. #128

Closed amosbird closed 8 years ago

amosbird commented 8 years ago

This would be a very convenient method to add path items to some config files.

punassuming commented 8 years ago

@amosbird, this is already available in dired (ranger allocates all standard dired bindings under the ; prefix). Press ; w for file name and C-u ; w to get the entire path of the filename.

amosbird commented 8 years ago

@ralesi Thanks. C-u 0 ; w gets the entire path in spacemacs :)

ngoonee commented 7 years ago

I recommend that key-bindings be added for ranger-like copying (e.g. 'yp' for path, 'yn' for name), just redirecting to the dired functionality.

punassuming commented 7 years ago

Not a bad idea, will see how it would be implemented