Skip to content

Instantly share code, notes, and snippets.

View sachee's full-sized avatar

Sasha Solomon sachee

  • Twitter
  • San Francisco
View GitHub Profile
@sachee
sachee / keymap.c
Created March 23, 2019 23:45
sachee dactyl keyboard layout
#include "Dactyl.h"
#include "action_layer.h"
#include "eeconfig.h"
extern keymap_config_t keymap_config;
#define _QWERTY 0
#define _NUMLAYER 1
enum custom_keycodes {
QWERTY,
NUMLAYER
alias gcurrbranch='git rev-parse --abbrev-ref HEAD'
function gupush()
{
branch=${1:-$(gcurrbranch)}
echo "git push -u origin $branch"
git push origin $branch
}
function gpush()
{