Skip to content

triarius/fileline.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fileline.nvim

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.

Installation

{
  "triarius/fileline.nvim",
  opts = {},
}

The value of the opts will be merged with the default. The schema is below.

Options

Default options

{
  copy = {
    destination_register = "+",
  },
}

Usage

Open from command line

You can open a file at a line and column using colons:

nvim file:l:c

Copy file name with line and column

You can copy the filename to clipboard with the Fileline command.

Copy github permalink with line and column

You can a github permalink to clipboard with the GHPerma command.

About

Open and copy file at line and column in neovim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages