Commits on Sep 15, 2017
  1. Add deprecation

    derekprior committed with geoffharcourt Sep 8, 2017
  2. Use ASDF for version managment

    derekprior committed with geoffharcourt Aug 4, 2017
    ASDF has plugins for Ruby, Node, Elixir, Haskell, Scala, Go, etc.
    Instead of finding and installing a new tool each time we have need for
    a version manager in a new tools, we can use the same tool we already
    know, adding a new plugin.
    This change is the result of a successful [research card][1] and has a
    corresponding change to [laptop][2].
    [2]: thoughtbot/laptop#502
Commits on Aug 29, 2017
Commits on Aug 28, 2017
  1. Add a specific "Update" section to the README

    christoomey committed Aug 26, 2017
    Thanks to rcm and the `post-up` hook file, the dotfiles do a great job
    of keeping things up to date.
    This change adds a bit of detail and specificity to the README around
    updating, specifically clarifying the need to run `rcup` after pulling
    to link new files and install new vim plugins.
Commits on Aug 25, 2017
  1. fix #524, update plugins

    floesche committed with geoffharcourt Jul 7, 2017
    * if .vim/autoload/plug.vim already exists, then use PlugUpgrade to get
      the newest version. This should fix #524.
    * change from PlugInstall to PlugUpdate which doesn't just install new
      plugins but also updates existing ones.
  2. Add `bin/git-trust-bin` command

    seanpdoyle committed with geoffharcourt Aug 4, 2017
    To [append a project's local `bin/` directory to `$PATH`][dotfiles],
    the dotfiles check for the existence of a special directory: `git/.safe`.
    This commit is inspired by [thoughtbot/suspenders#837][#837]:
    > The idea behind the .git/safe is that I run it manually and explicitly
    > after I trust the directoy and the team behind the project.
    > Creating it as part of the setup script defeats the point of that. Doing
    > so without explcitly telling the user comes across as sneaky, perhaps.
    > (I do expect all devs to read setup scripts before running them -- but I
    > also know that they do not!)
    > Switch this script to inform the user that they have no `.git/safe`
    > directory but might like to make one.
    Since suspenders may no longer mark projects safe by default, this
    commit introduces the `git trust-bin` command to do so.
    [#837]: thoughtbot/suspenders#837
Commits on Aug 10, 2017
  1. Move definition of `has_async`

    derekprior committed Aug 10, 2017
    We have an rcm `post-up` hook that installs plugins after running
    `rcup`. It does this by directly loading the `.vimrc.bundles` file,
    which means our regular `.vimrc` file is not sourced. This lead to
    `has_async` being undefined.
    By moving the definition into the `vimrc.bundles` we ensure it's
    available when that `post-up` hook runs. It remains available when
    needed in `vimrc` because we use it there *after* sourcing the bundles.
  2. Require Vim 8 or NeoVim

    derekprior committed Aug 8, 2017
    Now that we're using `ALE`, we're making use of the async features
    available in Vim8 and NeoVim. If you try to use these dotfiles on Vim 7,
    you'll get a host of errors from ALE.
    This change does two things:
    1. It writes an error when starting in an unsupported vim version.
    2. It skips loading ALE in those versions.
    The thinking behind the second change is to leave vim in a more usable
    state with minimal annoyance after the initial error.
Commits on Aug 6, 2017
  1. Replace Syntastic with ALE

    derekprior committed Aug 6, 2017
    ALE is an Asynchronous Linting Engine which works with Vim 8 and NeoVim
    to lint your code "as you type". It does so without blocking the main
    thread by using the asynchronous features of both of those Vim versions.
    A number of us in Boston have been using ALE for some time now with
    great success. The asynchronous nature means linting does not block
    other interactions with Vim and it's been nice to get linting feedback
    more often than buffer write.
    Many of us find the "as-you-type" linting to be performant enough to
    actually be a distraction, so this PR tones that down some. With this
    configuration, ALE will lint on cursor hold durations of 1 second and
    when leaving insert mode in addition to buffer write, buffer read, and
    file type change.
Commits on Jun 19, 2017
  1. Capitalize l in leaders

    rldaggie committed Jun 19, 2017
Commits on May 25, 2017
  1. Revert "Skip compiled wordcode files (ie. zwc extensions)"

    geoffharcourt committed May 25, 2017
    This reverts commit 5178a8a.
  2. Revert "Combine conditional statements"

    geoffharcourt committed May 25, 2017
    This reverts commit cae0bd0.
    This implementation appears to break sourced configurations. Reverting
    until we figure out a resolution.
Commits on May 23, 2017
  1. Combine conditional statements

    jeckhart committed May 23, 2017
Commits on May 22, 2017
Commits on May 8, 2017
  1. Merge pull request #523 from thoughtbot/replace-coffee-with-java

    geoffharcourt committed on GitHub May 8, 2017
    Add JavaScript syntax highlighting
  2. Don't rely on Bash in post-up hook

    geoffharcourt committed May 1, 2017
    In 16219a3 we implemented a post-up
    hook that checked for a problematic `/etc/zshenv` file. OSX/macOS has
    changed the file responsible for executing `path_helper` and loading the
    system paths multiple times, and this script change issued a warning to
    users if `path_helper` might be called in such a way that their paths
    could be unexpectedly reordered.
    The script used colored output to highlight this problem for the user,
    and relied on Bash's script path introspection (through `$BASH_SOURCE`)
    to print the location of the `post-up` hook to assist the user in
    troubleshooting and understanding where our warning came from.
    This change removes the hook's reliance on GNU Bash in favor of `sh`. It
    uses the POSIX-compliant `$0` to determine the hook location (this
    method is less robust than Bash's `$BASH_SOURCE`, but is available in
    all POSIX shells) and removes colored output in the warning to be
    compatible with shells that don't support colored output.
    Fix #517.
  3. Add JavaScript syntax highlighting

    croaky committed May 8, 2017
    It seems like JavaScript/ES6 is becoming more common for us to run into
    in the wild compared to CoffeeScript
    with the advent of Babel / transpiling.
    Eventually, we'll probably want to remove kchmck/vim-coffee-script.
    Users working on CoffeeScript applications would need to move that
    plugin into their personal dotfiles.
Commits on Apr 28, 2017
  1. Run `reset` in post-up hook to fix terminal issue

    geoffharcourt committed Apr 28, 2017
    Some tmux users have reported that when running `rcup` that during the
    post-up hook Vim would issue errors about input not coming from a
    terminal and then the terminal would look and behave unexpectedly.
    Running `reset` after the Vim plugin install step in `post-up` appears
    to resolve the issue.
    Fix #516.
  2. Allow user to ignore some default vim plugins

    geoffharcourt committed Nov 1, 2016
    The `UnPlug` command allows a user to remove a plugin from vim-plug's
    list of plugins to install/activate. This command can be used to
    selectively ignore shared plugins from `vimrc.bundles` without needing
    to overwrite the entire file with a personal replacement.
    This change is dependent on vim-plug continuing to use the `g:plugs`
    global variable.
  3. Unbind the shortcut for suspend-client

    MattMSumner committed with geoffharcourt Apr 28, 2017
    I occasionally will try to zoom in on a pane with the key combination of
    C-s then z. However, instead of having the agility to remove my finger
    from the ctrl key, I clumsily continue to have it depressed while
    applying pressure to the z key. This results in the `suspend-client`
    command being executed by tmux. I am then left not knowing what to do
    and I can't reattach to the session the that terminal window. It's very
    disconcerting and I wish it hadn't happened.
    This PR:
    Removes the binding for `suspend-client`.
Commits on Apr 27, 2017
  1. Remove gvimrc

    croaky committed Apr 27, 2017
    This originally came from jferris/dotfiles,
    the parent of thoughtbot/dotifles.
    I'm not a Vim GUI user.
    Are others at thoughtbot also shell Vim users?
Commits on Apr 26, 2017
  1. Remove git churn command

    croaky committed Apr 26, 2017
    I added this four years ago but haven't been using it.
    Not common enough to be included in company-wide dotfiles?
    Can move to personal dotfiles if desired.
Commits on Mar 24, 2017
Commits on Mar 10, 2017
  1. Update thoughtbot logo

    tysongach committed on GitHub Mar 10, 2017
Commits on Feb 21, 2017
Commits on Jan 24, 2017
  1. Revert "Explicitly specify no input from terminal in post-up hook"

    geoffharcourt committed Jan 24, 2017
    This reverts commit 99a18f6.
    Users reported problems after this change, so I'm pulling it.
Commits on Jan 19, 2017
  1. Explicitly specify no input from terminal in post-up hook

    geoffharcourt committed with geoffharcourt Jan 19, 2017
    This change prevents the `post-up` hook from breaking the terminal for
    the rest of the session when running `rcup`. Since the session is
    completely automated, we don't need input from the terminal once Vim
  2. Move aliases below local config

    dtt101 committed with geoffharcourt Jan 15, 2017
    Enables overriding of aliases that environment variables
  3. Add pre-push git hook

    bradurani committed with geoffharcourt Sep 28, 2016
Commits on Jul 22, 2016
  1. Add `ag` mappings in vim

    geoffharcourt committed Jul 22, 2016
    - Create an `:Ag` command if none is defined.
    - map `\` in normal mode to set up the command for an argument
  2. Use "absolute" paths for agignore

    rspeicher committed with geoffharcourt Jul 5, 2016
    This seems to resolve an issue where CtrlP would randomly return "NO
    This also sorts the paths alphabetically, because OCD. 🎉
Commits on Jun 28, 2016
  1. Update install documentation

    geoffharcourt committed Jun 28, 2016
    In #488 there was some confusion over where to clone the dotfiles
    repository before running `rcm`. While the repository can be placed
    anywhere, by default users should be placing it in `~/dotfiles` if they
    are using the default installation instructions and an unmodified
    Close #488.
Commits on Jun 10, 2016
  1. Add a zsh binding for push-line-or-edit: ^Q

    mike-burns committed Apr 25, 2016
    The use case for push-line-or-edit:
    1. You are in the middle of typing a long command, perhaps something
    involving `tar`.
    2. You realize that you must first run another command, such as `man
    3. You invoke `push-line-or-edit`, which gives you a fresh prompt. You
    type `man tar` and read as needed.
    4. When the command (`man tar`) finishes, the long command you
    half-typed is back, exactly as you left off.
    Other use cases are realizing that you're in the wrong directory before
    you press enter, changing your Ruby version before you press enter on
    that `bundle` command, or in general being partway through something and
    realizing that you're not quite ready to run it yet.
    While here, turn off start/stop output control, which gives us back the
    ^Q keybinding.
Commits on Jun 8, 2016
  1. Configure basic ctags for javascript projects

    iwz committed May 23, 2016
    There are, apparently, more things we need to configure. @BlakeWilliams shared
    which outlines a bunch more things that don't work out of the box. For
    example, ES2015 classes and their methods are not properly found, even
    with this PR. There's more work to do here.