Lua plugin to have better support around opening and copying filenames with line and column numbers. The opening functionality is heavily inspired by bogodo/file-line and its fork lervag/file-line. Therefore, it is likely to suffer from similar issues to them.
{
"triarius/fileline.nvim",
opts = {},
}
The value of the opts
will be merged with the default. The schema is below.
{
copy = {
destination_register = "+",
},
}
You can open a file at a line and column using colons:
nvim file:l:c
You can copy the filename to clipboard with the Fileline
command.
You can a github permalink to clipboard with the GHPerma
command.