Copy a reference to a file or a region in a project
| .gitignore | feat: coderef | |
| coderef.el | feat: Handle one line and fix last line number | |
| LICENSE | feat: coderef | |
| README.org | fix: verbatim | |
coderef
coderef is a tool for copying a reference to a file (e.g., @README.org;) or a region (e.g., @README.org lines 5 to 8;) to the clipboard, which can then be used to communicate with both people and agentic AI.
Installation
use-package
(use-package coderef
:vc (:url "https://codeberg.org/veer66/coderef" :rev :newest))
Usage
File
Open a file in a project then M-x coderef.
Region
Mark a region then M-x coderef.