1
0
Fork 0
My personal Emacs configuration.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Gökmen Görgen 1ce86ba291 hide minor modes from mode line. 3 days ago
.github update funding link. 2 months ago
.gitignore install emacs with dosh. 2 weeks ago
LICENSE.md install emacs with dosh. 2 weeks ago
README.md vscode lang servers. 2 weeks ago
dosh.lua install emacs with dosh. 2 weeks ago
early-init.el remove golden-ratio. 3 days ago
emacs.service insert my env before running the service. 1 year ago
init.el hide minor modes from mode line. 3 days ago
interface.png install emacs with dosh. 2 weeks ago

README.md

GOEDEV's EMACS CONFIG

My accessibility-first Emacs configuration.

Please do not open a pull-request for this repository. You can configure your editor from scratch, or give a try for Emacs distributions like Spacemacs, Doom Emacs.

INSTALLATION

Consider installing the minimum version 28.1 of Emacs. Native compilation is significant in increasing performance. For MacOS:

brew tap d12frosted/emacs-plus
brew install emacs-plus --with-native-comp --without-cocoa

Clone the repository to your home folder:

cd ~
git clone https://git.goe.dev/goedev/emacs.d.git .emacs.d

Or if you use dosh:

git clone https://git.goe.dev/goedev/emacs.d.git
cd emacs.d
dosh install

If you are on Windows, don't forget to add a new environment variable named "HOME":

HOME="%USERPROFILE%"

COPY & PASTE PROBLEM

For Linux and WSL2, install xsel and after you select your text, type M-|, then run the command xsel -bi.

For MacOS, you can use pbcopy.

EMACS AS A DAEMON

If you want to run Emacs as a Daemon on system startup:

mkdir -p ~/.config/systemd/user/
cp ~/.emacs.d/emacs.service ~/.config/systemd/user/emacs.service
systemctl --user enable --now emacs

To restart it:

systemctl --user restart emacs

PACKAGES

My preferred package manager is straight. If you want to see the list of packages that I use, just open init.el file and look at all the lines starting with straight-use-package .

SYSTEM DEPENDENCIES

I install all my CLI dependencies using my do.sh script here.

brew install gopls               \
             fd                  \
             llvm                \
             lua-language-server \
             multimarkdown       \
             ripgrep             \
             rust-analyzer

npm i -g typescript                   \
         typescript-language-server   \
         vscode-langservers-extracted \
         yaml-language-server