10 lines
262 B
Markdown
10 lines
262 B
Markdown
|
### 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)
|
||
|
```
|