Skip to content

sunlin7/.home.sl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

My .home.sl directory

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.spacemacsin use
SpaceVimin use
Oh My Zshin use

Install and configure

.emacs.spacemacs for Emacs

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 | bash

Then create a symlink for .vimrc.local

ln -s ~/.home.sl/vim.sl/.vimrc.local ~/.vimrc.local

Upgrade with one of the following steps:

  • git -C ~/.SpaceVim pull
  • Add automatic_update = 1 to your custom configuration file, or
  • Use :SPUpdate SpaceVim in 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/

Oh My Zsh

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 behavior

Misc tools

Please refer to ./tools/Readme.org for details.

Update or upgrade

git -C ~/.home.sl/ pull

Misc notes for usage

WSL2 DISPLAY

In the .bashrc of the WSL2 environment export DISPLAY=”$(route -4 |awk ’172 {print $1”1:0”}’)”

Start Emacs daemon in WSL from a Windows shortcut

wsl.exe -u sunlin7 -e bin/bash -lc “PATH=~.root/bin:$PATH emacs –daemon –display=172.17.16.1:0”

About

My local settings.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published