Replace tabs with spaces
This commit is contained in:
		@@ -29,23 +29,23 @@ use it to add things like copying/pasting, tabbing between fields, etc.
 | 
			
		||||
from kmk.handlers.sequences import simple_key_sequence
 | 
			
		||||
 | 
			
		||||
PASTE_WITH_COMMENTARY = simple_key_sequence(
 | 
			
		||||
	(
 | 
			
		||||
		KC.L,
 | 
			
		||||
		KC.O,
 | 
			
		||||
		KC.O,
 | 
			
		||||
		KC.K,
 | 
			
		||||
		KC.SPC,
 | 
			
		||||
		KC.A,
 | 
			
		||||
		KC.T,
 | 
			
		||||
		KC.SPC,
 | 
			
		||||
		KC.T,
 | 
			
		||||
		KC.H,
 | 
			
		||||
		KC.I,
 | 
			
		||||
		KC.S,
 | 
			
		||||
		KC.COLN,
 | 
			
		||||
		KC.SPC,
 | 
			
		||||
		KC.LCTL(KC.V),
 | 
			
		||||
	)
 | 
			
		||||
        (
 | 
			
		||||
                KC.L,
 | 
			
		||||
                KC.O,
 | 
			
		||||
                KC.O,
 | 
			
		||||
                KC.K,
 | 
			
		||||
                KC.SPC,
 | 
			
		||||
                KC.A,
 | 
			
		||||
                KC.T,
 | 
			
		||||
                KC.SPC,
 | 
			
		||||
                KC.T,
 | 
			
		||||
                KC.H,
 | 
			
		||||
                KC.I,
 | 
			
		||||
                KC.S,
 | 
			
		||||
                KC.COLN,
 | 
			
		||||
                KC.SPC,
 | 
			
		||||
                KC.LCTL(KC.V),
 | 
			
		||||
        )
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
keyboard.keymap = [<other keycodes>, PASTE_WITH_COMMENTARY, <other keycodes>]
 | 
			
		||||
@@ -64,18 +64,18 @@ length of time, in milliseconds.
 | 
			
		||||
from kmk.handlers.sequences import simple_key_sequence
 | 
			
		||||
 | 
			
		||||
COUNTDOWN_TO_PASTE = simple_key_sequence(
 | 
			
		||||
	(
 | 
			
		||||
		KC.N3,
 | 
			
		||||
		KC.ENTER,
 | 
			
		||||
		KC.MACRO_SLEEP_MS(1000),
 | 
			
		||||
		KC.N2,
 | 
			
		||||
		KC.ENTER,
 | 
			
		||||
		KC.MACRO_SLEEP_MS(1000),
 | 
			
		||||
		KC.N1,
 | 
			
		||||
		KC.ENTER,
 | 
			
		||||
		KC.MACRO_SLEEP(1000),
 | 
			
		||||
		KC.LCTL(KC.V),
 | 
			
		||||
	)
 | 
			
		||||
        (
 | 
			
		||||
                KC.N3,
 | 
			
		||||
                KC.ENTER,
 | 
			
		||||
                KC.MACRO_SLEEP_MS(1000),
 | 
			
		||||
                KC.N2,
 | 
			
		||||
                KC.ENTER,
 | 
			
		||||
                KC.MACRO_SLEEP_MS(1000),
 | 
			
		||||
                KC.N1,
 | 
			
		||||
                KC.ENTER,
 | 
			
		||||
                KC.MACRO_SLEEP(1000),
 | 
			
		||||
                KC.LCTL(KC.V),
 | 
			
		||||
        )
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
keyboard.keymap = [<other keycodes>, COUNTDOWN_TO_PASTE, <other keycodes>]
 | 
			
		||||
@@ -158,8 +158,8 @@ keys), that's supported too, through an obnoxiously long-winded method:
 | 
			
		||||
from kmk.handlers.sequences import compile_unicode_string_sequences as cuss
 | 
			
		||||
 | 
			
		||||
emoticons = cuss({
 | 
			
		||||
	'BEER': r'🍺',
 | 
			
		||||
	'HAND_WAVE': r'👋',
 | 
			
		||||
        'BEER': r'🍺',
 | 
			
		||||
        'HAND_WAVE': r'👋',
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
keymap = [<other keycodes>, emoticons.BEER, emoticons.HAND_WAVE, <other keycodes>]
 | 
			
		||||
@@ -177,8 +177,8 @@ supported too, through `unicode_codepoint_sequence`.
 | 
			
		||||
from kmk.handlers.sequences import unicode_codepoint_sequence
 | 
			
		||||
 | 
			
		||||
TABLE_FLIP = unicode_codepoint_sequence([
 | 
			
		||||
	"28", "30ce", "ca0", "75ca","ca0", "29",
 | 
			
		||||
	"30ce", "5f61", "253b", "2501", "253b",
 | 
			
		||||
        "28", "30ce", "ca0", "75ca","ca0", "29",
 | 
			
		||||
        "30ce", "5f61", "253b", "2501", "253b",
 | 
			
		||||
])
 | 
			
		||||
 | 
			
		||||
keyboard.keymap = [<other keycodes>, TABLE_FLIP, <other keycodes>]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user