Skip to content
/ env Public

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

Notifications You must be signed in to change notification settings

defndaines/env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

env

Environmental configuration files to be shared across any machine I happen to be using. I try to keep things happy between Linux and macos.

In addition to these files, it have also installed git completion manually (not sure if this is still needed): https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash

vim

When setting up a new environment, add vim ephemera to the git ignore file. The git configuration has to be set per environment, since the path should be absolute.

echo "*.swp" >> ~/.gitignore
git config --global core.excludesfile ~/.gitignore

For vim, install these plugins by cloning into ${HOME}/.vim/pack/bundle/start/. The following are a list of vim libraries I've used at one point or another.

  • vim-slime Inject from one tmux pane to another.
  • ale Asynchronous Lint Engine
  • tabular Auto-align text, typically by a record separator. For example, :Tabularize /| aligns on pipe characters.
  • vim-repeat Allows using . with plugins.
  • vim-sandwich
  • nerdcommenter Code commenting functions.
  • vim-grepper Grepper for asynchronous greps
  • rainbow For rainbow parentheses.
  • spelunker For catching spelling errors inside code (smart about camelCase, etc.)
  • endwise.vim For automatically adding end statements in Elixir, Ruby, etc.
  • fzf and fzf.vim Fuzzy finder for quickly locating files.

Elixir

Clojure

Erlang

vim Colors

I've been favoring light themes for a bit now, but I keep a sparse ..vim/colors/ directory. Currently using PaperColor.

Customizations

When we want to track pairing at work, I'll add a .vim/work.vim file that looks roughly like this:

" Coworker Git autocorrects
iab gjane Co-authored-by: Jane Doe <[email protected]>

CTags

I sometimes set up projects to use ctags. universal-ctags

OCaml

I'm not actively developing in OCaml at the moment, but I still like to have it set up in my environment, particularly so I can take advantage of patdiff. My .bash_profile already checks for opam installation (the OCaml package manager), .ocamlinit is already set up, and .gitconfig is set up to allow git patdiff <file>.

brew install opam
opam init
eval `opam config env`
opam update
opam install patdiff

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published