|
@@ -77,7 +77,6 @@ Experimenting with that package. I might need to fork it in the future to add th
|
|
|
#+begin_src emacs-lisp
|
|
#+begin_src emacs-lisp
|
|
|
(package! pico8-mode :recipe (:host github :repo "Kaali/pico8-mode"))
|
|
(package! pico8-mode :recipe (:host github :repo "Kaali/pico8-mode"))
|
|
|
#+end_src
|
|
#+end_src
|
|
|
-* TODO Config variables to make stuff easily tweakable
|
|
|
|
|
*** Powershell
|
|
*** Powershell
|
|
|
#+begin_src emacs-lisp
|
|
#+begin_src emacs-lisp
|
|
|
(package! powershell.el :ignore (not (eq system-type 'windows-nt)) :recipe (:host github :repo "jschaf/powershell.el"))
|
|
(package! powershell.el :ignore (not (eq system-type 'windows-nt)) :recipe (:host github :repo "jschaf/powershell.el"))
|
|
@@ -99,6 +98,10 @@ What remains is adding a way to detect the needed executables in the PATH.
|
|
|
#+begin_src emacs-lisp
|
|
#+begin_src emacs-lisp
|
|
|
(package! org-fragtog)
|
|
(package! org-fragtog)
|
|
|
#+end_src
|
|
#+end_src
|
|
|
|
|
+*** Valign
|
|
|
|
|
+#+begin_src emacs-lisp
|
|
|
|
|
+(package! valign :recipe (:host github :repo "casouri/valign" :branch "master"))
|
|
|
|
|
+#+end_src
|
|
|
* TODO Config variables to make stuff easily tweakable
|
|
* TODO Config variables to make stuff easily tweakable
|
|
|
* Helper functions
|
|
* Helper functions
|
|
|
I had issues before dealing with specific patterns at configuration time. At
|
|
I had issues before dealing with specific patterns at configuration time. At
|
|
@@ -222,7 +225,7 @@ emacs, so I can't use Pragmata for the serif font. I'm currently having issues
|
|
|
with ~fixed-pitch-serif~ as it doesn't properly load the ~doom-font~, so I am
|
|
with ~fixed-pitch-serif~ as it doesn't properly load the ~doom-font~, so I am
|
|
|
resorting to use a custom serif font, Iosevka Slab, from the Iosevka forge, my
|
|
resorting to use a custom serif font, Iosevka Slab, from the Iosevka forge, my
|
|
|
other favorite programming font. Actually, they blend well together, even if
|
|
other favorite programming font. Actually, they blend well together, even if
|
|
|
-Iosevka Slab feels /ever so slightly/ too thick against Pramgata.
|
|
|
|
|
|
|
+Iosevka Slab feels /ever so slightly/ too thick against Pragmata.
|
|
|
|
|
|
|
|
PragmataPro's ligatures have been enabled within ~init.el~ though the
|
|
PragmataPro's ligatures have been enabled within ~init.el~ though the
|
|
|
~pretty-code~ layer and it's optional specialization for this font. No more
|
|
~pretty-code~ layer and it's optional specialization for this font. No more
|
|
@@ -239,7 +242,7 @@ Gruvbox-light doesn't need a font as think as its dark alternative.
|
|
|
*** Extra ligatures
|
|
*** Extra ligatures
|
|
|
#+begin_src emacs-lisp
|
|
#+begin_src emacs-lisp
|
|
|
(after! ligatures
|
|
(after! ligatures
|
|
|
- (setq +ligatures-extras-in-modes '(org-mode)))
|
|
|
|
|
|
|
+ (setq +ligatures-extras-in-modes '(org-mode rustic-mode)))
|
|
|
#+end_src
|
|
#+end_src
|
|
|
|
|
|
|
|
** STRT Doom Modeline
|
|
** STRT Doom Modeline
|
|
@@ -306,7 +309,8 @@ update those variables.
|
|
|
*** Org-Attach location
|
|
*** Org-Attach location
|
|
|
Instead of having a global attachment dir, I'm going to use multiple folders as I have multiple org base folders
|
|
Instead of having a global attachment dir, I'm going to use multiple folders as I have multiple org base folders
|
|
|
#+begin_src emacs-lisp
|
|
#+begin_src emacs-lisp
|
|
|
-(setq org-attach-id-dir ".attach/")
|
|
|
|
|
|
|
+(after! org
|
|
|
|
|
+ (setq org-attach-id-dir ".attach/"))
|
|
|
#+end_src
|
|
#+end_src
|
|
|
** Small visual tweaks
|
|
** Small visual tweaks
|
|
|
Emacs 27 adds a face attribute that allows a line background to extend past the
|
|
Emacs 27 adds a face attribute that allows a line background to extend past the
|
|
@@ -322,14 +326,23 @@ disabling the line numbers.
|
|
|
(custom-set-faces! '(org-block :extend t))
|
|
(custom-set-faces! '(org-block :extend t))
|
|
|
(add-hook 'org-mode-hook (lambda () (setq-local display-line-numbers nil))))
|
|
(add-hook 'org-mode-hook (lambda () (setq-local display-line-numbers nil))))
|
|
|
#+end_src
|
|
#+end_src
|
|
|
-** TODO Digraphs
|
|
|
|
|
-I kinda like this feature and want it back on C-k on Org. The current snippet is
|
|
|
|
|
-broken, I need to find the proper way to turn digraph input back on.
|
|
|
|
|
-#+begin_src emacs-lisp :tangle no
|
|
|
|
|
-(after! org
|
|
|
|
|
|
|
+** Digraphs
|
|
|
|
|
+I kinda like this feature and want it back on C-k on Org. Evil-org put its own
|
|
|
|
|
+mapping at this place so I have to hijack this key /after/ its configuration.
|
|
|
|
|
+#+begin_src emacs-lisp
|
|
|
|
|
+(after! evil-org
|
|
|
(map! :map evil-org-mode-map
|
|
(map! :map evil-org-mode-map
|
|
|
:i "C-k" 'evil-insert-digraph))
|
|
:i "C-k" 'evil-insert-digraph))
|
|
|
#+end_src
|
|
#+end_src
|
|
|
|
|
+
|
|
|
|
|
+** TODO Tables
|
|
|
|
|
+#+begin_src emacs-lisp
|
|
|
|
|
+(after! org
|
|
|
|
|
+ (custom-set-faces!
|
|
|
|
|
+ '(org-table :inherit fixed-pitch)
|
|
|
|
|
+ '(org-table-header :inherit fixed-pitch)
|
|
|
|
|
+ '(org-brain-wires :inherit fixed-pitch)))
|
|
|
|
|
+#+end_src
|
|
|
** TODO Todo lists
|
|
** TODO Todo lists
|
|
|
I'd like to track when I finish tasks. I'm not feeling that adding a note each
|
|
I'd like to track when I finish tasks. I'm not feeling that adding a note each
|
|
|
time I close an item might be the best thing as I'd get tired of the prompt
|
|
time I close an item might be the best thing as I'd get tired of the prompt
|
|
@@ -540,6 +553,17 @@ Yay $\LaTeX$!
|
|
|
:config
|
|
:config
|
|
|
(add-hook 'org-mode-hook #'org-fragtog-mode))
|
|
(add-hook 'org-mode-hook #'org-fragtog-mode))
|
|
|
#+end_src
|
|
#+end_src
|
|
|
|
|
+** TODO valign
|
|
|
|
|
+[[https://github.com/casouri/valign][Valign]] is an org-mode plugin that overlays tables to draw them with
|
|
|
|
|
+non-character borders. Looks cleaner with it. Need to figure the boot and
|
|
|
|
|
+performance impact.
|
|
|
|
|
+#+begin_src emacs-lisp
|
|
|
|
|
+(use-package! valign
|
|
|
|
|
+ :after org
|
|
|
|
|
+ :config
|
|
|
|
|
+ (setq valign-fancy-bar t)
|
|
|
|
|
+ (add-hook 'org-mode-hook #'valign-mode))
|
|
|
|
|
+#+end_src
|
|
|
* Pico-8
|
|
* Pico-8
|
|
|
Using that [[https://github.com/Kaali/pico8-mode][pico-8 mode]] for Emacs might be fun. It even includes an overlay to
|
|
Using that [[https://github.com/Kaali/pico8-mode][pico-8 mode]] for Emacs might be fun. It even includes an overlay to
|
|
|
display the GFX and label as pictures in the code. Fancy!
|
|
display the GFX and label as pictures in the code. Fancy!
|
|
@@ -562,8 +586,9 @@ space.
|
|
|
|
|
|
|
|
** Proper non-lua text color
|
|
** Proper non-lua text color
|
|
|
#+begin_src emacs-lisp
|
|
#+begin_src emacs-lisp
|
|
|
|
|
+(after! pico8-mode
|
|
|
(custom-set-faces!
|
|
(custom-set-faces!
|
|
|
- `(pico8--non-lua-overlay :weight light :foreground ,(doom-color 'base4)))
|
|
|
|
|
|
|
+ `(pico8--non-lua-overlay :weight light :foreground ,(doom-color 'base4))))
|
|
|
#+end_src
|
|
#+end_src
|
|
|
|
|
|
|
|
* Blog writing
|
|
* Blog writing
|
|
@@ -816,6 +841,24 @@ keyboard. Let's add a mapping to quickly insert various kaomojis.
|
|
|
I have further questions adressed to myself regarding the mental sanity behind
|
|
I have further questions adressed to myself regarding the mental sanity behind
|
|
|
such feature.
|
|
such feature.
|
|
|
** TODO Pragmata's own characters
|
|
** TODO Pragmata's own characters
|
|
|
|
|
+* TODO Command line extension
|
|
|
|
|
+#+begin_src emacs-lisp
|
|
|
|
|
+ (defun command-line-ediff (switch)
|
|
|
|
|
+ (let ((file1 (pop command-line-args-left))
|
|
|
|
|
+ (file2 (pop command-line-args-left)))
|
|
|
|
|
+ (ediff file1 file2)))
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ (defun command-line-ediff-merge (switch)
|
|
|
|
|
+ (let ((file1 (pop command-line-args-left))
|
|
|
|
|
+ (file2 (pop command-line-args-left))
|
|
|
|
|
+ (ancestor (pop command-line-args-left)))
|
|
|
|
|
+ (ediff-merge-files-with-ancestor file1 file2 ancestor)))
|
|
|
|
|
+
|
|
|
|
|
+ (add-to-list 'command-switch-alist '("ediff" . command-line-ediff))
|
|
|
|
|
+ (add-to-list 'command-switch-alist '("ediff-merge" . command-line-ediff-merge))
|
|
|
|
|
+#+end_src
|
|
|
|
|
+
|
|
|
* Unsorted Functions
|
|
* Unsorted Functions
|
|
|
** Search Everything with Everything
|
|
** Search Everything with Everything
|
|
|
[[https://www.voidtools.com/][Everything]] is a very useful tool for Windows that indexes all the available in
|
|
[[https://www.voidtools.com/][Everything]] is a very useful tool for Windows that indexes all the available in
|