Clone this repository first to the home folder.
git clone [email protected]:sharjeelaziz/dotfiles.git ~/.dotfiles
Install zsh, vim, stow, tmux
sudo apt-get install -y zsh vim vim-nox stow tmux
Install Tmux Plugin Manager
https://github.com/tmux-plugins/tpm
Clone TPM:
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
Put this at the bottom of ~/.tmux.conf ($XDG_CONFIG_HOME/tmux/tmux.conf works too):
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
Reload TMUX environment so TPM is sourced:
# type this in terminal if tmux is already running
tmux source ~/.tmux.conf
Hit prefix + I
to fetch the plugin and source it.
Install .oh_my_zsh from the following:
https://github.com/robbyrussell/oh-my-zsh
Download cleaner theme
curl https://raw.githubusercontent.com/sharjeelaziz/clean-zsh-theme/main/cleaner.zsh-theme -o ~/.oh-my-zsh/themes/cleaner.zsh-theme
Install Vim-Plug from Github
curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
Create a new directory to store plugins
mkdir ~/vimplug-plugins
NOTE:
Any additional plug-ins to be installed need to be added between the "plug#begin" and "plug#end" lines in ~/.vimrc.plug
. If you receive an error similar to E117 Unknown Function: plug#end
check permissions over ~/.vim/
you may need to chmod -R 0755
.
Use stow to install the dotfiles you want to use:
cd ~/.dotfiles
stow vim
stow tmux
stow zsh
Run vim and install the plugins
:PlugInstall
Install themes for your terminal Catppuccin
Refer to GPG-Yubikey for signing commits.
Refer to ssh resident keys.
Refer to TMUX for a refresher.
Refer to vim for a vim refresher.