Last active
November 8, 2024 12:47
-
-
Save mattiasb/17bf9836870ac1e97d3dc1c7734bd9cb to your computer and use it in GitHub Desktop.
Emacs config binding forge-create-issue
This file contains 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
(custom-set-variables | |
;; custom-set-variables was added by Custom. | |
;; If you edit it by hand, you could mess it up, so be careful. | |
;; Your init file should contain only one such instance. | |
;; If there is more than one, they won't work right. | |
'(custom-file (file-name-concat user-emacs-directory "custom.el")) | |
'(delete-selection-mode t) | |
'(fill-column 80) | |
'(inhibit-startup-buffer-menu t) | |
'(inhibit-startup-screen t) | |
'(initial-scratch-message "") | |
'(package-archives | |
'(("gnu" . "http://elpa.gnu.org/packages/") | |
("nongnu" . "https://elpa.nongnu.org/nongnu/") | |
("melpa-stable" . "http://stable.melpa.org/packages/"))) | |
'(package-gnupghome-dir (file-name-concat user-emacs-directory "elpa/gnupg/")) | |
'(package-native-compile t) | |
'(package-quickstart t) | |
'(package-quickstart-file | |
(file-name-concat user-emacs-directory "elpa/package-quickstart.el")) | |
'(package-selected-packages '(forge magit))) |
This file contains 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
(tool-bar-mode -1) | |
(menu-bar-mode -1) | |
(scroll-bar-mode -1) | |
;; Avoid mixing in with any already existing config | |
(startup-redirect-eln-cache (file-name-concat user-emacs-directory "eln-cache")) | |
(setq package-user-dir (file-name-concat user-emacs-directory "elpa")) | |
(load (file-name-concat user-emacs-directory "custom.el")) |
This file contains 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
(load-theme 'wombat) | |
(fido-vertical-mode) | |
(windmove-default-keybindings) | |
(display-fill-column-indicator-mode) | |
(package-refresh-contents) | |
(unless (package-installed-p 'magit) | |
(package-install 'magit)) | |
(unless (package-installed-p 'forge) | |
(package-install 'forge)) | |
(with-eval-after-load 'forge-topic | |
(define-key forge-topic-mode-map (kbd "C-c C-n") #'forge-create-issue) | |
(define-key forge-issue-mode-map (kbd "C-c C-n") #'forge-create-issue)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment