Created
April 10, 2019 19:59
-
-
Save anthonyclarka2/28543be1a5cbebd0d3d96b85f7d19f08 to your computer and use it in GitHub Desktop.
Emacs startup file for org-mode and org-mode Jira
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
;; global variables | |
(setq | |
inhibit-startup-screen t | |
create-lockfiles nil | |
make-backup-files nil | |
column-number-mode t | |
scroll-error-top-bottom t | |
show-paren-delay 0.5 | |
use-package-always-ensure t | |
sentence-end-double-space nil) | |
;; the package manager | |
(require 'package) | |
(setq | |
package-archives '(("gnu" . "http://elpa.gnu.org/packages/") | |
("org" . "http://orgmode.org/elpa/") | |
("melpa" . "http://melpa.org/packages/") | |
("melpa-stable" . "http://stable.melpa.org/packages/")) | |
package-archive-priorities '(("melpa-stable" . 1))) | |
(package-initialize) | |
;; Bootstrap `use-package` | |
(unless (package-installed-p 'use-package) | |
(package-refresh-contents) | |
(package-install 'use-package)) | |
(require 'use-package) | |
(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. | |
'(package-selected-packages (quote (org-jira ##)))) | |
(custom-set-faces | |
;; custom-set-faces 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. | |
) | |
;; org-mode integration with Jira | |
(setq jiralib-url "https://jira.example.com") | |
(setq org-jira-working-dir "/mnt/c/Users/username/Dropbox/Org") | |
;; enable encrypted text blocks inside .org files. | |
(require 'org-crypt) | |
(org-crypt-use-before-save-magic) | |
(setq org-tags-exclude-from-inheritance (quote ("crypt"))) | |
;; GPG key to use for encryption | |
;; Either the Key ID or set to nil to use symmetric encryption. | |
(setq org-crypt-key "ABCD 1234 ABCD 1234 ABCD 1234 ABCD 1234") | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment