Skip to content

Instantly share code, notes, and snippets.

@AyakoGFX
AyakoGFX / .emacs
Last active November 14, 2025 19:11
Single file Emacs config
(require 'package)
(setq package-enable-at-startup nil)
(setq package-archives '(("melpa" . "https://melpa.org/packages/")
("nongnu" . "https://elpa.nongnu.org/nongnu/")
("elpa-devel" . "https://elpa.gnu.org/devel/")
("gnu" . "https://elpa.gnu.org/packages/")))
(package-initialize)
(unless (package-installed-p 'use-package)
(package-refresh-contents)
(package-install 'use-package))
@AyakoGFX
AyakoGFX / typst.org
Created April 16, 2025 10:13
Configure Typst In Emacs

Install

  • typst
  • tinymist

Run Preview Server

tinymist preview main.typ

Compile To PDF

@AyakoGFX
AyakoGFX / Unsensored-Web.org
Last active November 15, 2025 10:20
How to Find Anything on the Internet (Fast & Free)
@AyakoGFX
AyakoGFX / org-link-desc.el
Created March 10, 2025 22:03
Automatically generate descriptions for org-mode links
@AyakoGFX
AyakoGFX / Emacs Cheat Sheet for Beginners.org
Created February 10, 2025 18:22
Emacs Cheat Sheet for Beginners

Understanding Keybindings in Emacs

  • Emacs uses special keys for shortcuts, often written in a notation like C-x C-f or M-f.

Control (C-) Key

  • C- stands for **Control**.
  • C-x means **press and hold Control (Ctrl) and then press =x=**.
  • Example: C-x C-f means:
    1. Hold Ctrl
    2. Press x
    3. Then press f while still holding Ctrl
@AyakoGFX
AyakoGFX / Setup-Spell-Check-In-Emacs-"jinx".org
Last active October 9, 2024 15:40
Setup Spell-Check In Emacs "jinx"

Setup Spell-Check In Emacs “jinx”

There are several packages for spellchecking in Emacs, but I prefer jinx because it’s known for being fast. I recommend giving it a try!

Before installing the jinx package, you need to install its required dependencies. You can do this by:

  • Debian, Ubuntu: libenchant-2-dev, pkgconf
  • Arch, Gentoo: enchant, pkgconf
@AyakoGFX
AyakoGFX / Magit.org
Created September 11, 2024 13:38
Magit keybind reference sheet "Doom Emacs" + Vanilla Key

Magit Keybind Reference Sheet

Entering Magit

Evil KeyVanilla KeyDescription
SPC ggC-c vgOpen magit-status in current project
There is also the :magit ex command for evil users.

Leaving Magit

  • To close a buffer or window you should use `q`
  • To close a popup (transients) you should use `C-g`
@AyakoGFX
AyakoGFX / Setup Qemu in Arch Linux Virtual machine.org
Created August 30, 2024 13:26
Setup Qemu in Arch Linux Virtual machine
  • QEMU/KVM Dependancies to install:
sudo pacman -S qemu virt-manager virt-viewer dnsmasq vde2 bridge-utils openbsd-netcat ebtables iptables libguestfs

Note: Make sure you update your system with a $ sudo pacman -Syu BEFORE you install the dependencies

Make Libvirt Group for your user

Edit /etc/libvirt/libvirtd.conf (Change the following Lines)