Skip to content

lizqwerscott/.emacs.d

Repository files navigation

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 [email protected]: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 tree-sitter library

clone build scripts

http

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

ssh

git clone [email protected]:lizqwerscott/tree-sitter-module.git -b vue

build

JOBS=16 ./batch.sh

copy library

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

mkdir -p ~/.emacs.d/tree-sitter/
cp -r ./dist/* ~/.emacs.d/tree-sitter/

rename gomod library

The repository lib-tree-sitter-go-mod generates a library named `go-mod`, but internally it uses the name `gomod`. Since Emacs looks for `gomod`, we need to rename it accordingly.

cd ~/.emacs.d/tree-sitter/
mv libtree-sitter-go-mod.so libtree-sitter-gomod.so

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published