FidelisClayton / dot-files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dot-files

ZSH

1 - Install ZSH:

# Ubuntu
sudo apt-get install zsh

# MacOS
brew install zsh zsh-completions

2 - Make it the default shell:

chsh -s $(which zsh)

3 - Logout and login back and test:

echo $SHELL #Expected result: /bin/zsh or similar.

4 - Inside this project folder, copy the new .zsh file:

cp zsh/zshrc ~/.zshrc

Oh My ZSH

1 - Install OhMyZSH via curl or wget:

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# or
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"

2 - Copy the oh-my-zsh/theme folder to install the theme:

cp -rf ./oh-my-zsh/themes ~/.oh-my-zsh

3 - Install plugins:

git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

NeoVim

1 - Install Neovim

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:neovim-ppa/stable
sudo apt-get update
sudo apt-get install neovim
sudo apt-get install python-dev python-pip python3-dev python3-pip

sudo update-alternatives --install /usr/bin/vi vi /usr/bin/nvim 60
sudo update-alternatives --config vi
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

2 - Copy the config files:

cp -rf neovim/* ~/.config/nvim 

3 - Install Plug (Vim plugin manager):

curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

4 - Install the vim plugins

nvim +PlugInstall

Tmux

1 - Install Tmux:

sudo apt-get install tmux

2 - Copy the tmux config

cp ./tmux/tmux.conf ~/.tmux.conf

About


Languages

Language:Vim Script 93.9%Language:Shell 6.1%