leather-s / dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

9mm .dotfiles

screenshot

Cool Features

  • Fullscreen overlay terminal with <c-i> (use iTerm3 plist)
  • ZSH autocompletion with <c-e>
  • Optional MOTD for remembering hotkeys in .zshrc
  • Snippet storage via pet list. Type prev to store previous command
  • JSON printing with echo '{"coffee": "time"}' | jq
  • Autojump to common directories with j <partial name>
  • In-file searching with ack <search term> -i

Basic Setup

Set a super fast keyboard repeat

defaults write NSGlobalDomain KeyRepeat -int 1

iTerm 3

Download and install iTerm3

Install the Dracula color scheme and activate it.

Open iTerm preferences, and choose General > Preferences. Check the box for load preferences from custom folder and choose the iTerm folder which includes com.googlecode.iterm2.plist. Before loading, you may want to change zesty to your own home folder via find/replace.

Git

Enable colorization

git config --global color.ui true

Homebrew

brew analytics off
brew update
brew install git python vim macvim ack autojump ctags fzf curl wget rbenv yarn
brew install httpie jq rename tree tmate htop # extra goodies
brew install knqyf263/pet/pet

Oh-My-ZSH

Add a ZSH distribution and Fish-style autosuggestions (plugin is already loaded within ~/.zshrc):

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions

Vim

Once you install MacVim, start it and run

:PlugInstall

You can update plugins at any time by running

:PlugUpdate

You can update vim-plug by running

:PlugUgrade

Search the .vimrc file for VimEnter and either comment the line out, or change the winpos to fit your screen. This setting automatically resizes MacVim on open. Without it, MacVim will open about ~20px off from where it was closed at.

Spacemacs

brew tap d12frosted/emacs-plus
brew install emacs-plus --with-24bit-color --with-natural-title-bar --without-spacemacs-icon
yarn global add tern # for the javascript layer

Helpful tips in here

Fonts

Install the fonts in Library/Fonts

About


Languages

Language:Vim Script 80.6%Language:Emacs Lisp 14.2%Language:Vim Snippet 3.6%Language:Shell 1.3%Language:Elixir 0.2%