some tweaks to org-mode

This commit is contained in:
Chris Cochrun 2023-04-28 12:09:12 -05:00
parent 8e4c3972ba
commit a0922f054e
3 changed files with 9 additions and 101 deletions

View file

@ -753,7 +753,7 @@ Part of this config includes some special capture templates for my work as a you
:jump-to-captured t) :jump-to-captured t)
("r" "Templates for projects") ("r" "Templates for projects")
("rt" "Project-local todo" entry ("rt" "Project-local todo" entry
(file+headline chris/project-todo "Inbox") (file+headline chris/project-todo "Tasks")
"* TODO %?\n%a\n%i\n\n" :prepend t) "* TODO %?\n%a\n%i\n\n" :prepend t)
("rn" "Project-local notes" entry ("rn" "Project-local notes" entry
(file+headline chris/project-todo "Notes") (file+headline chris/project-todo "Notes")
@ -3540,10 +3540,11 @@ Let's add our own eshell prompt. and set the password cache to a significantly h
("yeet" "paru -Rns $1") ("yeet" "paru -Rns $1")
("nixs" "nix search nixpkgs $1") ("nixs" "nix search nixpkgs $1")
("myip" "curl icanhazip.com") ("myip" "curl icanhazip.com")
("ytd" "yt-dlp -o ~/Videos/%(title)s.%(ext)s") ("ytd" "yt-dlp -o ~/Videos/%(title)s.%(ext)s $1")
("nupg" "upgrade-nix") ("nupg" "upgrade-nix")
("nupd" "update-nix") ("nupd" "update-nix")
("ws" "rsync -avzP public/ chris@staff.tfcconnection.org:tfcconnection"))) ("ws" "rsync -avzP public/ chris@staff.tfcconnection.org:tfcconnection")
("wttr" "curl wttr.in/@home.cochrun.xyz")))
(defun chris/eshell-new() (defun chris/eshell-new()
"Open a new eshell buffer" "Open a new eshell buffer"

101
init.el
View file

@ -507,7 +507,7 @@ much faster. The hope is to also make this a faster version of imenu."
:jump-to-captured t) :jump-to-captured t)
("r" "Templates for projects") ("r" "Templates for projects")
("rt" "Project-local todo" entry ("rt" "Project-local todo" entry
(file+headline chris/project-todo "Inbox") (file+headline chris/project-todo "Tasks")
"* TODO %?\n%a\n%i\n\n" :prepend t) "* TODO %?\n%a\n%i\n\n" :prepend t)
("rn" "Project-local notes" entry ("rn" "Project-local notes" entry
(file+headline chris/project-todo "Notes") (file+headline chris/project-todo "Notes")
@ -2639,10 +2639,11 @@ targets."
("yeet" "paru -Rns $1") ("yeet" "paru -Rns $1")
("nixs" "nix search nixpkgs $1") ("nixs" "nix search nixpkgs $1")
("myip" "curl icanhazip.com") ("myip" "curl icanhazip.com")
("ytd" "yt-dlp -o ~/Videos/%(title)s.%(ext)s") ("ytd" "yt-dlp -o ~/Videos/%(title)s.%(ext)s $1")
("nupg" "upgrade-nix") ("nupg" "upgrade-nix")
("nupd" "update-nix") ("nupd" "update-nix")
("ws" "rsync -avzP public/ chris@staff.tfcconnection.org:tfcconnection"))) ("ws" "rsync -avzP public/ chris@staff.tfcconnection.org:tfcconnection")
("wttr" "curl wttr.in/@home.cochrun.xyz")))
(defun chris/eshell-new() (defun chris/eshell-new()
"Open a new eshell buffer" "Open a new eshell buffer"
@ -3114,97 +3115,3 @@ interfere with the default `bongo-playlist-buffer'."
gcmh-verbose nil)) gcmh-verbose nil))
(setq warning-suppress-types '((comp))) (setq warning-suppress-types '((comp)))
(custom-set-variables
;; custom-set-variables 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.
'(connection-local-criteria-alist
'(((:application eshell)
eshell-connection-default-profile)
((:application tramp)
tramp-connection-local-default-system-profile tramp-connection-local-default-shell-profile)))
'(connection-local-profile-alist
'((eshell-connection-default-profile
(eshell-path-env-list))
(tramp-connection-local-darwin-ps-profile
(tramp-process-attributes-ps-args "-acxww" "-o" "pid,uid,user,gid,comm=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" "-o" "state=abcde" "-o" "ppid,pgid,sess,tty,tpgid,minflt,majflt,time,pri,nice,vsz,rss,etime,pcpu,pmem,args")
(tramp-process-attributes-ps-format
(pid . number)
(euid . number)
(user . string)
(egid . number)
(comm . 52)
(state . 5)
(ppid . number)
(pgrp . number)
(sess . number)
(ttname . string)
(tpgid . number)
(minflt . number)
(majflt . number)
(time . tramp-ps-time)
(pri . number)
(nice . number)
(vsize . number)
(rss . number)
(etime . tramp-ps-time)
(pcpu . number)
(pmem . number)
(args)))
(tramp-connection-local-busybox-ps-profile
(tramp-process-attributes-ps-args "-o" "pid,user,group,comm=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" "-o" "stat=abcde" "-o" "ppid,pgid,tty,time,nice,etime,args")
(tramp-process-attributes-ps-format
(pid . number)
(user . string)
(group . string)
(comm . 52)
(state . 5)
(ppid . number)
(pgrp . number)
(ttname . string)
(time . tramp-ps-time)
(nice . number)
(etime . tramp-ps-time)
(args)))
(tramp-connection-local-bsd-ps-profile
(tramp-process-attributes-ps-args "-acxww" "-o" "pid,euid,user,egid,egroup,comm=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" "-o" "state,ppid,pgid,sid,tty,tpgid,minflt,majflt,time,pri,nice,vsz,rss,etimes,pcpu,pmem,args")
(tramp-process-attributes-ps-format
(pid . number)
(euid . number)
(user . string)
(egid . number)
(group . string)
(comm . 52)
(state . string)
(ppid . number)
(pgrp . number)
(sess . number)
(ttname . string)
(tpgid . number)
(minflt . number)
(majflt . number)
(time . tramp-ps-time)
(pri . number)
(nice . number)
(vsize . number)
(rss . number)
(etime . number)
(pcpu . number)
(pmem . number)
(args)))
(tramp-connection-local-default-shell-profile
(shell-file-name . "/bin/sh")
(shell-command-switch . "-c"))
(tramp-connection-local-default-system-profile
(path-separator . ":")
(null-device . "/dev/null"))))
'(pdf-misc-print-program "/usr/bin/lpr")
'(pdf-misc-print-program-args '("-o media=Letter" "-o fitplot"))
'(safe-local-variable-values '((eval chris/org-cycle-hide-drawers 'all))))
(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.
'(org-modern-tag ((t :background "#9aedfe" :foreground "#282a36"))))

View file

@ -1,4 +1,4 @@
;;; Automatically generated by recentf on Fri Feb 24 10:17:11 2023. ;;; Automatically generated by recentf on Mon Apr 24 15:00:07 2023.
(setq recentf-list 'nil) (setq recentf-list 'nil)