Skip to content

Instantly share code, notes, and snippets.

View bookshelfdave's full-sized avatar

Dave Parfitt bookshelfdave

  • Buffalo NY
View GitHub Profile
@bookshelfdave
bookshelfdave / foo.sh
Created February 3, 2017 19:45 — forked from bearcage/-
OSX config tweaks
#!/usr/bin/env sh
# I've adapted this from the following, which was in turn adapted from the link
# below it:
# * https://raw.github.com/gist/2108403/hack.sh
# * https://github.com/mathiasbynens/dotfiles/blob/master/.osx
echo "Enable full keyboard access for all controls (e.g. enable Tab in modal dialogs)"
# defaults write NSGlobalDomain AppleKeyboardUIMode -int 3
%% -*- erlang-indent-level: 4;indent-tabs-mode: nil -*-
%% ex: ts=4 sw=4 et
-module(user_default).
-compile(export_all).
-include("/srv/piab/mounts/oc_erchef/deps/chef_objects/include/chef_types.hrl").
-include("/srv/piab/mounts/oc_erchef/deps/oc_chef_authz/include/oc_chef_authz.hrl").
-include("/srv/piab/mounts/oc_erchef/deps/oc_chef_authz/include/oc_chef_types.hrl").
%-include("/srv/piab/mounts/oc_erchef/deps/oc_chef_wm/include/oc_chef_wm.hrl").
%-include("/srv/piab/mounts/oc_erchef/deps/chef_wm/include/chef_wm.hrl").
bind-key -tvim-copy c copy-selection
bind-key -tvim-copy x copy-pipe "reattach-to-user-namespace /usr/bin/pbcopy"
bind-key -tvim-copy z copy-pipe "mate"