Skip to content

shadoath/dot_files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Skylar Bolton
Nov 20, 2024
aa60cb3 · Nov 20, 2024
Sep 21, 2017
Nov 20, 2024
Oct 11, 2024
Mar 20, 2019
Nov 23, 2021
Apr 12, 2018
Sep 15, 2017
Sep 15, 2017
Oct 11, 2024
Oct 14, 2021
Oct 14, 2021
Nov 10, 2017
Jul 6, 2022
Oct 11, 2024
Nov 20, 2024
Nov 20, 2024
Nov 20, 2024
Sep 15, 2017
May 10, 2024
Nov 20, 2024
Oct 14, 2021

Repository files navigation

.files

You know, the basic files under ~/ that begin with a . Used to keep my computers and mind in sync.

Setup for Vim 8

Note I use VSCode now, so this is mostly for Servers.

Start with Vundle https://github.com/VundleVim/Vundle.vim

cd $HOME
git clone https://github.com/shadoath/dot_files
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim

Set up vim folders: mkdir ~/.vim/files && mkdir ~/.vim/files/{backup,info,swap,undo}

Install ZSH

sudo apt install zsh OR brew install zsh zsh-completions OR sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Make zsh the default shell: chsh -s $(which zsh)

Custom ZSH 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

Customization

From your ~/ home directory, symlink the dot_files:

mv .zshrc .zshrc_original
ln -s ~/dot_files/.zshrc
ln -s ~/dot_files/shadoath.zsh-theme ~/.oh-my-zsh/custom/themes/shadoath.zsh-theme
ln -s ~/dot_files/.vimrc
ln -s ~/dot_files/.gitconfig
ln -s ~/dot_files/.gitignore_global
ln -s ~/dot_files/.git-prompt.sh
ln -s ~/dot_files/.git-completion.bash
ln -s ~/dot_files/.pryrc
ln -s ~/dot_files/.agignore

Better search with Ag

brew install the_silver_searcher
or
sudo apt-get install -y automake pkg-config libpcre3-dev zlib1g-dev liblzma-dev
sudo apt-get install silversearcher-ag
or
sudo yum install -y automake pkg-config libpcre3-dev zlib1g-dev liblzma-dev
sudo yum install silversearcher-ag

or manual

You will need cmake installed and possibly: yum groupinstall "Development Tools".

Install fzf (fuzzy find)

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

Install all vim plugins:

vim +PluginInstall +qall

Load your profile settings:

source ~/.zshrc

Have git save user/pass

git config credential.helper store

Notes

View the /includes folder for extended functionality.

* Functions ------- New terminals, Pull requests, YML/hosts s3 sync, tab-color, and IP binding.
* Aliases
  * Base ---------- Quick commands for all things.
  * Rails --------- ENV, custom ports, bake and more.
  * Capistrano ---- Deploying Rails apps with complicated enviroments.
  * Git ----------- Make git quick.

Additional Files

layout

Synergy config for home Windows/OSX screen setup

Comment/PR and let's both get smarter.