GithubHelp home page GithubHelp logo

dotfiles's Introduction

My dotfiles

Install

Clone this repo into ~/.dotfiles:

git clone [email protected]:henrik/dotfiles.git ~/.dotfiles

Then install the dotfiles:

cd .dotfiles
rake

This rake task will not replace existing files, but it will replace existing symlinks.

The dotfiles will be symlinked, e.g. ~/.bash_profile symlinked to ~/.dotfiles/bash_profile.

To use fzf in Vim (or the shell), install it with:

git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install

I intentionally do not install fzf via Vim, because I couldn't get it working well when sharing dotfiles beteeen a macOS host and a Linux guest.

You are expected to have Node installed with a new-enough version to make coc.nvim happy.

You are expected to have the solargraph gem installed to use coc.nvim with Ruby. If you use asdf, you should get this automatically when you install a new Ruby version via .default-gems. Otherwise use gem install solargraph.

In Vim, run this to install plugins:

:PlugInstall

Don't forget to replace the name and email in gitconfig if you're not Henrik :p

Vim

Uses vim-plug for plugins.

To add plugins:

  • Edit ~/.vim/config/plugins.vim
  • :so %
  • :PlugInstall

To remove plugins:

  • Edit ~/.vim/config/plugins.vim
  • :so %
  • :PlugClean

tmux

Make it integrate with the OS X system clipboard:

brew install reattach-to-user-namespace

Extras

The extras directory contains additional configuration files that are not dotfiles:

  • VibrantInk.itermcolors is a colorscheme for iTerm2 (source).

  • On a new Mac:

    • Run brew bundle --file ~/.dotfiles/extras/Brewfile to install the apps I want.
    • Run ~/.dotfiles/extras/os_x_defaults.sh in the Terminal to change some silly defaults.

dotfiles's People

Contributors

billhorsman avatar henrik 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.