Skip to content

Commit bb65217

Browse files
committedMar 9, 2025
🔧 Add git-link for fast github/gitlab web links creation
Signed-off-by: Alexander Kurbatov <[email protected]>
1 parent c2042fa commit bb65217

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed
 

‎init.el

+1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
flyspell-correct-popup ; Correcting words with flyspell via popup interface
5353
flyspell-popup ; Correcting words with flyspell in popup menus
5454
format-all ; Auto-format source code in many languages with one command
55+
git-link ; Emacs package to get the GitHub/Bitbucket/GitLab/... URL for a buffer location
5556
git-modes ; Emacs major modes for Git configuration files
5657
go-impl ; impl for Emacs
5758
gotest ; Emacs mode to go unit test command line tool

‎lisp/nano-git.el

+2
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,7 @@
6767
;; Enforce bindings recommended by Magit.
6868
(setq magit-define-global-key-bindings 'recommended)
6969

70+
(global-set-key (kbd "C-c g l") 'git-link)
71+
7072
(provide 'nano-git)
7173
;;; nano-git.el ends here

‎package-lock.el

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
("flymake-collection" . "7fdc88d4471c43630a5795269832f72eadb3f862")
3636
("flyspell-correct" . "1e7a5a56362dd875dddf848b9a9e25d1395b9d37")
3737
("flyspell-popup" . "29311849bfd253b9b689bf331860b4c4d3bd4dde")
38+
("git-link" . "8d0f98cf36f6b9c31285329b054ae77f9a3d9b33")
3839
("git-modes" . "f99010bbeb8b6d8a0819fac0195a2ef0159d08f0")
3940
("gnu-elpa-mirror" . "1b22b25b0be627ff5a5558002a830e6a3b5a1144")
4041
("go-impl" . "1eebba6ccd02d11a5a82ad4540a8d562797bc3b3")
@@ -57,7 +58,7 @@
5758
("marginalia" . "a527fb03b76a2bce1e360c6e73a095e06922c3f3")
5859
("markdown-mode" . "0a522bf682c977b39f449b0edc63ebf1db14aa04")
5960
("markdown-toc" . "d2fb4cbd95e558042307d706f9f47f93687c9fcc")
60-
("melpa" . "c32623c445004f48313f1b33061f42f38bb87070")
61+
("melpa" . "145b2843183e9db03ac1dbd90747e82b2a58e89a")
6162
("nano-modeline" . "9b8e74bb53fe8d1a143d12b02ea07c695d93362d")
6263
("nongnu-elpa" . "e867bf7d9c559ce636516507a04dee244e9e100d")
6364
("nord-theme" . "2c1981403d498e3f8ace6ee6f2623057d2a29d55")

0 commit comments

Comments
 (0)