Permalink
Commits on Apr 29, 2017
  1. Highlight the current line, only for the buffer with focus

    Reason for Change
    =================
    * Sometimes, it's hard to find the cursor :/
    
    Changes
    =======
    * Set the `cursorline` in a smart way.
    
    Thanks!
    -------
    * @thorncp
    * @gabebw
    
    Original: gabebw/dotfiles@ed3759c#commitcomment-21957151
    committed Apr 29, 2017
Commits on Apr 8, 2017
  1. Vim: Remove unnecessary script sourcing

    Title
    
    Reason for Change
    =================
    * [As @gabebw noted thoughtfully][1], sourcing the squirrel file directly is not necessary. Vim will source everything in `~/.vim/plugin/` for me.
    * Turns out I had not done an `rcup; rcdn` so the file wasn't included correctly.
    
    [1]: #68 (review)
    
    Changes
    =======
    * Don't source the file explicitly.
    
    Minor
    -----
    * The prompt needs a space after the new emoji.
    committed Apr 8, 2017
Commits on Apr 4, 2017
  1. Convert prompt symbols to emoji

    Reason for Change
    =================
    * Because @gabewbw did it.
    * See gabebw/dotfiles@12b3e54
    
    Changes
    =======
    * Use a more generic variable name (e.g. clean/dirty).
    * Copy/paste an emoji in there.
    * Note: this fixes the broken checkmark issue, which is a nice two-fer
    committed Apr 4, 2017
  2. Vim: Add :Squirrel from @henrik

    Reason for Change
    =================
    * Make notes about things to remember for later.
    * Use `:Squirrel! <some message>` and a note will be made in a `.squirrel` file with a reference to the filename and line number.
    * This allows you to use `:Squirrel` and open the list, then `gf` to the spot where you left a note.
    
    Changes
    =======
    * Add the squirrel script in the plugin dir.
    * Source the script in `vimrc`.
    * `.gitignore` the new files which are dropped.
    
    Attribution
    ===========
    * Originally from https://github.com/henrik/dotfiles/blob/master/vim/plugin/squirrel.vim
    * Noticed in @gabebw's dotfiles (gabebw/dotfiles@65a4efb)
    committed Apr 4, 2017
