Skip to content

Instantly share code, notes, and snippets.

@AyakoGFX
AyakoGFX / build_emacs_29_x11.sh
Created September 9, 2026 11:44 — forked from abidanBrito/build_emacs_29_x11.sh
Scripts to build different GNU Emacs versions from source.
#!/usr/bin/env bash
## Author: Abidán Brito
## This script builds GNU Emacs 29.1 with support for native elisp compilation,
## tree-sitter, libjansson (C JSON library), pure GTK and mailutils.
# Exit on error and print out commands before executing them.
set -euxo pipefail
# Let's set the number of jobs to something reasonable; keep 2 cores
@AyakoGFX
AyakoGFX / my-project.el
Last active August 18, 2026 23:59
My Emacs workflow with project.el and tab-bar.el project-x.el
(use-package project
:ensure nil
:custom
(project-vc-extra-root-markers '(".project"))
:bind
([remap project-switch-to-buffer] . consult-project-buffer))
(use-package tab-bar
:ensure nil
:custom
@AyakoGFX
AyakoGFX / base-emacs.el
Created June 24, 2026 13:12
base stater emacs configurationi
;; ==========================================
;; 1. PACKAGE MANAGEMENT SETUP
;; ==========================================
(require 'package)
(setq package-enable-at-startup nil)
;; Define where Emacs should look to download external packages
(setq package-archives '(("melpa" . "https://melpa.org/packages/")
("nongnu" . "https://elpa.nongnu.org/nongnu/")
@AyakoGFX
AyakoGFX / emacs+python.org
Last active July 13, 2026 13:40
Emacs Python
@AyakoGFX
AyakoGFX / .emacs
Last active January 7, 2026 14:21
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