Skip to content

zxytim/dotfiles

Repository files navigation

How to install

Setup git repo

# set the repo root as home
cd ~
git init
git remote add origin [email protected]:zxytim/dotfiles.git
git pull origin master
git checkout master


# then ignore everything
echo '*' >> ~/.git/info/exclude

MacOS

Install Meslo Nerd Font patched for Powerlevel10k

Install homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Install packages

brew install tmux neovim autojump tig htop cmake python
python3 -m pip install -U pip
python3 -m pip install asciichartpy colored click numpy pynvim uv

Install vim-plug plugins

nvim +PlugInstall

Compile YCM

~/.vim/plugged/YouCompleteMe

Install OS-specific dependencies

Ubuntu

sudo apt update
sudo apt install -y python-dev python3-dev python-pip python3-pip jq silversearcher-ag tig autojump zsh
python3 -m pip install --user --upgrade pynvim

(Ubuntu) Supersede vim with nvim

sudo update-alternatives --install /usr/bin/vim vim /usr/bin/nvim 60
sudo update-alternatives --config vim
sudo update-alternatives --install /usr/bin/editor editor /usr/bin/nvim 60
sudo update-alternatives --config editor

Install fzf

git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install

Arch Linux

TODO
pip install --user neovim jedi

Install tmux plugin manager

git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm

Press prefix + I (capital i, as in Install) to fetch the plugin.

How to Add Files

git add -f some_file

TODOs

  • Add some screenshots

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published