Skip to content

shadoath/dot_files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Using 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

To install on OSX:

  • Put Keyboard into debug (paperclip + button on bottom)
  • Run dfu-util -D <.dfu.bin> on each KB (left/right) PNG for reference

Synergy config for home Windows/OSX screen setup

Comment/PR and let's both get smarter.