This is my little Emacs config.
Dirvish File Manager
sudo pacman -S emacs-git
yay -S tree-sitter sqlite3
git clone https://github.com/emacs-mirror/emacs.git --depth=1 &&
cd emacs && git pull && ./autogen.sh &&
./configure --with-tree-sitter &&
sudo make install -j16
sudo apt build-dep emacs
sudo apt install libgccjit0 libgccjit-10-dev libjansson4 libjansson-dev \
gnutls-bin libtree-sitter-dev gcc-10 imagemagick libmagick++-dev \
libwebp-dev webp libxft-dev libxft2 \
sqlite3
git clone https://github.com/emacs-mirror/emacs.git --depth=1 &&
cd emacs && git pull && ./autogen.sh &&
./configure --with-tree-sitter &&
sudo make install -j16
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/
git submodule update --init --recursive
git submodule foreach git reset --hard
git submodule foreach git checkout master
- xclip
- ripgrep
- fd
- sdcv
- translate-shell for immersive translate
- tgs2png for telega use
Need build tree-sitter library
git clone https://github.com/lizqwerscott/tree-sitter-module.git -b vue
git clone [email protected]:lizqwerscott/tree-sitter-module.git -b vue
JOBS=16 ./batch.sh
Copy generated library to “~/.emacs.d/tree-sitter”
mkdir -p ~/.emacs.d/tree-sitter/
cp -r ./dist/* ~/.emacs.d/tree-sitter/
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
Get list form lsp bridge
Need build TD library
git clone https://github.com/tdlib/td.git
cd td && mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .
Dirvish dependencies
sudo pacman -S fd poppler ffmpegthumbnailer mediainfo imagemagick tar unzip
sudo apt install fd-find poppler-utils ffmpegthumbnailer mediainfo imagemagick tar unzip
Source Code Pro
yay -S ttf-adobe-source-code-pro-fonts
LXGW WenKai Screen (霞鹜文楷的屏幕舒适阅读版本)
yay -S ttf-lxgw-wenkai-screen
LXGW Neo Xihei (霞鹜新晰黑)
yay -S ttf-lxgw-neo-xihei-screen-full
Install dict in /usr/share/dict/
path.
sudo pacman -S words
git submodule foreach git pull --rebase