Skip to content

Commit

Permalink
Move emacs-config to the repository root
Browse files Browse the repository at this point in the history
  • Loading branch information
akirak committed Sep 28, 2024
1 parent 60d8100 commit f0b7573
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 36 deletions.
36 changes: 0 additions & 36 deletions README.org

This file was deleted.

1 change: 1 addition & 0 deletions README.org
31 changes: 31 additions & 0 deletions emacs/emacs-config.org → emacs-config.org
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,15 @@
:TOC: :include descendants :depth 1
:END:

[[https://akirak.cachix.org][file:https://img.shields.io/badge/cachix-akirak-blue.svg]]

[[https://flakehub.com/flake/akirak/emacs-config][file:https://img.shields.io/endpoint?url=https://flakehub.com/f/akirak/emacs-config/badge]]

This repository contains my Emacs configuration which is built using [[https://github.com/akirak/emacs-twist][emacs-twist]].
I use home-manager to install the configuration.

:CONTENTS:
- [[#trying-out][Trying out]]
- [[#setupel][Setup.el]]
- [[#performance][Performance]]
- [[#supported-systems][Supported systems]]
Expand Down Expand Up @@ -34,6 +42,29 @@
- [[#grep][Grep]]
- [[#sh-emulation-keybindings][Sh-emulation keybindings]]
:END:
** Trying out
:PROPERTIES:
:ID: 3cc635d1-7bad-4d28-946e-e204b04aafaa
:END:
If you have Nix 2.9+ installed, you can try out the Emacs configuration without installing it.

There are two variants of the configuration.
One is built with the pgtk version of Emacs, which runs on Wayland:

#+begin_src bash
nix run github:akirak/emacs-config#default-pgtk.wrappers.tmpdir
#+end_src

There is another version, an X11 variant, which is now discouraged:

#+begin_src bash
nix run github:akirak/emacs-config#default-x11.wrappers.tmpdir
#+end_src

Both commands create a temporary directory which will be used as ~user-emacs-directory~ containing an init file.
The temporary directory will be cleaned up when Emacs exits.


** Setup.el
:PROPERTIES:
:SORTING_TYPE: a
Expand Down

0 comments on commit f0b7573

Please sign in to comment.