summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emacs/init.el42
1 files changed, 34 insertions, 8 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 219c29c..5f0decf 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -13,7 +13,21 @@
'(org-agenda-files
(quote
("/home/blaise/org/agenda.org" "/home/blaise/org/anniversaries.org" "/home/blaise/org/repeat.org" "/home/blaise/org/todo.org" "/home/blaise/org/projects/")))
- )
+ '(org-capture-templates
+ (quote
+ (("c" "Contact" entry
+ (file "~/org/contacts.org")
+ "* %(org-contacts-template-name)
+:PROPERTIES:
+:ADDRESS:
+:EMAIL:
+:PHONE:
+:NOTE:
+:END:" :empty-lines 0))))
+ '(org-contacts-files (quote ("~/org/contacts.org")))
+ '(package-selected-packages
+ (quote
+ (projectile notmuch which-key use-package spaceline smart-mode-line org-brain ivy helm-swoop helm-flyspell helm-bibtex flycheck exec-path-from-shell evil-ledger evil-leader company color-theme-sanityinc-tomorrow))))
;; Bootstrap `use-package'
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
@@ -62,7 +76,13 @@
:config
(evil-leader/set-leader "<SPC>")
(global-evil-leader-mode)
- )
+)
+
+;; frames-only-mode
+(use-package frames-only-mode
+ :ensure t
+)
+(frames-only-mode)
;; flycheck
(use-package flycheck
@@ -152,6 +172,11 @@
my/org-contacts-template
:empty-lines 0))))
+;; projectile
+(use-package projectile
+ :ensure t
+)
+
;; spaceline
(use-package spaceline :ensure t)
(spaceline-compile
@@ -273,11 +298,6 @@
(flyspell-goto-next-error)
(call-interactively 'helm-flyspell-correct))
-(defun print-file()
- "Blaise's custom print-file function"
- (interactive)
- (shell-command (concat "enscript -Bc \"" buffer-file-name "\"")))
-
(defun push-mark-no-activate ()
"Pushes `point' to `mark-ring' and does not activate the region
Equivalent to \\[set-mark-command] when \\[transient-mark-mode] is disabled"
@@ -336,7 +356,7 @@
(evil-leader/set-key "k" 'kill-buffer)
(evil-leader/set-key "l" 'helm-bibtex)
(evil-leader/set-key "m" 'helm-mini)
-(evil-leader/set-key "p" 'print-file)
+(evil-leader/set-key "p" 'helm-projectile)
(evil-leader/set-key "q" 'save-buffers-kill-terminal)
(evil-leader/set-key "r" 'shell-command)
(evil-leader/set-key "s" 'check-next-spelling-error)
@@ -345,3 +365,9 @@
(evil-leader/set-key "," 'other-window)
(evil-leader/set-key "/" 'helm-swoop)
(evil-leader/set-key "<SPC>" 'helm-M-x)
+(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.
+ )