mirror of
https://github.com/tomru/DotfilesOld.git
synced 2026-03-03 06:27:21 +01:00
bunch of macs tweaks
This commit is contained in:
@@ -8,8 +8,6 @@
|
|||||||
(setq user-full-name "Thomas Ruoff")
|
(setq user-full-name "Thomas Ruoff")
|
||||||
(setq user-mail-address "thomasruoff@gmail.com")
|
(setq user-mail-address "thomasruoff@gmail.com")
|
||||||
|
|
||||||
(direnv-mode 1)
|
|
||||||
|
|
||||||
(eval-after-load 'js-mode
|
(eval-after-load 'js-mode
|
||||||
'(add-hook 'js-mode-hook #'add-node-modules-path))
|
'(add-hook 'js-mode-hook #'add-node-modules-path))
|
||||||
|
|
||||||
@@ -20,11 +18,29 @@
|
|||||||
|
|
||||||
;; org-mode
|
;; org-mode
|
||||||
(after! org
|
(after! org
|
||||||
(setq org-directory "~/documents/org/")
|
(setq org-directory "~/org/")
|
||||||
(setq org-default-notes-file (concat org-directory "/notes.org"))
|
(setq org-default-notes-file (concat org-directory "/notes.org"))
|
||||||
(setq org-clock-persist 'history)
|
(setq org-clock-persist 'history)
|
||||||
(setq org-log-done 'time)
|
(setq org-log-done 'time)
|
||||||
(setq org-todo-keywords '((sequence "TODO(t)" "WAIT(w)" "|" "DONE(d)")))
|
(setq org-todo-keywords '((sequence "TODO(t)" "WAIT(w)" "|" "DONE(d)")))
|
||||||
(org-clock-persistence-insinuate))
|
(setq org-capture-templates '(("t" "Personal todo" entry
|
||||||
|
(file+headline +org-capture-todo-file "Inbox")
|
||||||
|
"* [ ] %?\n%i\n%a" :prepend t)
|
||||||
|
("n" "Personal notes" entry
|
||||||
|
(file+headline +org-capture-notes-file "Inbox")
|
||||||
|
"* %u %?\n%i\n%a" :prepend t)
|
||||||
|
("j" "Journal" entry
|
||||||
|
(file+datetree+prompt +org-capture-journal-file)
|
||||||
|
"* %U %?\n%i\n%a" :prepend t)
|
||||||
|
("p" "Templates for projects")
|
||||||
|
("pt" "Project-local todo" entry
|
||||||
|
(file+headline +org-capture-project-todo-file "Inbox")
|
||||||
|
"* TODO %?\n%i\n%a" :prepend t)
|
||||||
|
("pn" "Project-local notes" entry
|
||||||
|
(file+headline +org-capture-project-notes-file "Inbox")
|
||||||
|
"* %U %?\n%i\n%a" :prepend t)
|
||||||
|
("pc" "Project-local changelog" entry
|
||||||
|
(file+headline +org-capture-project-changelog-file "Unreleased")
|
||||||
|
"* %U %?\n%i\n%a" :prepend t))))
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -67,18 +67,23 @@
|
|||||||
;;term ; terminals in Emacs
|
;;term ; terminals in Emacs
|
||||||
;;vterm ; another terminals in Emacs
|
;;vterm ; another terminals in Emacs
|
||||||
|
|
||||||
|
:checkers
|
||||||
|
syntax ; tasing you for every semicolon you forget
|
||||||
|
spell ; tasing you for misspelling mispelling
|
||||||
|
;;grammer
|
||||||
|
|
||||||
:tools
|
:tools
|
||||||
;;ansible
|
;;ansible
|
||||||
;;debugger ; FIXME stepping through code, to help you add bugs
|
;;debugger ; FIXME stepping through code, to help you add bugs
|
||||||
;;direnv
|
direnv
|
||||||
docker
|
docker
|
||||||
editorconfig ; let someone else argue about tabs vs spaces
|
editorconfig ; let someone else argue about tabs vs spaces
|
||||||
ein ; tame Jupyter notebooks with emacs
|
ein ; tame Jupyter notebooks with emacs
|
||||||
(eval +overlay) ; run code, run (also, repls)
|
(eval +overlay) ; run code, run (also, repls)
|
||||||
flycheck ; tasing you for every semicolon you forget
|
|
||||||
flyspell ; tasing you for misspelling mispelling
|
|
||||||
gist ; interacting with github gists
|
gist ; interacting with github gists
|
||||||
(lookup ; helps you navigate your code and documentation
|
(lookup ; helps you navigate your code and documentation
|
||||||
|
+dictionary
|
||||||
|
+offline
|
||||||
+docsets) ; ...or in Dash docsets locally
|
+docsets) ; ...or in Dash docsets locally
|
||||||
lsp
|
lsp
|
||||||
(:if IS-MAC
|
(:if IS-MAC
|
||||||
|
|||||||
@@ -9,4 +9,3 @@
|
|||||||
(package! add-node-modules-path)
|
(package! add-node-modules-path)
|
||||||
(package! exec-path-from-shell)
|
(package! exec-path-from-shell)
|
||||||
(package! color-theme-sanityinc-tomorrow)
|
(package! color-theme-sanityinc-tomorrow)
|
||||||
(package! direnv)
|
|
||||||
|
|||||||
Reference in New Issue
Block a user