blob: 676fc21de87971b9683b05756ecbd72857a6b6a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
(require 'package)
(let* ((no-ssl (and (memq system-type '(windows-nt ms-dos))
(not (gnutls-available-p))))
(proto (if no-ssl "http" "https")))
(add-to-list 'package-archives (cons "melpa" (concat proto "://melpa.org/packages/")) t)
(package-initialize))
(add-to-list 'load-path "~/.emacs.d/libs/nano-emacs")
;; OrgMode
(add-hook 'org-mode-hook (lambda ()
(auto-fill-mode)
;;(variable-pitch-mode)
(bug-reference-mode)))
(setq org-edit-src-content-indentation 0)
(use-package org-roam
:ensure t
:defer t
:init (setq org-roam-v2-ack t)
:custom
(org-roam-directory "~/OrgRoam")
:bind (("C-c n l" . org-roam-buffer-toggle)
("C-c n f" . org-roam-node-find)
("C-c n i" . org-roam-node-insert))
:config
(org-roam-setup))
(use-package org-modern
:ensure t
:defer t
:init (global-org-modern-mode))
(setq org-confirm-babel-evaluate nil)
(setq nano-font-family-monospaced "Roboto Mono")
(load "~/.emacs.d/libs/nano-emacs/nano.el")
|