Code Monkey home page Code Monkey logo

dotfiles's Introduction

Phil's dotfiles

  • Forked from Paul Irish's dotfiles

Setup

installing & using

  • Set Bash as default shell chsh -s /bin/bash

  • brew install git

  • brew install coreutils for fancy ls colors

  • brew install gnu-sed (for diff-so-fancy)

  • brew install prettier

  • brew install rbenv ruby-build

  • mkdir ~/bin

  • cd ~/bin

  • ln -s ~/projects/dotfiles/bin/diff-so-fancy

  • ln -sf "$(brew --prefix)/share/git-core/contrib/diff-highlight/diff-highlight"

  • ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" (if using Sublime)

  • cd ..

  • ln -s ~/projects/dotfiles/.bash_prompt
    ln -s ~/projects/dotfiles/.aliases
    ln -s ~/projects/dotfiles/.gitconfig
    ln -s ~/projects/dotfiles/.gitignore
    ln -s ~/projects/dotfiles/.irbrc
    ln -s ~/projects/dotfiles/.pryrc
    ln -s ~/projects/dotfiles/.git-completion
    
  • Update ~/.bash_profile with contents of repo's .bash_profile

  • Update .gitconfig with user info as needed

  • Install awesome_print gem in global gemset (.irbrc will load it for Rails console)

Optional app setup

GitHub App

  • /Applications/GitHub\ Desktop.app/Contents/Resources/app/git/libexec/git-core/git-config core.excludesfile ~/.gitignore --global (set global gitignore file )

Sublime

  • Copy Sublime preferences, key bindings, and packages
    • Note: command bar shortcuts: Preferences: Key Bindings and Preferences: Package Control Settings
    • Another note: after copying Package Control.sublime-settings file packages will automatically install on Sublime restart

VS Code

  • Install Sublime keybindings extension

  • Add shortcut for Reveal Active file in Sidebar: command-ctrl-R

  • Enable native bracket matching

    {
      "editor.bracketPairColorization.enabled": true,
      "editor.guides.bracketPairs":"active"
    }
    
  • Install code terminal command

    image
  • Set Focus Editor Group (Above|Below|Right|Left) shortcuts

    image

  • Install Extensions

    • Sublime Text Keymap and Settings Importer
    • Toggle Quotes
    • Material Icon Theme

Rectangle

  • Install it - https://rectangleapp.com/
  • Choose Spectacle key bindings
  • ? Change fullscreen key binding to ctrl-option-command + F
  • Remove center screen key binding

dotfiles's People

Contributors

paulirish avatar mathiasbynens avatar pkelly avatar matijs avatar amio avatar christianvuerings avatar alfredbez avatar alrra avatar danawoodman avatar gburtini avatar binwilly avatar jpsirois avatar jrk avatar mattbanks avatar mhumesf avatar steveperrycreative avatar timdream avatar vincepri avatar vitorgalvao avatar iloveitaly avatar jeroenbegyn avatar kyleridolfo avatar quicksnap avatar

Stargazers

Peter avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.