These files are my personal configuration files to run zsh and vim on an Arch base system. You can use them on other unix like systems like macOS, Ubuntu, etc. The biggest difference is that you need to look at the documentation of your own package manager instead of using pacman
to install zsh and/or vim.
Don't forget to uncomment Color
in /etc/pacman.conf
and also add ILoveCandy
to the file.
pacman -S zsh
mkdir -p ~/.config/zsh/plugs
mkdir -p ~/.config/zsh/cache
mkdir -p ~/.config/zsh/plugs/dotenv
Download this script and save it into your dotenv folder (the one you just created).
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.config/zsh/plugs/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.config/zsh/plugs/zsh-syntax
mkdir -p ~/.config/zsh/themes
Download these themes and save them on the previously created folder:
Download this file and save it on ~/.config/zsh/
:
aliases.zsh
Download the color-manpages.zsh
file and save it on the same folder where you just stored the aliases.
Download the two message.*
files (the zhs one and the the txt one) and save them in the same folder where the aliases are.
Download the .zshrc file from this repo and remember to save it in your ~/.config/zsh/
folder.
Download the .zshenv or the zsh env variables file and remember to save it in your ~/
folder.
Follow the installation section on the official repo. Pathogen auto-updates your packages so it's not a bad option for a vim plugin manager.
When searching on Vim it can be confusing to know where exactly the cursor is when iterating on each result, this plugin improves vim highlighting for search results.
cd .vim/bundle && \
git clone https://github.com/PeterRincker/vim-searchlight
Download the .vimrc file from this repo and remember to save it in your ~
folder.
This is a simple terminal emulator that should work on most OS. It is lightweight but it uses hardware acceleration to work, if your PC is not supported, you might want to check if your hardware is compatible.
mkdir -p ~/.config/alacritty
Download this file and save it on ~/.config/alacritty/
:
alacritty.yml
set ttymouse=sgr
There is a ""feature"" on alacritty/vim and this is necessary for vim to read the mouse input from the terminal, add it to the .vimrc
.