mirror of
http://github.com/JaeUs3792/dotfiles
synced 2025-12-14 16:11:34 +09:00
Emacs : org-babel-jupyter, journal🌫
This commit is contained in:
@ -96,7 +96,7 @@
|
|||||||
(global-set-key (kbd "C-c t") 'toggle-transparency)
|
(global-set-key (kbd "C-c t") 'toggle-transparency)
|
||||||
|
|
||||||
;; --------------------------------------------------------------------------------------------
|
;; --------------------------------------------------------------------------------------------
|
||||||
;; - Screenshot
|
;; - Org Paste Clipboard image for windows, in linux(use org-screenshot-take)
|
||||||
;; --------------------------------------------------------------------------------------------
|
;; --------------------------------------------------------------------------------------------
|
||||||
(defun my-org-paste-image ()
|
(defun my-org-paste-image ()
|
||||||
"Paste an image into a time stamped unique-named file in the
|
"Paste an image into a time stamped unique-named file in the
|
||||||
@ -151,14 +151,34 @@ same directory as the org-buffer and insert a link to this file."
|
|||||||
(add-to-list 'org-structure-template-alist '("cc" . "src c"))
|
(add-to-list 'org-structure-template-alist '("cc" . "src c"))
|
||||||
(add-to-list 'org-structure-template-alist '("cp" . "src c++"))
|
(add-to-list 'org-structure-template-alist '("cp" . "src c++"))
|
||||||
(add-to-list 'org-structure-template-alist '("rs" . "src rust"))
|
(add-to-list 'org-structure-template-alist '("rs" . "src rust"))
|
||||||
(add-to-list 'org-structure-template-alist '("py" . "src python"))
|
(add-to-list 'org-structure-template-alist '("py" . "src jupyter-python"))
|
||||||
(add-to-list 'org-structure-template-alist '("oc" . "src octave"))
|
(add-to-list 'org-structure-template-alist '("oc" . "src octave"))
|
||||||
(add-to-list 'org-structure-template-alist '("vl" . "src verilog"))
|
(add-to-list 'org-structure-template-alist '("vl" . "src verilog"))
|
||||||
(add-to-list 'org-structure-template-alist '("vh" . "src vhdl")))
|
(add-to-list 'org-structure-template-alist '("vh" . "src vhdl")))
|
||||||
|
;; --------------------------------------------------------------------------------------------
|
||||||
|
;; - Org Mode extra configuration
|
||||||
|
;; --------------------------------------------------------------------------------------------
|
||||||
(setq org-odt-preferred-output-format "docx")
|
(setq org-odt-preferred-output-format "docx")
|
||||||
(use-package! ob-translate
|
(use-package! ob-translate
|
||||||
:config
|
:config
|
||||||
(setq ob-translate:default-dest "ko"))
|
(setq ob-translate:default-dest "ko"))
|
||||||
|
(use-package! org-journal
|
||||||
|
:config
|
||||||
|
(setq org-journal-file-type 'weekly))
|
||||||
|
|
||||||
|
;; --------------------------------------------------------------------------------------------
|
||||||
|
;; - Org Caldav
|
||||||
|
;; --------------------------------------------------------------------------------------------
|
||||||
|
;;(use-package! org-caldav
|
||||||
|
;; :after org)
|
||||||
|
;;(defun my/caldav-sync-perso ()
|
||||||
|
;; "Sync my local calendar in ~/org/calendar.org with my remote calendar"
|
||||||
|
;; (interactive)
|
||||||
|
;; (let ((org-caldav-inbox "~/org/cal_inbox.org")
|
||||||
|
;; (org-caldav-calendar-id "org")
|
||||||
|
;; (org-caldav-url "https://jaeus.net/webdav")
|
||||||
|
;; (org-caldav-files '("~/org/calendar.org")))
|
||||||
|
;; (call-interactively 'org-caldav-sync)))
|
||||||
;; --------------------------------------------------------------------------------------------
|
;; --------------------------------------------------------------------------------------------
|
||||||
;; - Org Roam UI Mode
|
;; - Org Roam UI Mode
|
||||||
;; --------------------------------------------------------------------------------------------
|
;; --------------------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -81,7 +81,7 @@
|
|||||||
|
|
||||||
:checkers
|
:checkers
|
||||||
syntax ; tasing you for every semicolon you forget
|
syntax ; tasing you for every semicolon you forget
|
||||||
;;(spell +flyspell) ; tasing you for misspelling mispelling
|
(spell +flyspell) ; tasing you for misspelling mispelling
|
||||||
;;grammar ; tasing grammar mistake every you make
|
;;grammar ; tasing grammar mistake every you make
|
||||||
|
|
||||||
:tools
|
:tools
|
||||||
@ -95,7 +95,7 @@
|
|||||||
(eval +overlay) ; run code, run (also, repls)
|
(eval +overlay) ; run code, run (also, repls)
|
||||||
;;gist ; interacting with github gists
|
;;gist ; interacting with github gists
|
||||||
lookup ; navigate your code and its documentation
|
lookup ; navigate your code and its documentation
|
||||||
;;lsp ; M-x vscode
|
(lsp +peek) ; M-x vscode
|
||||||
magit ; a git porcelain for Emacs
|
magit ; a git porcelain for Emacs
|
||||||
;;make ; run make tasks from Emacs
|
;;make ; run make tasks from Emacs
|
||||||
;;pass ; password manager for nerds
|
;;pass ; password manager for nerds
|
||||||
@ -144,7 +144,7 @@
|
|||||||
;;javascript ; all(hope(abandon(ye(who(enter(here))))))
|
;;javascript ; all(hope(abandon(ye(who(enter(here))))))
|
||||||
;;julia ; a better, faster MATLAB
|
;;julia ; a better, faster MATLAB
|
||||||
;;kotlin ; a better, slicker Java(Script)
|
;;kotlin ; a better, slicker Java(Script)
|
||||||
;;latex ; writing papers in Emacs has never been so fun
|
(latex +latexmk +fold +lsp) ; writing papers in Emacs has never been so fun
|
||||||
;;lean ; for folks with too much to prove
|
;;lean ; for folks with too much to prove
|
||||||
;;ledger ; be audit you can be
|
;;ledger ; be audit you can be
|
||||||
;;lua ; one-based indices? one-based indices
|
;;lua ; one-based indices? one-based indices
|
||||||
@ -156,14 +156,14 @@
|
|||||||
;;php ; perl's insecure younger brother
|
;;php ; perl's insecure younger brother
|
||||||
;;plantuml ; diagrams for confusing people more
|
;;plantuml ; diagrams for confusing people more
|
||||||
;;purescript ; javascript, but functional
|
;;purescript ; javascript, but functional
|
||||||
python ; beautiful is better than ugly
|
(python +lsp) ; beautiful is better than ugly
|
||||||
;;qt ; the 'cutest' gui framework ever
|
;;qt ; the 'cutest' gui framework ever
|
||||||
;;racket ; a DSL for DSLs
|
;;racket ; a DSL for DSLs
|
||||||
;;raku ; the artist formerly known as perl6
|
;;raku ; the artist formerly known as perl6
|
||||||
;;rest ; Emacs as a REST client
|
;;rest ; Emacs as a REST client
|
||||||
;;rst ; ReST in peace
|
;;rst ; ReST in peace
|
||||||
;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
|
(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
|
||||||
;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
||||||
;;scala ; java, but good
|
;;scala ; java, but good
|
||||||
;;(scheme +guile) ; a fully conniving family of lisps
|
;;(scheme +guile) ; a fully conniving family of lisps
|
||||||
sh ; she sells {ba,z,fi}sh shells on the C xor
|
sh ; she sells {ba,z,fi}sh shells on the C xor
|
||||||
@ -185,7 +185,7 @@
|
|||||||
;;emms
|
;;emms
|
||||||
;;everywhere ; *leave* Emacs!? You must be joking
|
;;everywhere ; *leave* Emacs!? You must be joking
|
||||||
;;irc ; how neckbeards socialize
|
;;irc ; how neckbeards socialize
|
||||||
;;(rss +org) ; emacs as an RSS reader
|
(rss +org) ; emacs as an RSS reader
|
||||||
;;twitter ; twitter client https://twitter.com/vnought
|
;;twitter ; twitter client https://twitter.com/vnought
|
||||||
|
|
||||||
:config
|
:config
|
||||||
|
|||||||
@ -48,11 +48,9 @@
|
|||||||
;(unpin! pinned-package another-pinned-package)
|
;(unpin! pinned-package another-pinned-package)
|
||||||
;; ...Or *all* packages (NOT RECOMMENDED; will likely break things)
|
;; ...Or *all* packages (NOT RECOMMENDED; will likely break things)
|
||||||
;(unpin! t)
|
;(unpin! t)
|
||||||
(unpin! org-roam)
|
(unpin! org-roam-ui)
|
||||||
(package! org-roam-ui)
|
(package! org-roam-ui)
|
||||||
(unpin! ob-translate)
|
|
||||||
(package! ob-translate)
|
(package! ob-translate)
|
||||||
(unpin! dired-hide-dotfiles)
|
|
||||||
(package! dired-hide-dotfiles)
|
(package! dired-hide-dotfiles)
|
||||||
(unpin! nov)
|
|
||||||
(package! nov)
|
(package! nov)
|
||||||
|
;;(package! org-caldav)
|
||||||
|
|||||||
Reference in New Issue
Block a user