Skip to content

raffaem/nnn-cppath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cppath

A nnn (=n³) plugin to copy (relative) file paths in the clipboard.

Works on both X11 and Wayland.

Installation

  1. Run install.sh.
  2. Map to a keybinding by exporting
    NNN_PLUG='c:cppath;'
    

Usage

  1. Call a first time on file A.
  2. Call a second time on file B.
  3. If A≠B, the relative path from A to B is copied in the clipboard. If A==B, then the full path of A is copied in the clipboard.

About

A n³ plugin to copy file paths in clipboard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages