/dotfiles

My Dotfiles

Primary LanguageLua

My Dotfiles

Requirements

  • Git
  • cURL

Install

Install config tracking in your $HOME by running:

$ curl -Lks git.io/vHjm6 | /bin/bash

The expanded url is at:

https://raw.githubusercontent.com/hdnha11/dotfiles/master/.bin/dotfiles-install.sh

Screenshots

Vim

Vim Screenshot #1

Color Scheme: rakr/vim-one
Font: 16pt Fira Code
Non-ASCII Font: 17pt DejaVu Sans Mono for Powerline

Vim Screenshot #2

Color Scheme: cocopon/iceberg.vim
Font: 15pt Iosevka
Non-ASCII Font: 16pt DejaVu Sans Mono for Powerline

Tmux

Tmux Screenshot #1

iTerm2 Color: Dark Background

Tmux Screenshot #2

iTerm2 Color: Iceberg

$ brew install reattach-to-user-namespace
For iTerm2 3.1.6+ Disable Use Unicode Version 9 Widths in Preferences/Profiles/Text

tmux-256color for macOS

$ curl -OJ https://gist.githubusercontent.com/nicm/ea9cf3c93f22e0246ec858122d9abea1/raw/37ae29fc86e88b48dbc8a674478ad3e7a009f357/tmux-256color
$ tic -x tmux-256color
$ rm tmux-256color

Source: https://gist.github.com/bbqtd/a4ac060d6f6b9ea6fe3aabe735aa9d95

Hammerspoon

Application Mode

App Switcher

Window Mode

Window Management

Set up a new Mac

# Install Homebrew (https://brew.sh/)
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

# Install Git, cURL
$ brew install git curl

# Grab backup folder from Dropbox

# Set up github ssh key (from backup)

# Get dotfiles
$ curl -Lks git.io/vHjm6 | /bin/bash

# Restore backup
$ .bin/restore-config.sh -p [backup-path]

# Install nvm (https://github.com/creationix/nvm#install-script)
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash

# Install Oh My Zsh (https://github.com/robbyrussell/oh-my-zsh)
$ sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
$ mv .zshrc.pre-oh-my-zsh .zshrc

# Install zsh-syntax-highlighting (https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/INSTALL.md)
$ git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

# Install zsh-autosuggestions (https://github.com/zsh-users/zsh-autosuggestions/blob/master/INSTALL.md)
$ git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

# Install vim-plug (https://github.com/junegunn/vim-plug)
$ curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

# Open Vim and run :PlugInstall

# Install Node LTS
$ nvm install --lts

# To install useful key bindings and fuzzy completion (fzf):
$ $(brew --prefix)/opt/fzf/install