Open ysl2 opened 8 months ago
# First enter project:
cd
git clone https://gitee.com/ysl2/dotlib.git
git clone https://gitee.com/ysl2/dotfiles.git
mv dotfiles/.git dotfiles_git
ln -s dotfiles_git .git
ln -s dotlib .dotlib
~/.scripts/localbin.sh lf
~/.Local/bin/lf -config ~/.dotlib/.config/lf/lfrc # Merge conflict files in $HOME ...
rm -rf dotfiles
source ~/.bashrc
# Restore project:
cd
ln -s dotfiles_git .git
ln -s dotlib .dotlib
git reset --hard HEAD
source ~/.bashrc
Installation on Windows
dotfiles
Special packages
Other packages
Lf
You need to set system variable
EDITOR
to vim (or any other editor), and link neovide tonotepad.exe
to replace default notepad (optional). Use vim to edit single file by pressinge
key, and use neovim to edit project by pressingl
key (I tried to inverse those two behavior but failed, so must be this at least now).