Skip to content

defndaines/env

Repository files navigation

env

Environmental configuration files to be shared across any machine I happen to be using.

New Machine Setup

After cloning this repo to ~/src/env, run:

bin/init-machine

This sets up dotfile symlinks, installs Homebrew packages from Brewfile, installs vim plugins, and configures the Terminal profile.

One manual step: copy .gitconfig to ~/.gitconfig and update the email address.

vim

Plugins are installed automatically by init-machine into ~/.vim/pack/bundle/start/. Current plugins:

  • ale — asynchronous lint engine
  • fzf and fzf.vim — fuzzy finder for quickly locating files
  • nerdcommenter — code commenting functions
  • rainbow — rainbow parentheses
  • spelunker — spell checking inside code (smart about camelCase, etc.)
  • tabular — auto-align text by a separator, e.g., :Tabularize /|
  • vim-elixir — Elixir syntax and indentation
  • vim-endwise — automatically adds end in Elixir, etc.
  • vim-grepper — asynchronous grep
  • vim-lsp — LSP client
  • vim-repeat — allows using . with plugins
  • vim-sandwich — add/remove/replace surrounding delimiters
  • vim-slime — inject text from one tmux pane to another

Customizations

For pairing at work, add a .vim/work.vim with co-author abbreviations:

" Coworker Git autocorrects
iab gjane Co-authored-by: Jane Doe <jane.doe@company.com>

About

Environmental configuration files to be shared across any machine I happen to be using.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors