This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- ============================================================================= | |
| -- git_permalink/init.lua | |
| -- Build a per‑line permalink for GitHub / GitLab / Bitbucket (including private | |
| -- instances) and copy it to the system clipboard. | |
| -- ============================================================================= | |
| -- Place file in ~/.config/nvim/lua/git_permalink/init.lua | |
| -- add to your base config to make hotkey for ctrl-l: | |
| --[[ | |
| require('git_permalink').setup{ | |
| lhs = '<C-l>', -- you can change the hot‑key here |