 (setq denote-directory (expand-file-name "~/memex"))
 
 (define-key global-map (kbd "C-c n r") #'denote-dired-rename-file)
+(define-key global-map (kbd "C-c n n") #'denote-create-note)
+(define-key global-map (kbd "C-c n l") #'denote-link-insert-link)
+
+;;; Logos narrowing
+
+(when (not (package-installed-p 'logos))
+  (package-refresh-contents)
+  (package-install 'logos))
+(require 'logos)
+(setq logos-outlines-are-pages t)
+(setq logos-outline-regexp-alist
+      `((emacs-lisp-mode . "^;;;+ ")
+        (org-mode . "^\\*+ +")
+        (t . ,(or outline-regexp logos--page-delimiter))))
+(define-key global-map (kbd "C-x n l") #'logos-narrow-dwim)
 
 ;;; init.el ends here

(when (not (package-installed-p 'modus-themes))
  (package-refresh-contents)
  (package-install 'modus-themes))
(load-theme 'modus-operandi)
(define-key global-map (kbd "<f5>") #'modus-themes-toggle)

;; I seperate my sentences with one space not two.
(setq-default sentence-end-double-space nil)

			   ("~/memex/someday.org" :level . 1)
			   ("~/memex/tickler.org" :maxlevel . 2)))

;;; Bongos

(when (not (package-installed-p 'bongo))
  (package-install 'bongo))

;;; Emacs server

(server-start)
