feat(emacs): fix paths
This commit is contained in:
parent
4e8a1c8894
commit
7bdedf6f61
2 changed files with 32 additions and 6 deletions
|
|
@ -16,6 +16,11 @@
|
||||||
(defconst rs/mbsync-command "~/dotfiles/bin/path-shim mbsync -a"
|
(defconst rs/mbsync-command "~/dotfiles/bin/path-shim mbsync -a"
|
||||||
"Command to sync mail.")
|
"Command to sync mail.")
|
||||||
|
|
||||||
|
;;; Path setup for Nix
|
||||||
|
(add-to-list 'exec-path "/run/current-system/sw/bin")
|
||||||
|
(add-to-list 'exec-path "/etc/profiles/per-user/rayandrew/bin")
|
||||||
|
(add-to-list 'exec-path "~/.nix-profile/bin")
|
||||||
|
|
||||||
;;; Elpaca bootstrap
|
;;; Elpaca bootstrap
|
||||||
(defvar elpaca-installer-version 0.11)
|
(defvar elpaca-installer-version 0.11)
|
||||||
(defvar elpaca-directory (expand-file-name "elpaca/" user-emacs-directory))
|
(defvar elpaca-directory (expand-file-name "elpaca/" user-emacs-directory))
|
||||||
|
|
@ -306,6 +311,8 @@
|
||||||
(setq flyspell-issue-message-flag nil)
|
(setq flyspell-issue-message-flag nil)
|
||||||
|
|
||||||
;; ispell
|
;; ispell
|
||||||
|
(setq ispell-program-name "aspell")
|
||||||
|
(setq ispell-dictionary "en")
|
||||||
(setq text-mode-ispell-word-completion nil)
|
(setq text-mode-ispell-word-completion nil)
|
||||||
(setq ispell-silently-savep t)
|
(setq ispell-silently-savep t)
|
||||||
|
|
||||||
|
|
@ -936,13 +943,26 @@ frame if FRAME is nil, and to 1 if AMT is nil."
|
||||||
(use-package denote-explore
|
(use-package denote-explore
|
||||||
:ensure t
|
:ensure t
|
||||||
:bind
|
:bind
|
||||||
(("C-c n e n" . denote-explore-count-notes)
|
(;; Statistics
|
||||||
("C-c n e k" . denote-explore-count-keywords)
|
("C-c n e c" . denote-explore-count-notes)
|
||||||
|
("C-c n e C" . denote-explore-count-keywords)
|
||||||
|
("C-c n e b" . denote-explore-barchart-keywords)
|
||||||
|
("C-c n e e" . denote-explore-barchart-filetypes)
|
||||||
|
;; Random walks
|
||||||
("C-c n e r" . denote-explore-random-note)
|
("C-c n e r" . denote-explore-random-note)
|
||||||
("C-c n e l" . denote-explore-random-link)
|
("C-c n e l" . denote-explore-random-link)
|
||||||
("C-c n e g" . denote-explore-network)
|
("C-c n e k" . denote-explore-random-keyword)
|
||||||
("C-c n e b" . denote-explore-barchart-keywords)
|
("C-c n e x" . denote-explore-random-regex)
|
||||||
("C-c n e s" . denote-explore-sync-metadata)))
|
;; Denote Janitor
|
||||||
|
("C-c n e d" . denote-explore-identify-duplicate-notes)
|
||||||
|
("C-c n e z" . denote-explore-zero-keywords)
|
||||||
|
("C-c n e s" . denote-explore-single-keywords)
|
||||||
|
("C-c n e o" . denote-explore-sort-keywords)
|
||||||
|
("C-c n e w" . denote-explore-rename-keyword)
|
||||||
|
;; Visualise denote
|
||||||
|
("C-c n e n" . denote-explore-network)
|
||||||
|
("C-c n e v" . denote-explore-network-regenerate)
|
||||||
|
("C-c n e D" . denote-explore-barchart-degree)))
|
||||||
|
|
||||||
;;; Email (mu4e)
|
;;; Email (mu4e)
|
||||||
(use-package mu4e
|
(use-package mu4e
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,13 @@
|
||||||
home.packages =
|
home.packages =
|
||||||
with pkgs;
|
with pkgs;
|
||||||
[
|
[
|
||||||
aspell
|
(aspellWithDicts (
|
||||||
|
dicts: with dicts; [
|
||||||
|
en
|
||||||
|
en-computers
|
||||||
|
en-science
|
||||||
|
]
|
||||||
|
))
|
||||||
ispell
|
ispell
|
||||||
]
|
]
|
||||||
++ lib.optionals pkgs.stdenv.isLinux [
|
++ lib.optionals pkgs.stdenv.isLinux [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue