Emacs and inputs updated
- Added org-roam in Emacs - Flake inputs updated - Other little modifications
This commit is contained in:
parent
3f39ace857
commit
317e50ef9f
13 changed files with 167 additions and 119 deletions
|
@ -9,8 +9,10 @@
|
|||
)
|
||||
|
||||
(use-package fira-code-mode
|
||||
:custom (fira-code-mode-disabled-ligatures '(":")) ;; List of ligatures to turn off
|
||||
:config (global-fira-code-mode))
|
||||
:custom (fira-code-mode-disabled-ligatures '()) ;; List of ligatures to turn off
|
||||
:config
|
||||
(fira-code-mode-set-font)
|
||||
(global-fira-code-mode))
|
||||
|
||||
|
||||
(defalias 'yes-or-no-p 'y-or-n-p)
|
||||
|
|
|
@ -1,10 +1,28 @@
|
|||
(use-package org
|
||||
:init
|
||||
(setq fill-column 80)
|
||||
(setq fill-column 80)
|
||||
(require 'org-protocol)
|
||||
:hook
|
||||
((org-mode . refill-mode)
|
||||
(org-mode . (lambda () (org-superstar-mode 1)))
|
||||
(org-mode . prettify-symbols-mode)))
|
||||
|
||||
(use-package org-roam
|
||||
:init
|
||||
(setq org-roam-v2-ack t)
|
||||
:custom
|
||||
(org-roam-directory (file-truename "~/roam/"))
|
||||
(org-roam-graph-executable "dot")
|
||||
:bind (("C-c n l" . org-roam-buffer-toggle)
|
||||
("C-c n f" . org-roam-node-find)
|
||||
("C-c n g" . org-roam-graph)
|
||||
("C-c n i" . org-roam-node-insert)
|
||||
("C-c n c" . org-roam-capture)
|
||||
;; Dailies
|
||||
("C-c n j" . org-roam-dailies-capture-today))
|
||||
:config
|
||||
(org-roam-db-autosync-mode)
|
||||
;; If using org-roam-protocol
|
||||
(require 'org-roam-protocol))
|
||||
|
||||
(provide 'config-org)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
(use-package lsp-python-ms
|
||||
:ensure t
|
||||
:hook (python-mode . (lambda ()
|
||||
(setq indent-tabs-mode nil) ; disable tabs
|
||||
(require 'lsp-python-ms)
|
||||
(lsp)))
|
||||
:init
|
||||
|
|
|
@ -9,6 +9,9 @@
|
|||
|
||||
(defun nixos-rebuild-test ()
|
||||
(interactive)
|
||||
;; async-shell command should be sufficient, to check why it isn't
|
||||
(sudo-utils-shell-command "nixos-rebuild test"))
|
||||
|
||||
(global-set-key [f6] 'nixos-rebuild-test)
|
||||
|
||||
(provide 'nix)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue