summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-11-18 09:30:32 +0000
committerMatthew Lemon <matt@matthewlemon.com>2022-11-18 09:30:32 +0000
commit5e2a2dd403e6dd7533369069802a7b8bace7d255 (patch)
treedad2eacd863f250ba31930f4b09e80573917c36d
parent26c88fbb02ee30c9960a039f8cf68bfcfb05fc8c (diff)
nerd-fonts changes and formatting
Diffstat (limited to '')
-rw-r--r--.gitignore4
-rw-r--r--init.el4
-rw-r--r--myinit.org87
3 files changed, 52 insertions, 43 deletions
diff --git a/.gitignore b/.gitignore
index 6f45575..0d03433 100644
--- a/.gitignore
+++ b/.gitignore
@@ -26,4 +26,6 @@ org-caldav-*
/.last-package-update-day
/forge-database.sqlite
myinit.el
-init.el
+/org-roam.db
+/eln-cache/
+org-clock-save.el
diff --git a/init.el b/init.el
index d14ad29..688e8d7 100644
--- a/init.el
+++ b/init.el
@@ -30,11 +30,11 @@
'(display-line-numbers-type 'relative)
'(display-time-mode t)
'(package-selected-packages
- '(deft cider org-roam org yasnippet-snippets which-key vterm use-package rainbow-delimiters pdf-tools paredit notmuch magit ledger-mode gruvbox-theme flycheck expand-region evil elpy elfeed-score diminish counsel cmake-mode browse-kill-ring beacon auto-package-update amx ace-window ace-jump-mode))
+ '(unicode-fonts deft cider org-roam org yasnippet-snippets which-key vterm use-package rainbow-delimiters pdf-tools paredit notmuch magit ledger-mode gruvbox-theme flycheck expand-region evil elpy elfeed-score diminish counsel cmake-mode browse-kill-ring beacon auto-package-update amx ace-window ace-jump-mode))
'(tool-bar-mode nil))
(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.
- '(default ((t (:family "Hack" :foundry "SRC" :slant normal :weight normal :height 120 :width normal)))))
+ '(default ((t (:family "Hack Nerd Font" :foundry "SRC" :slant normal :weight normal :height 120 :width normal)))))
diff --git a/myinit.org b/myinit.org
index a5cc0be..77dc778 100644
--- a/myinit.org
+++ b/myinit.org
@@ -604,46 +604,53 @@ If failed try to complete the common part with `company-complete-common'"
#+END_SRC
** org-roam
#+BEGIN_SRC emacs-lisp
- (use-package org-roam
- :ensure t
- :custom
- (org-roam-dailies-directory "daily/")
- (org-roam-directory "~/org-roam")
- (org-roam-capture-templates
- '(("d" "default" plain
- "%?"
- :target (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n")
- :unnarrowed t)
- ("e" "encrypted" plain
- "%?"
- :target (file+head "%<%Y%m%d%H%M%S>-${slug}.org.gpg" "#+title: ${title}\n")
- :unnarrowed t)))
- (org-roam-dailies-capture-templates
- '(("d" "default" entry "* %<%T>: %?"
- :target (file+head "%<%Y-%m-%d>.org" "#+title: %<%Y-%m-%d>\n")
- :unnarrowed t)))
- :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)
- ("C-c n n" . org-roam-dailies-capture-today)
- ("C-c n t" . org-roam-dailies-goto-today)
- :map org-roam-mode-map
- ("y" . org-roam-dailies-goto-previous-note)
- ("t" . org-roam-dailies-goto-next-note)
- ("d" . org-roam-dailies-goto-date)
- ("D" . org-roam-dailies-capture-date))
- :bind-keymap ("C-c n D" . org-roam-mode-map)
- :config
- (org-roam-db-autosync-mode)
- ;; Bind this to C-c n I
- (defun org-roam-node-insert-immediate (arg &rest args)
- (interactive "P")
- (let ((args (cons arg args))
- (org-roam-capture-templates (list (append (car org-roam-capture-templates)
- '(:immediate-finish t)))))
- (apply #'org-roam-node-insert args)))
- :bind (("C-c n I" . org-roam-node-insert-immediate)))
-#+END_SRC
+ (use-package org-roam
+ :ensure t
+ :custom
+ (org-roam-dailies-directory "daily/")
+ (org-roam-directory "~/org-roam")
+ (org-roam-capture-templates
+ '(("d" "default" plain
+ "%?"
+ :target (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n")
+ :unnarrowed t)
+ ("e" "encrypted" plain
+ "%?"
+ :target (file+head "%<%Y%m%d%H%M%S>-${slug}.org.gpg" "#+title: ${title}\n")
+ :unnarrowed t)))
+ (org-roam-dailies-capture-templates
+ '(("d" "default" entry "* %<%T>: %?"
+ :target (file+head "%<%Y-%m-%d>.org" "#+title: %<%Y-%m-%d>\n")
+ :unnarrowed t)))
+ :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)
+ ("C-c n n" . org-roam-dailies-capture-today)
+ ("C-c n t" . org-roam-dailies-goto-today)
+ :map org-roam-mode-map
+ ("y" . org-roam-dailies-goto-previous-note)
+ ("t" . org-roam-dailies-goto-next-note)
+ ("d" . org-roam-dailies-goto-date)
+ ("D" . org-roam-dailies-capture-date))
+ :bind-keymap ("C-c n D" . org-roam-mode-map)
+ :config
+ (org-roam-db-autosync-mode)
+ ;; Bind this to C-c n I
+ (defun org-roam-node-insert-immediate (arg &rest args)
+ (interactive "P")
+ (let ((args (cons arg args))
+ (org-roam-capture-templates (list (append (car org-roam-capture-templates)
+ '(:immediate-finish t)))))
+ (apply #'org-roam-node-insert args)))
+ :bind (("C-c n I" . org-roam-node-insert-immediate)))
+#+END_SRC
+** unicode fonts
+#+begin_src emacs-lisp
+ (use-package unicode-fonts
+ :ensure t
+ :config
+ (unicode-fonts-setup))
+#+end_src
* Keybindings
** movement
#+begin_src emacs-lisp