Giter Site home page Giter Site logo

86lightyear / dotfiles Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vsbuffalo/dotfiles

0.0 0.0 0.0 801 KB

My dotfiles, with simple install script.

R 0.56% Vim Script 63.87% Python 30.73% Perl 0.05% C++ 0.06% HTML 0.06% Shell 3.70% TeX 0.17% JavaScript 0.80%

dotfiles's Introduction

dotfiles

Here are my dotfiles and general instructions on how I set up my Mac OS X laptops (this will not work for Linux).

Prerequisites

  1. Install OS X Command Line Tools. Homebrew will also try to do this automatically.

  2. Install homebrew, then install git (to clone this repo):

     brew install git
    
  3. Install Anaconda. Download link (I use the Python 3 version) and installation instructions. Be sure to install for a single user on OS X only; the system-wide installs cause issues with permissions. This cannot be done via the command line.

Bootstrapping a new installation

For a new OS X development environment, clone this repository to the ~ directory and use the following to install:

git clone --recursive [email protected]:vsbuffalo/dotfiles.git
cd dotfiles
sh setup.sh

If you forget --recursive (as I often do), use:

git submodule update --init --recursive

This script does the following:

  • Installs Git, NeoVim, Ag, zsh, lesspipe, and tmux (from Homebrew, since these are dependencies)
  • Installs oh-my-zsh pretzo
  • Installs Futurama quotes
  • Links ~/.zshrc to dotfiles/zshrc
  • Links ~/.gitconfig
  • Links ~/.tmux.conf
  • Creates ~/.global_ignore from Github's .gitignore files and sets up Git colors
  • Links ~/.Rprofile and installs some R packages
  • Stores and links NeoVim's files (see below).
  • Installs joe, which is a nifty tool for getting gitignore files.

Linux minimum environment

For Linux, a minimum environment is set up. Since yum or apt-get may be used, this boostraph script does not install anything itself. This expects neovim and zsh to be installed, and copies over the configuration files of both (and creates global git ignore files, etc). Run:

sh min_setup.sh

Installed R and Bioconductor Packages

See install_rpkgs.R:

  • ggplot2
  • plyr
  • reshape
  • BiocInstaller
  • GenomicRanges
  • ggbio
  • Gviz
  • GenomicRanges
  • VariantAnnotation

NeoVim

Annoyed with Emacs running evil-mode (and clashing with packages like polyweb), I decided to try NeoVim. I'm happy to report that it's terrific, and is likely my permanent text editor. Using the vim-rsi plugin, I can use emacs mappings in insert mode (this is a big deal). There's also great support for Ag, Git through fugitive, really terrific Python, C/C++ completion through the unbeatable YouCompleteMe, and some hacky vimscript I wrote to send lines of code to the new, awesome NeoVim terminal. You can see all of my configurations in .nvim*. I will keep my old Vim configurations around too.

Pretzo

Recently, I have migrated from oh-my-zsh to pretzo.

git submodule add https://github.com/sorin-ionescu/prezto.git
git submodule update --init --recursive

I then link my own dotfiles/.zshrc to ~, not the one included in dotfiles/prezto/runcoms/. See install_prezto.zsh for more info -- this is adopted from the pretzo readme.

Sane Jupyter Notebook Diffs

From Erick Matsen: https://gist.github.com/matsen/37521f504a14aede644d

dotfiles's People

Contributors

vsbuffalo 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.