Skip to content

charliewilco/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

First things first, install Xcode and open it or try and run xcode-select --install. Also if you're not me, please do not install dotfiles verbatim from this repo.

Inital Setup & Config

Setting up a new machine should be easy. Run:

curl -L https://raw.githubusercontent.com/charliewilco/dotfiles/main/init.sh | bash -s -- all

Setup

This installs Homebrew & Cask and executes a bunch of brew install commands to go and setup iTerm2, Vundle, tpm a collection of awesome utility apps, MongoDB, Node.js (this is my preferred method of installing Node it normally prevents you from having to run sudo all the time).

The config script sets up Vim and copies all my preferences for Vim / NeoVim, tmux, OhMyZSH, Hammerspoon, and puts them in their proper places. Plus exports Oceanic Next color palettes from Github and drops the ones for iTerm2 in ~/Downloads/.

Cheatsheet

There's a cheatsheet for very common things I do with Vim and command line utilities (ie ag, hub, and more to come).

SSH

You need to create a file for SSH ~/.ssh/config with the following contents:

Host *
    UseKeychain yes

It solves a lot of isses with macOS Sierra and SSH that didn't exist in previous versions.

tmux colors + Italics

There are two files here with the .terminfo extension, do the following with them:

tic -x xterm-256color-italic.terminfo
tic -x tmux-256color.terminfo
if has('termguicolors')
	" Don't need this in xterm-256color, but do need it inside tmux.
	" (See `:h xterm-true-color`.)
	if &term =~# 'tmux-256color'
		let &t_8f="\e[38;2;%ld;%ld;%ldm"
		let &t_8b="\e[48;2;%ld;%ld;%ldm"
	endif
endif
set -g default-terminal 'tmux-256color'
set -as terminal-overrides ',xterm*:Tc:sitm=\E[3m'

Other Dotfiles

This is the list of dotfiles I've looked through and learned something cool from:

Contributing

First off, you're awesome for wanting to contribute. Second, please take a second to go over a few things to make this process simpler for everyone. Third, you're awesome.

Pull Requests

  • Fork this repo.
  • Push to your fork and submit a pull request.
  • Please provide a short explanation of why you made the changes you made.

License

The Unlicense

About

🛠 Configuration for vim / neovim, git, tmux, zsh, etc.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published