Skip to content

Instantly share code, notes, and snippets.

View sts10's full-sized avatar

Sam Schlinkert sts10

View GitHub Profile
#include "keymap_common.h"
const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = KEYMAP( /* Charlie workman */
ESC, Q, D, R, W, B, J, F, U, P, SCLN, BSLS,
LCTL, A, S, H, T, G, Y, N, E, O, I, BSPC,
LSFT, Z, X, M, C, V, K, L, COMM, DOT, SLSH, ENT,
RSFT, LALT, LGUI, RCTL, FN2, SPC, FN1, LEFT, DOWN, UP, RGHT),
[1] = KEYMAP( /* Charlie RAISE */
TAB, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, BSPC,
@twosixcode
twosixcode / gist:1988097
Created March 6, 2012 18:40
Make "Paste and Indent" the default paste in Sublime Text 2
// swap the keybindings for paste and paste_and_indent
{ "keys": ["super+v"], "command": "paste_and_indent" },
{ "keys": ["super+shift+v"], "command": "paste" }