2018-11-03 17:23:42 +00:00
|
|
|
;; -*- mode: elisp -*-
|
|
|
|
|
2019-04-23 19:32:22 +00:00
|
|
|
;;;; packages
|
|
|
|
;;list package targets
|
2018-11-03 17:23:42 +00:00
|
|
|
(setq package-archives
|
|
|
|
'(("melpa" . "http://melpa.milkbox.net/packages/")
|
|
|
|
("gnu" . "http://elpa.gnu.org/packages/")
|
|
|
|
("elpy" . "http://jorgenschaefer.github.io/packages/")))
|
2019-04-23 19:32:22 +00:00
|
|
|
|
|
|
|
;;Refresh package contents
|
2018-11-03 17:23:42 +00:00
|
|
|
(unless package-archive-contents
|
|
|
|
(package-refresh-contents))
|
|
|
|
|
2019-04-28 22:58:30 +00:00
|
|
|
|
|
|
|
(defvar jlj-Packages
|
2018-11-03 17:23:42 +00:00
|
|
|
'(doom-themes
|
|
|
|
outline-magic
|
2019-02-22 23:57:16 +00:00
|
|
|
multiple-cursors
|
2019-03-04 06:26:32 +00:00
|
|
|
rust-mode
|
|
|
|
cargo
|
|
|
|
flycheck-rust
|
|
|
|
racer
|
2019-04-27 16:03:55 +00:00
|
|
|
helm
|
2019-04-27 20:50:00 +00:00
|
|
|
eyebrowse
|
2019-03-04 06:26:32 +00:00
|
|
|
;;company-mode
|
2019-02-15 21:37:52 +00:00
|
|
|
org2blog
|
2018-11-03 17:23:42 +00:00
|
|
|
pylint
|
|
|
|
python-mode
|
|
|
|
markdown-mode
|
|
|
|
powershell
|
|
|
|
csharp-mode
|
|
|
|
ein
|
|
|
|
elpy
|
|
|
|
flycheck
|
2019-05-23 17:04:34 +00:00
|
|
|
znc
|
|
|
|
twittering-mode
|
2019-05-23 18:46:53 +00:00
|
|
|
pdf-tools
|
2018-11-03 17:23:42 +00:00
|
|
|
magit
|
|
|
|
exec-path-from-shell
|
|
|
|
py-autopep8))
|
|
|
|
|
|
|
|
(mapc #'(lambda (package)
|
|
|
|
(unless (package-installed-p package)
|
|
|
|
(package-install package)))
|
2019-04-28 22:58:30 +00:00
|
|
|
jlj-Packages)
|
|
|
|
|
|
|
|
;;;;gpg shit
|
|
|
|
(setf epa-pinentry-mode 'loopback)
|
|
|
|
(setq auth-sources `("~/Documents/projects/agares/applicationConfiguration/.emacs/jlj-secrets.gpg"))
|
2018-11-03 17:23:42 +00:00
|
|
|
|
2019-04-23 20:58:57 +00:00
|
|
|
(load "~/Documents/projects/agares/applicationConfiguration/.emacs/jlj-misc.el")
|
2019-04-27 16:03:55 +00:00
|
|
|
(load "~/Documents/projects/agares/applicationConfiguration/.emacs/jlj-helm.el")
|
2019-04-23 20:58:57 +00:00
|
|
|
(load "~/Documents/projects/agares/applicationConfiguration/.emacs/jlj-org.el")
|
|
|
|
(load "~/Documents/projects/agares/applicationConfiguration/.emacs/jlj-python.el")
|
|
|
|
(load "~/Documents/projects/agares/applicationConfiguration/.emacs/jlj-rust.el")
|
2019-04-28 22:58:30 +00:00
|
|
|
(load "~/Documents/projects/agares/applicationConfiguration/.emacs/jlj-erc.el")
|
2018-11-03 17:23:42 +00:00
|
|
|
|
|
|
|
(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.
|
2019-05-19 22:22:36 +00:00
|
|
|
'(custom-enabled-themes (quote (manoj-dark)))
|
2019-02-21 05:04:10 +00:00
|
|
|
'(custom-safe-themes
|
2019-05-19 22:22:36 +00:00
|
|
|
(quote
|
|
|
|
("356e5cbe0874b444263f3e1f9fffd4ae4c82c1b07fe085ba26e2a6d332db34dd" "06f0b439b62164c6f8f84fdda32b62fb50b6d00e8b01c2208e55543a6337433a" default)))
|
2018-11-03 17:23:42 +00:00
|
|
|
'(org-capture-templates
|
2019-05-19 22:22:36 +00:00
|
|
|
(quote
|
|
|
|
(("c" "generic \"to do\" capture template" entry
|
2019-02-21 21:58:35 +00:00
|
|
|
(file "~/Nextcloud/Documents/org/refile-beorg.org")
|
2019-05-19 22:22:36 +00:00
|
|
|
"" :prepend t))))
|
2019-02-07 19:20:56 +00:00
|
|
|
'(org-modules
|
2019-05-19 22:22:36 +00:00
|
|
|
(quote
|
|
|
|
(org-bbdb org-bibtex org-docview org-gnus org-habit org-info org-irc org-mhe org-rmail org-w3m)))
|
2018-11-03 17:23:42 +00:00
|
|
|
'(package-selected-packages
|
2019-05-19 22:22:36 +00:00
|
|
|
(quote
|
2019-05-23 17:04:34 +00:00
|
|
|
(twittering-mode znc eyebrowse helm racer flycheck-rust rust-mode color-theme-sanityinc-tomorrow org2blog multiple-cursors flymake-python-pyflakes pdf-tools weechat jedi python-mode pylint py-autopep8 powershell outline-magic markdown-mode magit flycheck exec-path-from-shell elpygen elpy ein doom-themes csharp-mode)))
|
2019-05-19 22:22:36 +00:00
|
|
|
'(znc-servers
|
|
|
|
(\`
|
|
|
|
(("bouncer.awful.club" 5000 t
|
|
|
|
((freenode "blindidiotgod/freenode"
|
|
|
|
(\, znc-password))
|
|
|
|
(OFTC "blindidiotgod/OFTC"
|
|
|
|
(\, znc-password))))))))
|
2018-11-03 17:23:42 +00:00
|
|
|
|
2019-04-23 19:32:22 +00:00
|
|
|
;;;; run emacs as server (connect to it with `emacsclient`)
|
2018-11-03 17:23:42 +00:00
|
|
|
(server-start)
|
2019-03-04 06:26:32 +00:00
|
|
|
|
2019-04-28 22:58:30 +00:00
|
|
|
|
2019-05-23 20:37:36 +00:00
|
|
|
;; set some more keybindings
|
|
|
|
(global-set-key "\M-`" 'other-frame) ; mimic the way macosx switches between windows of the same application
|