This is my .home.sl directory; it contains my Emacs and Vim configurations.
The configurations are maintained as Git subtrees; the following repositories are included:
| .emacs.spacemacs | in use | |
| SpaceVim | in use | |
| Oh My Zsh | in use |
The .emacs.spacemacs is included in this repository. Please refer to emacs.spacemacs/README.org
The SpaceVim distribution https://spacevim.org/
SpaceVim can be installed via
curl -sLf https://spacevim.org/install.sh | bashThen create a symlink for .vimrc.local
ln -s ~/.home.sl/vim.sl/.vimrc.local ~/.vimrc.localUpgrade with one of the following steps:
git -C ~/.SpaceVim pull- Add
automatic_update = 1to your custom configuration file, or - Use
:SPUpdate SpaceVimin a SpaceVim buffer.
For more information, please refer to https://spacevim.org/. NOTE: vimproc is not built automatically; run the following command to build it: make -C ~/.SpaceVim/bundle/vimproc.vim/
See https://github.com/ohmyzsh/ohmyzsh to set up Oh My Zsh:
sudo yum install zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"And change the key binding to match familiar behavior:
bindkey \^u backward-kill-line # change zsh to follow Bash behaviorPlease refer to ./tools/Readme.org for details.
git -C ~/.home.sl/ pullIn the .bashrc of the WSL2 environment export DISPLAY=”$(route -4 |awk ’172 {print $1”1:0”}’)”
wsl.exe -u sunlin7 -e bin/bash -lc “PATH=~.root/bin:$PATH emacs –daemon –display=172.17.16.1:0”