Update 'emacs/' & 'yt-dlp/'
This commit is contained in:
parent
6faa594129
commit
c18926e817
2 changed files with 37 additions and 8 deletions
|
@ -42,14 +42,19 @@
|
||||||
(scroll-bar-mode -1)
|
(scroll-bar-mode -1)
|
||||||
(setq-default cursor-type 'bar)
|
(setq-default cursor-type 'bar)
|
||||||
|
|
||||||
|
;; Dired
|
||||||
|
(add-hook 'dired-mode-hook 'dired-hide-details-mode)
|
||||||
|
(setq dired-kill-when-opening-new-dired-buffer t)
|
||||||
|
|
||||||
;; Org mode
|
;; Org mode
|
||||||
(global-set-key (kbd "C-c a") #'org-agenda)
|
(global-set-key (kbd "C-c a") #'org-agenda)
|
||||||
(global-set-key (kbd "C-c c") #'org-capture)
|
(global-set-key (kbd "C-c c") #'org-capture)
|
||||||
(global-set-key (kbd "C-c l") #'org-store-link)
|
(global-set-key (kbd "C-c l") #'org-store-link)
|
||||||
(setq org-agenda-files '("/media/Data/Dokumen/Agenda/")
|
(setq org-agenda-files '("/media/Data/Dokumen/Agenda/")
|
||||||
org-capture-templates '(("c" "Catatan singkat" entry (file+datetree "Catatan/catatan_singkat.org") "* %?\nCREATED: %U" :empty-lines-before 1)
|
org-capture-templates '(("c" "Catatan singkat" entry (file+datetree "Catatan/catatan_singkat.org") "* %?\nCREATED: %U" :empty-lines-before 1)
|
||||||
|
("p" "Proyek" entry (file "Agenda/proyek.org") "* %?\nCREATED: %U" :empty-lines-before 1)
|
||||||
("t" "Tugas" entry (file+datetree "Agenda/tugas.org") "* TODO %?\nCREATED: %U" :empty-lines-before 1)
|
("t" "Tugas" entry (file+datetree "Agenda/tugas.org") "* TODO %?\nCREATED: %U" :empty-lines-before 1)
|
||||||
("p" "Proyek" entry (file "Agenda/proyek.org") "* %?\nCREATED: %U" :empty-lines-before 1))
|
("T" "Tugas berulang" entry (file+datetree "Agenda/tugas_berulang.org") "* TODO %?\nCREATED: %U\nSCHEDULED: %(org-insert-time-stamp nil nil nil nil nil \" +1m\")" :empty-lines-before 1))
|
||||||
org-agenda-custom-commands '(("i" "Ikhtisar hari ini" ((todo "DOING" ((org-agenda-overriding-header "Tugas yang sedang dikerjakan:")
|
org-agenda-custom-commands '(("i" "Ikhtisar hari ini" ((todo "DOING" ((org-agenda-overriding-header "Tugas yang sedang dikerjakan:")
|
||||||
(org-agenda-prefix-format "")))
|
(org-agenda-prefix-format "")))
|
||||||
(todo "NEXT" ((org-agenda-overriding-header "Tugas selanjutnya:")
|
(todo "NEXT" ((org-agenda-overriding-header "Tugas selanjutnya:")
|
||||||
|
@ -70,8 +75,10 @@
|
||||||
(org-agenda-prefix-format "%?-12t% s"))))))
|
(org-agenda-prefix-format "%?-12t% s"))))))
|
||||||
org-agenda-time-grid '((daily today require-timed) (430 915 1200 1515 1800 1900 2045) " ┄┄┄┄┄ " "┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄")
|
org-agenda-time-grid '((daily today require-timed) (430 915 1200 1515 1800 1900 2045) " ┄┄┄┄┄ " "┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄")
|
||||||
org-directory "/media/Data/Dokumen/"
|
org-directory "/media/Data/Dokumen/"
|
||||||
|
org-format-latex-options '(plist-put org-format-latex-options :scale 1.5)
|
||||||
org-hide-emphasis-markers t
|
org-hide-emphasis-markers t
|
||||||
org-id-get-create t
|
org-id-get-create t
|
||||||
|
org-id-link-to-org-use-id t
|
||||||
org-image-actual-width '(300)
|
org-image-actual-width '(300)
|
||||||
org-log-done 'time
|
org-log-done 'time
|
||||||
org-pretty-entities t
|
org-pretty-entities t
|
||||||
|
@ -92,6 +99,12 @@
|
||||||
(use-package all-the-icons-dired
|
(use-package all-the-icons-dired
|
||||||
:hook (dired-mode . all-the-icons-dired-mode))
|
:hook (dired-mode . all-the-icons-dired-mode))
|
||||||
|
|
||||||
|
(use-package auctex
|
||||||
|
:config
|
||||||
|
(setq TeX-auto-save t)
|
||||||
|
(setq TeX-parse-self t)
|
||||||
|
(setq-default TeX-master nil))
|
||||||
|
|
||||||
(use-package citar
|
(use-package citar
|
||||||
:custom
|
:custom
|
||||||
(org-cite-global-bibliography '("/media/Data/Dokumen/Referensi/referensi.bib"))
|
(org-cite-global-bibliography '("/media/Data/Dokumen/Referensi/referensi.bib"))
|
||||||
|
@ -231,8 +244,8 @@
|
||||||
dashboard-center-content t
|
dashboard-center-content t
|
||||||
dashboard-footer-messages '("")
|
dashboard-footer-messages '("")
|
||||||
dashboard-items '((recents . 5)
|
dashboard-items '((recents . 5)
|
||||||
(bookmarks . 5)
|
(bookmarks . 10)
|
||||||
(projects . 5))
|
(projects . 10))
|
||||||
dashboard-show-shortcuts nil
|
dashboard-show-shortcuts nil
|
||||||
dashboard-startup-banner nil
|
dashboard-startup-banner nil
|
||||||
dashboard-vertically-center-content t
|
dashboard-vertically-center-content t
|
||||||
|
@ -282,10 +295,12 @@
|
||||||
(use-package org-pomodoro
|
(use-package org-pomodoro
|
||||||
:bind (("C-c C-x C-<tab>" . org-pomodoro))
|
:bind (("C-c C-x C-<tab>" . org-pomodoro))
|
||||||
:commands (org-pomodoro)
|
:commands (org-pomodoro)
|
||||||
:config (setq org-pomodoro-length 45
|
:config
|
||||||
org-pomodoro-long-break-length 15
|
(setq alert-user-configuration (quote ((((:category . "org-pomodoro")) libnotify)))
|
||||||
org-pomodoro-manual-break t
|
org-pomodoro-length 45
|
||||||
org-pomodoro-short-break-length 15))
|
org-pomodoro-long-break-length 15
|
||||||
|
org-pomodoro-manual-break t
|
||||||
|
org-pomodoro-short-break-length 15))
|
||||||
|
|
||||||
(use-package org-roam
|
(use-package org-roam
|
||||||
:custom
|
:custom
|
||||||
|
@ -316,3 +331,16 @@
|
||||||
|
|
||||||
(use-package which-key
|
(use-package which-key
|
||||||
:init (which-key-mode))
|
:init (which-key-mode))
|
||||||
|
(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.
|
||||||
|
'(package-selected-packages
|
||||||
|
'(company-auctex auctex which-key vertico org-roam-ui org-pomodoro org-fragtog org-appear orderless modus-themes marginalia magit ivy hide-mode-line embark-consult emacsql-sqlite-builtin doom-modeline dashboard consult-projectile company-web company-go company-box citar-org-roam citar-embark bind-key all-the-icons-dired)))
|
||||||
|
(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.
|
||||||
|
)
|
||||||
|
|
|
@ -10,4 +10,5 @@
|
||||||
--embed-subs
|
--embed-subs
|
||||||
--embed-metadata
|
--embed-metadata
|
||||||
--embed-chapters
|
--embed-chapters
|
||||||
--embed-info-json
|
--embed-info-json
|
||||||
|
--extractor-arg "youtube:player_client=mediaconnect"
|
||||||
|
|
Loading…
Reference in a new issue