Commits on Jan 27, 2017
  1. Try out vim-sort-motion

    Reason for Change
    =================
    * I'm constantly sorting things.
    
    Changes
    =======
    * Add [Chris' `vim-sort-motion` plugin][1].
    
    [1]: https://github.com/christoomey/vim-sort-motion
    committed Jan 27, 2017
Commits on Jan 12, 2017
  1. Change cleanup script from mtime to atime

    Reason for Change
    =================
    * I downloaded some files and they disappeared almost immediately.
    * I realized the `mtime` of the file was set by the creator and was older than our threshold for the cleanup script.
    * `atime` is more reasonable - when did I last look at this file?
    
    Changes
    =======
    * Change `mtime` for `atime` in the `clean_downloads` script.
    committed Jan 12, 2017
  2. Use direnv for directory-specific shell config

    Reason for Change
    =================
    * On a client project, some directory-specific aliases and `ENV`s were required.
    * The proposed solution was a little aggressive, clobbering cd kind of heavily.
    * This seemed a little cleaner.
    
    Changes
    =======
    * Use [`direnv`][1] to load `.envrc` files, should they exist.
    * Add some files to the `.gitignore_global` to avoid committing them to VC.
    
    [1]: https://direnv.net/
    committed Jan 12, 2017
Commits on Jan 11, 2017
  1. Add multichange.vim for multiple variable renaming

    Reason for Change
    =================
    * Allow for quicker renaming of a variable throughout a file:
    ![Demo](http://i.andrewradev.com/b67a88ca3660b2c41f9afe7c1bd88460.gif)
    
    Changes
    =======
    * Add `Plug 'AndrewRadev/multichange.vim'`.
    
    https://github.com/AndrewRadev/multichange.vim
    committed Dec 30, 2016
Commits on Jan 9, 2017
  1. Use BSD find instead of ZSH mv

    Reason for Change
    =================
    * Errors! The files wouldn't move and the logs looked confusing.
    * Specifically, I got a lot of `zsh : no matches found` errors in the log, which I don't want since I run this script every minute.
    
    Changes
    =======
    * Use BSD `find` and then `-exec` to `mv` files into the trash.
    * Since this is OS X and zsh, we have to quote the curlies to make it work.
    committed Jan 9, 2017
Commits on Dec 30, 2016
Commits on Dec 29, 2016
  1. Update more aggressive cleanup script

    Reason for Change
    =================
    * The cleanup script was not working.
    
    Changes
    =======
    * Rather than set the script to clean every 1 week `(mw+1)`, set it to every 168 hours `(mh+168)`
    * Also clean out directories and subdirs using `**\*`.
    committed Dec 29, 2016
  2. Use the latest version for Postgres.app binaries

    Reason for Change
    =================
    * The shell wasn't able to find the `dropdb` CLI tool for Postgres.app.
    * The `PATH` update pointed toward a specific PG version.
    
    Changes
    =======
    * Use the `\latest\` symlink, which is less brittle.
    
    https://postgresapp.com/documentation/cli-tools.html
    committed Dec 29, 2016
Commits on Dec 16, 2016
  1. Treat .etl files like Ruby

    Reason for Change
    =================
    * Some [kiba][1] work I am doing leads me to create `.etl` files.
    * These are Ruby, so I'm missing lots of syntax highlighting.
    
    [1]: https://github.com/thbar/kiba
    
    Changes
    =======
    * Ask Vim to look at `.etl` files as Ruby.
    committed Dec 16, 2016
Commits on Nov 18, 2016
  1. Highlight Yanked Sections

    Reason for Change
    =================
    * I mean, it's awesome!
    
    Changes
    =======
    * Add the `vim-highlightedyank` plugin.
    * Configure it to stay highlit for 5 seconds.
    committed Nov 18, 2016
Commits on Oct 28, 2016
  1. When showing git branches, show all

    Reason for Change
    =================
    * I'm constantly doing this: `gb` then `gb -a`. Why? WHY???
    
    Changes
    =======
    * Just show all the branches all the time.
    committed Oct 28, 2016
Commits on Oct 17, 2016
  1. Remove unnecessary flag from homebrew's upgrade

    Reason for Change
    =================
    * Got this message from Homebrew today when running my [`good_morning`][1] script:
    
    > Warning: We decided to not change the behaviour of `brew upgrade` so
    > `brew upgrade --all` is equivalent to `brew upgrade` without any other
    > arguments (so the `--all` is a no-op and can be removed).
    
    Changes
    =======
    * Remove the `--all` flag from `brew upgrade`.
    
    [1]: https://github.com/adarsh/dotfiles/blob/176791f3262a8af16ae29e64337280776a15aeca/aliases#L111-L113
    committed Oct 17, 2016
Commits on Oct 13, 2016
  1. Fix vim copy/paste in tmux broken by Sierra

    Reason for Change
    =================
    * Sierra broke the `reattach-to-user-namespace` behavior.
    
    Changes
    =======
    * Use the fix mentioned [here][1].
    
    [1]: tmux/tmux#543 (comment)
    committed Oct 13, 2016
Commits on Sep 30, 2016
  1. Update RuboCop Configuration

    Reason For Change
    =================
    * My canonical `.rubocop.yml` file is out of date.
    * I'm going to point repo versions to this remote in future to keep from updating .rubocop.yml's in several places.
    
    Change
    ======
    * Add default `.rubocop.yml` file.
    * Add enabled/disabled files for configuration.
    * Remove the extra maybe configuration
    committed Sep 30, 2016
Commits on Sep 28, 2016
  1. Mess with chpwd

    committed Sep 28, 2016
  2. Clear the screen before each command

    Reason for Change
    =================
    * After looking through my shell history, I noticed I clear the screen a great deal to not confuse myself.
    * I rarely need to look at the output from two subsequent commands at the same time.
    
    Changes
    =======
    * Add a `preexec` function which runs `clear` "just after a command has been read and is about to be executed."
    From the man page:
    
    > If the history mechanism is active (regardless of whether the line was discarded from the history buffer), the string that the user typed is passed as the first argument, otherwise it is an empty string. The actual command that will be executed (including expanded aliases) is passed in two different forms: the second argument is a single-line, size-limited version of the command (with things like function bodies elided); the third argument contains the full text that is being executed.
    
    http://zsh.sourceforge.net/Doc/Release/Functions.html
    committed Sep 28, 2016
Commits on Jul 29, 2016
Commits on Jul 28, 2016
  1. .gitignore vim-plug

    Title
    
    Reason for Change
    =================
    * I update `vim-plug` regularly in my [`vim_update_plugins` and `good_morning`][1] scripts.
    * Occasionally, this updates `vim-plug` itself, which leads to lots of commits for this purpose.
    * It's not necessary to check this into version control, so let's not.
    
    Changes
    =======
    * `.gitignore` the `vim-plug` files.
    * Remove the files to untrack them in `git`.
    
    Minor
    -----
    * `:sort` the `.gitignore` file.
    
    [1]: https://github.com/adarsh/dotfiles/blob/ce4773197e2f074002ee920126cf135fca03cc27/aliases#L112-L113
    committed Jul 28, 2016
Commits on Jul 26, 2016
  1. Always reload changed files

    Reason for Change
    =================
    * When vim detects that a file has been changed, it politely asks you if you want to load the new file.
    * The answer is always yes, so this should probably be a default.
    * Hat tip to @gabebwe (Here: gabebw/dotfiles@4b6c410) and @jcmorrow
    
    Changes
    =======
    * Set `autoread`.
    committed Jul 26, 2016
Commits on Jul 18, 2016
  1. Update vim-plug

    committed Jul 18, 2016
Commits on Jul 13, 2016
  1. alias git ss > `diff --shortstat`

    Reason for Change
    =================
    From @thorncp's [PR][1]:
    
    > When working on a feature branch, I often stop to check in on my current diff size, to judge whether I should make an attempt to submit a pull request with the work done so far, or continue implementing the feature.  I don't have any hard limits, but usually when a diff is in the ballpark of 300 line changes, I'll make an attempt to submit a PR with those isolated changes.
    >
    > Note: this will only calculate stats for files already in the index, e.g. new files won't be included unless they are added with `git add -N` first.
    
    > Note: to calculate these stats on changes that have been staged, execute `git ss --cached`. I don't think I do this often enough to warrant an alias for it.
    
    Changes
    =======
    * Add an alias to return the stats of the diff vs. master.
    
    Minor
    =====
    * Shuffle some aliases around.
    
    [1]: thorncp/dotfiles#5
    committed Jul 13, 2016
  2. Add git aliases and syntax highlighting

    Reason for Change
    =================
    * I'm attempting to try to use [`gitsh`] but I'm too hardwired to my aliases.
    
    Changes
    =======
    * Move most of my existing aliases into the `gitconfig`.
    
    Minor
    -----
    * Add [`vim-git`] for syntax highlighting of git-type files.
    
    [`gitsh`]: https://github.com/thoughtbot/gitsh
    [`vim-git`]: https://github.com/tpope/vim-git
    committed Jul 6, 2016
Commits on Jun 29, 2016
  1. Update vim-plug

    committed Jun 29, 2016
Commits on Jun 17, 2016
  1. Update vim-plug

    committed Jun 17, 2016
Commits on Jun 15, 2016
  1. Enable git's compactionHeuristic

    Reason for Change
    =================
    * git 2.9 added a new configuration for clearer diffs.
    
    Example:
    ```
    def finalize(values)
    
    	values.each do |v|
    +      v.prepare
    +    end
    +
    +    values.each do |v|
    		v.finalize
    	end
    end
    ```
    
    ```
       def finalize(values)
    
    +    values.each do |v|
    +      v.prepare
    +    end
    +
         values.each do |v|
           v.finalize
         end
    ```
    
    Changes
    =======
    * Enable the new compaction heuristic.
    
    https://github.com/blog/2188-git-2-9-has-been-released#beautiful-diffs
    committed Jun 15, 2016
Commits on Jun 1, 2016
  1. Add an alias for Rerun

    Reason for Change
    =================
    * The `rerun` gem will watch for changes to Ruby files and rerun a command.
    * This is nice for continuously running tests, if that's your thing.
    
    Changes
    =======
    * Add an alias for the `rerun` gem to clear the screen and ignore the coverage directory.
    
    https://github.com/alexch/rerun
    committed May 28, 2016
Commits on May 31, 2016
  1. Update vim-plug

    committed May 31, 2016
Commits on May 23, 2016
  1. Update vim-plug

    committed May 23, 2016
Commits on May 20, 2016
  1. Fix download cleaning script

    Reason for Change
    =================
    * The launchagent I wrote long ago was never working.
    * The goal was to move files out of `~/Downloads` which had an `mtime` (modified timestamp) older than 1 week.
    * I added logging and realized something was off in the configuration.
    
    Changes
    =======
    * Change from executing an `mv` command to running a script.
    * Add output logging to `/tmp/` for the script to monitor the status.
    * Change to run every 60 seconds rather than every hour. It IS a robot, after all.
    * Add the script in the `~/.bin` dir.
    committed May 20, 2016
Commits on May 19, 2016
  1. Use my fork of tomorrow-night-eighties colorscheme

    Reason for Change
    =================
    * Turns out fairyfloss.vim does not have syntax highlighting set up well for Ruby :/
    * I liked `tomorrow-night-eighties` and wanted to use that.
    * Also turns out I was mis-configuring my terminal emulation for iTerm2.
    
    Changes
    =======
    * Add [my fork of `vim-tomorrow-theme`][1] as a plugin. I forked it to set the background color to `#000000`.
    * Remove `fairyfloss`.
    * Set the `TERM` variable correctly for iTerm2
    
    [1]: https://github.com/adarsh/vim-tomorrow-theme
    committed May 19, 2016