Skip to content

Instantly share code, notes, and snippets.

View dustypomerleau's full-sized avatar

Dusty Pomerleau dustypomerleau

View GitHub Profile
dustypomerleau /
Created September 17, 2023 11:49 — forked from bbqtd/
Installing tmux-256color for macOS

Installing tmux-256color for macOS

  • macOS 10.15.5
  • tmux 3.1b

macOS has ncurses version 5.7 which does not ship the terminfo description for tmux. There're two ways that can help you to solve this problem.

The Fast Blazing Solution

Instead of tmux-256color, use screen-256color which comes with system. Place this command into ~/.tmux.conf or ~/.config/tmux/tmux.conf(for version 3.1 and later):

dustypomerleau / global.code-snippets
Created May 26, 2020 02:32
Library/Application\ Support/Code/User/snippets/global.code-snippets
"lv_module": {
"scope": "elixir, html-eex",
"prefix": "lv",
"body": [
"defmodule ${1}Web.${2}Live do",
" use ${1}Web, :live_view",
"description": "LiveView module"
dustypomerleau /
Last active April 3, 2023 03:56
An abbreviated guide to the Git squash-and-rebase workflow with relevant commands
# Github fork button
git clone <my-fork-url>
git remote add upstream <original-repo-url>
# check remotes are both configured
git remote -v
# Time to work
# update your master branch
git fetch upstream master # git fetch upstream will grab all branches
dustypomerleau /
Last active March 5, 2019 08:24
tapdance example

Using tap dance for advanced mod-tap and layer-tap keys

Tap dance can be used to emulate MT() and LT() behavior when the tapped code is not a basic keycode. This is useful to send tapped keycodes that normally require Shift, such as parentheses or curly braces—or other modified keycodes, such as Control + X.

Below your layers and custom keycodes, add the following:

// tapdance keycodes
enum td_keycodes {
  ALT_OP // Our example key: `LALT` when held, `(` when tapped. Add additional keycodes for each tapdance.

An introduction to alternative keyboard layouts

This is a post to satisfy your curiosity about alternative keyboard layouts, why some people use them, and whether they're for you. It is intended to discuss the topic in broad terms, but I will share my personal preferences towards the end. Due to time constraints and my own limited knowledge, I will focus on layouts optimized for the English language (ANSI variants, with an occasional nod to ISO).

First off, it's important to understand how much debate there is about how we got here: I will not even attempt to settle the issue of who invented the 'first' typewriter layout, because the modern device had many predecessors going back centuries. The usual legend of typewriter evolution holds that American Christopher Latham Sholes debuted the typewriter in 1868 with a 2-row layout that was (nearly) alphabetical. A horizontal stagger between the rows made room for the lever arms attached to each key:

 3 5 7 9 N O P Q R S T U V W X Y Z
2 4 6 8 . A B C D E
dustypomerleau /
Last active March 9, 2019 12:14
Minidox keymap

This gist is no longer up to date. You can see my current keymap in the main QMK repo.

Keybase proof

I hereby claim:

  • I am dustypomerleau on github.
  • I am dustypomerleau ( on keybase.
  • I have a public key whose fingerprint is A28D 3DA8 FAFB 50F6 0FDD 451E 93DB E9DD 822B 7A45

To claim this, I am signing this object: