/.emacs.d

Primary LanguageEmacs Lisp

My Emacs Config

This is my little Emacs config.

Install On Arch Linux

Install Emacs git version:

sudo pacman -S emacs-git

Download source code:

Use ssh:

git clone git@github.com:lizqwerscott/.emacs.d.git ~/.emacs.d/

Use http:

git clone https://github.com/lizqwerscott/.emacs.d.git  ~/.emacs.d/

Fetch all submodules:

git submodule update --init --recursive

git submodule foreach git reset --hard

git submodule foreach git checkout master

Need install some package

  1. xclip
  2. sdcv
  3. translate-shell
  4. tgs2png

Need build treesitter library

clone build scripts

http

git clone https://github.com/lizqwerscott/tree-sitter-module.git

ssh

git clone git@github.com:lizqwerscott/tree-sitter-module.git

build

JOBS=16 ./batch.sh

copy library

Copy generated library to “~/.emacs.d/tree-sitter”

Need build TD library

Need download sdcv dict

sdcv download url

Fonts

English

Source Code Pro

yay -S ttf-adobe-source-code-pro-fonts

Chinese

LXGW WenKai Screen (霞鹜文楷的屏幕舒适阅读版本)

yay -S ttf-lxgw-wenkai-screen

LXGW Neo Xihei (霞鹜新晰黑)

yay -S ttf-lxgw-neo-xihei-screen-full

Install language server

Get list form lsp bridge

Update extensions:

git submodule foreach git pull --rebase