copy_path/readme.md

10 lines
262 B
Markdown
Raw Normal View History

2024-09-04 21:02:57 +00:00
### Copy path
This plugin allows you to copy the path that the cursor points to in the vim, and then open this file in any buffer
```
vim.keymap.set("n", "gy", require("copy_path").copy_file_path)
vim.keymap.set("n", "gp", require("copy_path").open_file)
```