Skip to content

Instantly share code, notes, and snippets.

@rfdonnelly
rfdonnelly / .tmux.conf
Created July 15, 2020 19:01
tmux.conf
# act like screen
set -g prefix C-a
unbind C-b
bind a send-prefix # allow 'C-a a' to send C-a to application
bind C-a last-window # allow 'C-a C-a' to switch to last window
# vi key bindings
set-window-option -g mode-keys vi
set-option -g status-keys vi
@rfdonnelly
rfdonnelly / Rakefile
Created January 13, 2019 00:55
Rake output customization
# Rake output customization example
#
# Rake has two sources of output:
# * Rake::FileUtilsExt::rake_output_message
# * FileUtils::fu_output_message
#
# We can customize Rake output by monkey patching these methods. This example
# monkey patches these methods to pass the message to our transform_message
# method then passing the output to the original output method.