https://github.com/h3pei/copy-file-path.nvim
A Neovim plugin to copy file path to the clipboard.
https://github.com/h3pei/copy-file-path.nvim
lua neovim
Last synced: 10 months ago
JSON representation
A Neovim plugin to copy file path to the clipboard.
- Host: GitHub
- URL: https://github.com/h3pei/copy-file-path.nvim
- Owner: h3pei
- Created: 2024-02-23T11:37:05.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-22T08:21:39.000Z (10 months ago)
- Last Synced: 2025-04-15T13:54:38.050Z (10 months ago)
- Topics: lua, neovim
- Language: Lua
- Homepage:
- Size: 6.84 KB
- Stars: 9
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# copy-file-path.nvim
A Neovim plugin to copy file path to the clipboard.

## Usage
Simply install copy-file-path.nvim with your favourite plugin manager (e.g. vim-plug or lazy.nvim) and you will be able to use the following commands.
|Command|Description|
|:--|:--|
|`:CopyRelativeFilePath`|Copy relative file path to the clipboard.|
|`:CopyAbsoluteFilePath`|Copy absolute file path to the clipboard.|
|`:CopyRelativeFilePathFromHome`|Copy relative file path from `$HOME` to the clipboard.|
|`:CopyFileName`|Copy just the file name to the clipboard.|
|`:CopyFilePath`|Alias for `CopyRelativeFilePath`|