# HG changeset patch # User Steve Losh # Date 1530742142 0 # Node ID 069ed14df8ff0b199403c5f70fcd05a7de6cdef8 # Parent ab1b62093e4de8e7690bab865d80b64c19c13048 More linux diff -r ab1b62093e4d -r 069ed14df8ff DefaultKeyBinding.dict diff -r ab1b62093e4d -r 069ed14df8ff fish/config.fish --- a/fish/config.fish Wed Jul 04 03:12:05 2018 +0000 +++ b/fish/config.fish Wed Jul 04 22:09:02 2018 +0000 @@ -46,7 +46,6 @@ function jesus_fucking_christ_bind_the_fucking_keys_fish bind \cn accept-autosuggestion bind \cw backward-kill-word - bind \cf fzf-fish end function fish_user_keybindings jesus_fucking_christ_bind_the_fucking_keys_fish diff -r ab1b62093e4d -r 069ed14df8ff fish/functions/pbc.fish --- a/fish/functions/pbc.fish Wed Jul 04 03:12:05 2018 +0000 +++ b/fish/functions/pbc.fish Wed Jul 04 22:09:02 2018 +0000 @@ -1,3 +1,3 @@ function pbc -d "pbcopy" - pbcopy $argv + xsel --clipboard --input end diff -r ab1b62093e4d -r 069ed14df8ff fish/functions/pbp.fish --- a/fish/functions/pbp.fish Wed Jul 04 03:12:05 2018 +0000 +++ b/fish/functions/pbp.fish Wed Jul 04 22:09:02 2018 +0000 @@ -1,3 +1,3 @@ function pbp -d "pbpaste" - pbpaste $argv + xsel --clipboard end diff -r ab1b62093e4d -r 069ed14df8ff karabiner/assets/complex_modifications/1505240117.json --- a/karabiner/assets/complex_modifications/1505240117.json Wed Jul 04 03:12:05 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,65 +0,0 @@ -{ - "title": "Shift keys to parentheses", - "rules": [ - { - "description": "map left shift to opening parenthesis", - "manipulators": [ - { - "type": "basic", - "from": { - "key_code": "left_shift", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to_if_alone": [ - { - "key_code": "9", - "modifiers": [ - "left_shift" - ] - } - ], - "to": [ - { - "key_code": "left_shift", - "modifiers": [] - } - ] - } - ] - }, - { - "description": "map right shift to closing parenthesis", - "manipulators": [ - { - "type": "basic", - "from": { - "key_code": "right_shift", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to_if_alone": [ - { - "key_code": "0", - "modifiers": [ - "right_shift" - ] - } - ], - "to": [ - { - "key_code": "right_shift", - "modifiers": [] - } - ] - } - ] - } - ] -} diff -r ab1b62093e4d -r 069ed14df8ff karabiner/karabiner.json --- a/karabiner/karabiner.json Wed Jul 04 03:12:05 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,315 +0,0 @@ -{ - "global": { - "check_for_updates_on_startup": true, - "show_in_menu_bar": true, - "show_profile_name_in_menu_bar": false - }, - "profiles": [ - { - "complex_modifications": { - "parameters": { - "basic.to_if_alone_timeout_milliseconds": 200 - }, - "rules": [ - { - "description": "ctrl to hyper", - "manipulators": [ - { - "from": { - "key_code": "left_control", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_shift", - "modifiers": [ - "left_command", - "left_control", - "left_option" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "capslock to ctrl/esc", - "manipulators": [ - { - "from": { - "key_code": "caps_lock", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_control" - } - ], - "to_if_alone": [ - { - "key_code": "escape" - } - ], - "type": "basic" - } - ] - }, - { - "description": "Unmangle shiftparens", - "manipulators": [ - { - "from": { - "key_code": "spacebar", - "modifiers": { - "mandatory": [ - "right_shift" - ] - } - }, - "to": [ - { - "key_code": "0", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "key_code": "right_shift", - "modifiers": { - "mandatory": [ - "left_shift" - ] - } - }, - "to": [ - { - "key_code": "9", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "0", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "map left shift to opening parenthesis", - "manipulators": [ - { - "from": { - "key_code": "left_shift", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_shift", - "modifiers": [] - } - ], - "to_if_alone": [ - { - "key_code": "9", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "map right shift to closing parenthesis", - "manipulators": [ - { - "from": { - "key_code": "right_shift", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "right_shift", - "modifiers": [] - } - ], - "to_if_alone": [ - { - "key_code": "0", - "modifiers": [ - "right_shift" - ] - } - ], - "type": "basic" - } - ] - } - ] - }, - "devices": [ - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "identifiers": { - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 283, - "vendor_id": 2131 - }, - "ignore": false, - "simple_modifications": [ - { - "from": { - "key_code": "left_command" - }, - "to": { - "key_code": "left_option" - } - }, - { - "from": { - "key_code": "left_option" - }, - "to": { - "key_code": "left_command" - } - } - ] - } - ], - "fn_function_keys": [ - { - "from": { - "key_code": "f1" - }, - "to": { - "consumer_key_code": "display_brightness_decrement" - } - }, - { - "from": { - "key_code": "f2" - }, - "to": { - "consumer_key_code": "display_brightness_increment" - } - }, - { - "from": { - "key_code": "f3" - }, - "to": { - "key_code": "mission_control" - } - }, - { - "from": { - "key_code": "f4" - }, - "to": { - "key_code": "launchpad" - } - }, - { - "from": { - "key_code": "f5" - }, - "to": { - "key_code": "illumination_decrement" - } - }, - { - "from": { - "key_code": "f6" - }, - "to": { - "key_code": "illumination_increment" - } - }, - { - "from": { - "key_code": "f7" - }, - "to": { - "consumer_key_code": "rewind" - } - }, - { - "from": { - "key_code": "f8" - }, - "to": { - "consumer_key_code": "play_or_pause" - } - }, - { - "from": { - "key_code": "f9" - }, - "to": { - "consumer_key_code": "fastforward" - } - }, - { - "from": { - "key_code": "f10" - }, - "to": { - "consumer_key_code": "mute" - } - }, - { - "from": { - "key_code": "f11" - }, - "to": { - "consumer_key_code": "volume_decrement" - } - }, - { - "from": { - "key_code": "f12" - }, - "to": { - "consumer_key_code": "volume_increment" - } - } - ], - "name": "Default profile", - "selected": true, - "simple_modifications": [], - "virtual_hid_keyboard": { - "caps_lock_delay_milliseconds": 0, - "keyboard_type": "ansi" - } - } - ] -} diff -r ab1b62093e4d -r 069ed14df8ff keyremap4macbook/cadet.py --- a/keyremap4macbook/cadet.py Wed Jul 04 03:12:05 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,131 +0,0 @@ -# -*- coding: utf8 -*- -import string - -greek = [ - ('a', u'α' u'Α', u'', u''), - ('b', u'β' u'Β', u'', u''), - ('c', u'χ' u'Χ', u'', u''), - ('d', u'δ' u'Δ', u'', u''), - ('e', u'ε' u'Ε', u'', u''), - ('f', u'φ' u'Φ', u'', u''), - ('g', u'γ' u'Γ', u'', u''), - ('h', u'η' u'Η', u'', u''), - ('i', u'ι' u'Ι', u'', u''), - ('j', u'ϑ' u'Θ', u'', u''), - ('k', u'κ' u'Κ', u'', u''), - ('l', u'λ' u'Λ', u'', u''), - ('m', u'μ' u'Μ', u'', u''), - ('n', u'ν' u'Ν', u'', u''), - ('o', u'ο' u'Ο', u'', u''), - ('p', u'π' u'Π', u'', u''), - ('q', u'θ' u'Θ', u'', u''), - ('r', u'ρ' u'Ρ', u'', u''), - ('s', u'σ' u'Σ', u'', u''), - ('t', u'τ' u'Τ', u'', u''), - ('u', u'υ' u'Υ', u'', u''), - ('v', u'ς' u'Σ', u'', u''), - ('w', u'ω' u'Ω', u'', u''), - ('x', u'ξ' u'Ξ', u'', u''), - ('y', u'ψ' u'Ψ', u'', u''), - ('z', u'ζ' u'Ζ', u'', u''), -] - -math = [ - ('a', u'∧', u'ℵ', u'', u''), - ('c', u'∘', u'ℂ', u'', u''), - ('e', u'∈', u'∉', u'', u''), - ('f', u'∫', u'', u'', u''), - ('i', u'∩', u'∞', u'', u''), - ('n', u'' , u'ℕ', u'', u''), - ('o', u'∨', u'', u'', u''), - ('r', u'√', u'ℝ', u'', u''), - # ('t', u'⊢', u'⊥', u'', u''), - ('u', u'∪', u'', u'', u''), - ('x', u'⊻', u'', u'', u''), - ('z', u'' , u'ℤ', u'', u''), - ('-', u'¬', u'', u'', u''), - ('=', u'≠', u'±', u'', u''), - ('/', u'÷', u'', u'', u''), - (',', u'' , u'≤', u'', u''), - ('.', u'·', u'≥', u'', u''), - ('0', u'∅', u'', u'', u''), - ('8', u'' , u'×', u'', u''), - ('`', u'' , u'≈', u'', u''), - ('[', u'⊂', u'⊄', u'⊆', u'⊈'), - (']', u'⊃', u'⊅', u'⊇', u'⊉'), - ('right', u'→', u'↛', u'⇒', u'⇏'), - ('left', u'←', u'↚', u'⇐', u'⇍'), - ('up', u'↔', u'↮', u'⇔', u'⇎'), - ('down', u'↔', u'↮', u'⇔', u'⇎'), -] - -def get_keycode(c): - if c in string.letters: - return c - elif c in string.digits: - return 'KEY_' + c - else: - return { - '-': 'MINUS', - '=': 'EQUAL', - '/': 'SLASH', - '\\': 'BACKSLASH', - '.': 'DOT', - ',': 'COMMA', - "'": 'QUOTE', - ';': 'SEMICOLON', - '[': 'BRACKET_LEFT', - ']': 'BRACKET_RIGHT', - '`': 'BACKQUOTE', - 'left': 'CURSOR_LEFT', - 'right': 'CURSOR_RIGHT', - 'down': 'CURSOR_DOWN', - 'up': 'CURSOR_UP', - }[c] - -def get_line(c): - line_template = r'''KeyCode::%s, ModifierFlag::OPTION_L,''' - key = get_keycode(c) - return line_template % key - -def get_codepoint(c): - r = repr(c) - if len(r) == 7: - return '00' + r[-3:-1].upper() - else: - return r[-5:-1].upper() - -def get_chunk(source_key, dest_char, mod, buckies): - modifier_chunks = ['ModifierFlag::EXTRA%d'% mod] - modifier_chunks.extend(buckies) - modifier = ' | '.join(modifier_chunks) - - codepoint = get_codepoint(dest_char) - lines = '\n'.join(get_line(c) for c in codepoint) - - return r''' - - --KeyToKey-- - KeyCode::%s, %s, - %s - - ''' % (source_key, modifier, lines) - -def for_map(m, modifier): - for k, bare, shift, ctrl, shiftctrl in m: - k = get_keycode(k).upper() - - if shiftctrl: - print get_chunk(k, shiftctrl, modifier, ['VK_CONTROL', 'VK_SHIFT']) - - if shift: - print get_chunk(k, shift, modifier, ['VK_SHIFT']) - - if ctrl: - print get_chunk(k, ctrl, modifier, ['VK_CONTROL']) - - if bare: - print get_chunk(k, bare, modifier, []) - -# for_map(greek, 4) -for_map(math, 3) diff -r ab1b62093e4d -r 069ed14df8ff keyremap4macbook/private.xml --- a/keyremap4macbook/private.xml Wed Jul 04 03:12:05 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1200 +0,0 @@ - - - - - Space Cadet Mode - This mode emulates a few of the features of the Space Cadet keyboard. - It also adds a few other helpful mappings. - It requires the Unicode Hex Input keyboard layout for the Greek and Math layers. - - - Force yourself to use the correct shift keys. - space_cadet.force_correct_shifts - - --KeyToKey-- KeyCode::Q, ModifierFlag::SHIFT_L, KeyCode::VK_NONE - --KeyToKey-- KeyCode::W, ModifierFlag::SHIFT_L, KeyCode::VK_NONE - --KeyToKey-- KeyCode::E, ModifierFlag::SHIFT_L, KeyCode::VK_NONE - --KeyToKey-- KeyCode::R, ModifierFlag::SHIFT_L, KeyCode::VK_NONE - --KeyToKey-- KeyCode::T, ModifierFlag::SHIFT_L, KeyCode::VK_NONE - --KeyToKey-- KeyCode::A, ModifierFlag::SHIFT_L, KeyCode::VK_NONE - --KeyToKey-- KeyCode::S, ModifierFlag::SHIFT_L, KeyCode::VK_NONE - --KeyToKey-- KeyCode::D, ModifierFlag::SHIFT_L, KeyCode::VK_NONE - --KeyToKey-- KeyCode::F, ModifierFlag::SHIFT_L, KeyCode::VK_NONE - --KeyToKey-- KeyCode::G, ModifierFlag::SHIFT_L, KeyCode::VK_NONE - --KeyToKey-- KeyCode::Z, ModifierFlag::SHIFT_L, KeyCode::VK_NONE - --KeyToKey-- KeyCode::X, ModifierFlag::SHIFT_L, KeyCode::VK_NONE - --KeyToKey-- KeyCode::C, ModifierFlag::SHIFT_L, KeyCode::VK_NONE - --KeyToKey-- KeyCode::V, ModifierFlag::SHIFT_L, KeyCode::VK_NONE - - --KeyToKey-- KeyCode::Y, ModifierFlag::SHIFT_R, KeyCode::VK_NONE - --KeyToKey-- KeyCode::U, ModifierFlag::SHIFT_R, KeyCode::VK_NONE - --KeyToKey-- KeyCode::I, ModifierFlag::SHIFT_R, KeyCode::VK_NONE - --KeyToKey-- KeyCode::O, ModifierFlag::SHIFT_R, KeyCode::VK_NONE - --KeyToKey-- KeyCode::P, ModifierFlag::SHIFT_R, KeyCode::VK_NONE - --KeyToKey-- KeyCode::H, ModifierFlag::SHIFT_R, KeyCode::VK_NONE - --KeyToKey-- KeyCode::J, ModifierFlag::SHIFT_R, KeyCode::VK_NONE - --KeyToKey-- KeyCode::K, ModifierFlag::SHIFT_R, KeyCode::VK_NONE - --KeyToKey-- KeyCode::L, ModifierFlag::SHIFT_R, KeyCode::VK_NONE - --KeyToKey-- KeyCode::SEMICOLON, ModifierFlag::SHIFT_R, KeyCode::VK_NONE - --KeyToKey-- KeyCode::N, ModifierFlag::SHIFT_R, KeyCode::VK_NONE - --KeyToKey-- KeyCode::M, ModifierFlag::SHIFT_R, KeyCode::VK_NONE - --KeyToKey-- KeyCode::COMMA, ModifierFlag::SHIFT_R, KeyCode::VK_NONE - --KeyToKey-- KeyCode::DOT, ModifierFlag::SHIFT_R, KeyCode::VK_NONE - --KeyToKey-- KeyCode::QUOTE, ModifierFlag::SHIFT_R, KeyCode::VK_NONE - - - Shifts to Parentheses - Shifts, when pressed alone, type parentheses. - When used with other keys they're normal shifts. - - space_cadet.shifts_to_parens - - - --KeyOverlaidModifier-- KeyCode::SHIFT_R, ModifierFlag::SHIFT_R | ModifierFlag::NONE, KeyCode::SHIFT_R, KeyCode::KEY_0, ModifierFlag::SHIFT_L - --KeyOverlaidModifier-- KeyCode::SHIFT_L, ModifierFlag::SHIFT_L | ModifierFlag::NONE, KeyCode::SHIFT_L, KeyCode::KEY_9, ModifierFlag::SHIFT_R - - - --KeyToKey-- KeyCode::SHIFT_L, ModifierFlag::SHIFT_R, KeyCode::KEY_0, ModifierFlag::SHIFT_L, KeyCode::KEY_9, ModifierFlag::SHIFT_L - --KeyToKey-- KeyCode::SHIFT_R, ModifierFlag::SHIFT_L, KeyCode::KEY_9, ModifierFlag::SHIFT_L, KeyCode::KEY_0, ModifierFlag::SHIFT_L - - - --KeyToKey-- KeyCode::SPACE, ModifierFlag::SHIFT_R, KeyCode::KEY_0, ModifierFlag::SHIFT_L, KeyCode::SPACE - - - Remap Held Tab to Hyper - OS X doesn't have a Hyper. This maps Held Tab to Control + Shift + Option + Command. - You can use this key in your own custom keyboard shortcuts you create in apps. - - space_cadet.held_tab_to_hyper - - - --KeyOverlaidModifier-- - KeyCode::TAB, - ModifierFlag::NONE, - - KeyCode::COMMAND_L, - ModifierFlag::OPTION_L | ModifierFlag::SHIFT_L | ModifierFlag::CONTROL_L, - - KeyCode::TAB - - - - Remap Left Control to Hyper - OS X doesn't have a Hyper. This maps Left Control to Control + Shift + Option + Command. - You can use this key in your own custom keyboard shortcuts you create in apps. - - space_cadet.left_control_to_hyper - - - --KeyToKey-- - KeyCode::F19, - - KeyCode::COMMAND_L, - ModifierFlag::OPTION_L | ModifierFlag::SHIFT_L | ModifierFlag::CONTROL_L - - - - Restore [Shift-]Opt-(Left/Right) - The Unicode Hex Input keyboard layout disables these keys for some reason. - - space_cadet.fix_opt_arrows - - - --KeyToKey-- - KeyCode::CURSOR_LEFT, VK_OPTION | VK_SHIFT, - - KeyCode::B, - ModifierFlag::OPTION_L | ModifierFlag::SHIFT_L | ModifierFlag::CONTROL_L - - - --KeyToKey-- - KeyCode::CURSOR_LEFT, VK_OPTION, - - KeyCode::B, - ModifierFlag::OPTION_L | ModifierFlag::CONTROL_L - - - --KeyToKey-- - KeyCode::CURSOR_RIGHT, VK_OPTION | VK_SHIFT, - - KeyCode::F, - ModifierFlag::OPTION_L | ModifierFlag::SHIFT_L | ModifierFlag::CONTROL_L - - - --KeyToKey-- - KeyCode::CURSOR_RIGHT, VK_OPTION, - - KeyCode::F, - ModifierFlag::OPTION_L | ModifierFlag::CONTROL_L - - - - - Math Layer - Right Control key activates the Math key layer. - - space_cadet.math_layer - - - --KeyToKey-- - KeyCode::CONTROL_R, - KeyCode::VK_STICKY_EXTRA3 - - - - - --KeyToKey-- - KeyCode::A, ModifierFlag::EXTRA3 | VK_SHIFT, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_1, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::KEY_5, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::A, ModifierFlag::EXTRA3, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_7, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::C, ModifierFlag::EXTRA3 | VK_SHIFT, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_1, ModifierFlag::OPTION_L, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::C, ModifierFlag::EXTRA3, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_1, ModifierFlag::OPTION_L, - KeyCode::KEY_8, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::E, ModifierFlag::EXTRA3 | VK_SHIFT, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_9, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::E, ModifierFlag::EXTRA3, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_8, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::F, ModifierFlag::EXTRA3, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::B, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::I, ModifierFlag::EXTRA3 | VK_SHIFT, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_1, ModifierFlag::OPTION_L, - KeyCode::E, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::I, ModifierFlag::EXTRA3, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_9, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::N, ModifierFlag::EXTRA3 | VK_SHIFT, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_1, ModifierFlag::OPTION_L, - KeyCode::KEY_1, ModifierFlag::OPTION_L, - KeyCode::KEY_5, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::O, ModifierFlag::EXTRA3, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_8, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::R, ModifierFlag::EXTRA3 | VK_SHIFT, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_1, ModifierFlag::OPTION_L, - KeyCode::KEY_1, ModifierFlag::OPTION_L, - KeyCode::D, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::R, ModifierFlag::EXTRA3, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_1, ModifierFlag::OPTION_L, - KeyCode::A, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::U, ModifierFlag::EXTRA3, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::A, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::X, ModifierFlag::EXTRA3, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::B, ModifierFlag::OPTION_L, - KeyCode::B, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::Z, ModifierFlag::EXTRA3 | VK_SHIFT, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_1, ModifierFlag::OPTION_L, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_4, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::MINUS, ModifierFlag::EXTRA3, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::A, ModifierFlag::OPTION_L, - KeyCode::C, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::EQUAL, ModifierFlag::EXTRA3 | VK_SHIFT, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::B, ModifierFlag::OPTION_L, - KeyCode::KEY_1, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::EQUAL, ModifierFlag::EXTRA3, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_6, ModifierFlag::OPTION_L, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::SLASH, ModifierFlag::EXTRA3, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::F, ModifierFlag::OPTION_L, - KeyCode::KEY_7, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::COMMA, ModifierFlag::EXTRA3 | VK_SHIFT, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_6, ModifierFlag::OPTION_L, - KeyCode::KEY_4, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::DOT, ModifierFlag::EXTRA3 | VK_SHIFT, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_6, ModifierFlag::OPTION_L, - KeyCode::KEY_5, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::DOT, ModifierFlag::EXTRA3, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::B, ModifierFlag::OPTION_L, - KeyCode::KEY_7, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::KEY_0, ModifierFlag::EXTRA3, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_5, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::KEY_8, ModifierFlag::EXTRA3 | VK_SHIFT, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::D, ModifierFlag::OPTION_L, - KeyCode::KEY_7, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::BACKQUOTE, ModifierFlag::EXTRA3 | VK_SHIFT, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_4, ModifierFlag::OPTION_L, - KeyCode::KEY_8, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::BRACKET_LEFT, ModifierFlag::EXTRA3 | VK_CONTROL | VK_SHIFT, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_8, ModifierFlag::OPTION_L, - KeyCode::KEY_8, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::BRACKET_LEFT, ModifierFlag::EXTRA3 | VK_SHIFT, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_8, ModifierFlag::OPTION_L, - KeyCode::KEY_4, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::BRACKET_LEFT, ModifierFlag::EXTRA3 | VK_CONTROL, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_8, ModifierFlag::OPTION_L, - KeyCode::KEY_6, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::BRACKET_LEFT, ModifierFlag::EXTRA3, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_8, ModifierFlag::OPTION_L, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::BRACKET_RIGHT, ModifierFlag::EXTRA3 | VK_CONTROL | VK_SHIFT, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_8, ModifierFlag::OPTION_L, - KeyCode::KEY_9, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::BRACKET_RIGHT, ModifierFlag::EXTRA3 | VK_SHIFT, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_8, ModifierFlag::OPTION_L, - KeyCode::KEY_5, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::BRACKET_RIGHT, ModifierFlag::EXTRA3 | VK_CONTROL, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_8, ModifierFlag::OPTION_L, - KeyCode::KEY_7, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::BRACKET_RIGHT, ModifierFlag::EXTRA3, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_8, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::CURSOR_RIGHT, ModifierFlag::EXTRA3 | VK_CONTROL | VK_SHIFT, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_1, ModifierFlag::OPTION_L, - KeyCode::C, ModifierFlag::OPTION_L, - KeyCode::F, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::CURSOR_RIGHT, ModifierFlag::EXTRA3 | VK_SHIFT, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_1, ModifierFlag::OPTION_L, - KeyCode::KEY_9, ModifierFlag::OPTION_L, - KeyCode::B, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::CURSOR_RIGHT, ModifierFlag::EXTRA3 | VK_CONTROL, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_1, ModifierFlag::OPTION_L, - KeyCode::D, ModifierFlag::OPTION_L, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::CURSOR_RIGHT, ModifierFlag::EXTRA3, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_1, ModifierFlag::OPTION_L, - KeyCode::KEY_9, ModifierFlag::OPTION_L, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::CURSOR_LEFT, ModifierFlag::EXTRA3 | VK_CONTROL | VK_SHIFT, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_1, ModifierFlag::OPTION_L, - KeyCode::C, ModifierFlag::OPTION_L, - KeyCode::D, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::CURSOR_LEFT, ModifierFlag::EXTRA3 | VK_SHIFT, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_1, ModifierFlag::OPTION_L, - KeyCode::KEY_9, ModifierFlag::OPTION_L, - KeyCode::A, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::CURSOR_LEFT, ModifierFlag::EXTRA3 | VK_CONTROL, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_1, ModifierFlag::OPTION_L, - KeyCode::D, ModifierFlag::OPTION_L, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::CURSOR_LEFT, ModifierFlag::EXTRA3, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_1, ModifierFlag::OPTION_L, - KeyCode::KEY_9, ModifierFlag::OPTION_L, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::CURSOR_UP, ModifierFlag::EXTRA3 | VK_CONTROL | VK_SHIFT, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_1, ModifierFlag::OPTION_L, - KeyCode::C, ModifierFlag::OPTION_L, - KeyCode::E, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::CURSOR_UP, ModifierFlag::EXTRA3 | VK_SHIFT, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_1, ModifierFlag::OPTION_L, - KeyCode::A, ModifierFlag::OPTION_L, - KeyCode::E, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::CURSOR_UP, ModifierFlag::EXTRA3 | VK_CONTROL, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_1, ModifierFlag::OPTION_L, - KeyCode::D, ModifierFlag::OPTION_L, - KeyCode::KEY_4, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::CURSOR_UP, ModifierFlag::EXTRA3, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_1, ModifierFlag::OPTION_L, - KeyCode::KEY_9, ModifierFlag::OPTION_L, - KeyCode::KEY_4, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::CURSOR_DOWN, ModifierFlag::EXTRA3 | VK_CONTROL | VK_SHIFT, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_1, ModifierFlag::OPTION_L, - KeyCode::C, ModifierFlag::OPTION_L, - KeyCode::E, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::CURSOR_DOWN, ModifierFlag::EXTRA3 | VK_SHIFT, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_1, ModifierFlag::OPTION_L, - KeyCode::A, ModifierFlag::OPTION_L, - KeyCode::E, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::CURSOR_DOWN, ModifierFlag::EXTRA3 | VK_CONTROL, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_1, ModifierFlag::OPTION_L, - KeyCode::D, ModifierFlag::OPTION_L, - KeyCode::KEY_4, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::CURSOR_DOWN, ModifierFlag::EXTRA3, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - KeyCode::KEY_1, ModifierFlag::OPTION_L, - KeyCode::KEY_9, ModifierFlag::OPTION_L, - KeyCode::KEY_4, ModifierFlag::OPTION_L, - - - - - - Greek Layer - Right PC Application key activates the Greek key layer. - - space_cadet.greek_layer - - - --KeyToKey-- - KeyCode::PC_APPLICATION, - KeyCode::VK_STICKY_EXTRA4 - - - - - - --KeyToKey-- - KeyCode::A, ModifierFlag::EXTRA4 | VK_SHIFT, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::KEY_9, ModifierFlag::OPTION_L, - KeyCode::KEY_1, ModifierFlag::OPTION_L, - - - --KeyToKey-- - KeyCode::A, ModifierFlag::EXTRA4, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::B, ModifierFlag::OPTION_L, - KeyCode::KEY_1, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::B, ModifierFlag::EXTRA4 | VK_SHIFT, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::KEY_9, ModifierFlag::OPTION_L, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - - - --KeyToKey-- - KeyCode::B, ModifierFlag::EXTRA4, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::B, ModifierFlag::OPTION_L, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::C, ModifierFlag::EXTRA4 | VK_SHIFT, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::A, ModifierFlag::OPTION_L, - KeyCode::KEY_7, ModifierFlag::OPTION_L, - - - --KeyToKey-- - KeyCode::C, ModifierFlag::EXTRA4, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::C, ModifierFlag::OPTION_L, - KeyCode::KEY_7, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::D, ModifierFlag::EXTRA4 | VK_SHIFT, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::KEY_9, ModifierFlag::OPTION_L, - KeyCode::KEY_4, ModifierFlag::OPTION_L, - - - --KeyToKey-- - KeyCode::D, ModifierFlag::EXTRA4, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::B, ModifierFlag::OPTION_L, - KeyCode::KEY_4, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::E, ModifierFlag::EXTRA4 | VK_SHIFT, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::KEY_9, ModifierFlag::OPTION_L, - KeyCode::KEY_5, ModifierFlag::OPTION_L, - - - --KeyToKey-- - KeyCode::E, ModifierFlag::EXTRA4, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::B, ModifierFlag::OPTION_L, - KeyCode::KEY_5, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::F, ModifierFlag::EXTRA4 | VK_SHIFT, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::A, ModifierFlag::OPTION_L, - KeyCode::KEY_6, ModifierFlag::OPTION_L, - - - --KeyToKey-- - KeyCode::F, ModifierFlag::EXTRA4, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::C, ModifierFlag::OPTION_L, - KeyCode::KEY_6, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::G, ModifierFlag::EXTRA4 | VK_SHIFT, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::KEY_9, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - - - --KeyToKey-- - KeyCode::G, ModifierFlag::EXTRA4, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::B, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::H, ModifierFlag::EXTRA4 | VK_SHIFT, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::KEY_9, ModifierFlag::OPTION_L, - KeyCode::KEY_7, ModifierFlag::OPTION_L, - - - --KeyToKey-- - KeyCode::H, ModifierFlag::EXTRA4, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::B, ModifierFlag::OPTION_L, - KeyCode::KEY_7, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::I, ModifierFlag::EXTRA4 | VK_SHIFT, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::KEY_9, ModifierFlag::OPTION_L, - KeyCode::KEY_9, ModifierFlag::OPTION_L, - - - --KeyToKey-- - KeyCode::I, ModifierFlag::EXTRA4, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::B, ModifierFlag::OPTION_L, - KeyCode::KEY_9, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::J, ModifierFlag::EXTRA4 | VK_SHIFT, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::KEY_9, ModifierFlag::OPTION_L, - KeyCode::KEY_8, ModifierFlag::OPTION_L, - - - --KeyToKey-- - KeyCode::J, ModifierFlag::EXTRA4, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::D, ModifierFlag::OPTION_L, - KeyCode::KEY_1, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::K, ModifierFlag::EXTRA4 | VK_SHIFT, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::KEY_9, ModifierFlag::OPTION_L, - KeyCode::A, ModifierFlag::OPTION_L, - - - --KeyToKey-- - KeyCode::K, ModifierFlag::EXTRA4, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::B, ModifierFlag::OPTION_L, - KeyCode::A, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::L, ModifierFlag::EXTRA4 | VK_SHIFT, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::KEY_9, ModifierFlag::OPTION_L, - KeyCode::B, ModifierFlag::OPTION_L, - - - --KeyToKey-- - KeyCode::L, ModifierFlag::EXTRA4, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::B, ModifierFlag::OPTION_L, - KeyCode::B, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::M, ModifierFlag::EXTRA4 | VK_SHIFT, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::KEY_9, ModifierFlag::OPTION_L, - KeyCode::C, ModifierFlag::OPTION_L, - - - --KeyToKey-- - KeyCode::M, ModifierFlag::EXTRA4, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::B, ModifierFlag::OPTION_L, - KeyCode::C, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::N, ModifierFlag::EXTRA4 | VK_SHIFT, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::KEY_9, ModifierFlag::OPTION_L, - KeyCode::D, ModifierFlag::OPTION_L, - - - --KeyToKey-- - KeyCode::N, ModifierFlag::EXTRA4, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::B, ModifierFlag::OPTION_L, - KeyCode::D, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::O, ModifierFlag::EXTRA4 | VK_SHIFT, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::KEY_9, ModifierFlag::OPTION_L, - KeyCode::F, ModifierFlag::OPTION_L, - - - --KeyToKey-- - KeyCode::O, ModifierFlag::EXTRA4, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::B, ModifierFlag::OPTION_L, - KeyCode::F, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::P, ModifierFlag::EXTRA4 | VK_SHIFT, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::A, ModifierFlag::OPTION_L, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - - - --KeyToKey-- - KeyCode::P, ModifierFlag::EXTRA4, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::C, ModifierFlag::OPTION_L, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::Q, ModifierFlag::EXTRA4 | VK_SHIFT, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::KEY_9, ModifierFlag::OPTION_L, - KeyCode::KEY_8, ModifierFlag::OPTION_L, - - - --KeyToKey-- - KeyCode::Q, ModifierFlag::EXTRA4, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::B, ModifierFlag::OPTION_L, - KeyCode::KEY_8, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::R, ModifierFlag::EXTRA4 | VK_SHIFT, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::A, ModifierFlag::OPTION_L, - KeyCode::KEY_1, ModifierFlag::OPTION_L, - - - --KeyToKey-- - KeyCode::R, ModifierFlag::EXTRA4, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::C, ModifierFlag::OPTION_L, - KeyCode::KEY_1, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::S, ModifierFlag::EXTRA4 | VK_SHIFT, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::A, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - - - --KeyToKey-- - KeyCode::S, ModifierFlag::EXTRA4, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::C, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::T, ModifierFlag::EXTRA4 | VK_SHIFT, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::A, ModifierFlag::OPTION_L, - KeyCode::KEY_4, ModifierFlag::OPTION_L, - - - --KeyToKey-- - KeyCode::T, ModifierFlag::EXTRA4, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::C, ModifierFlag::OPTION_L, - KeyCode::KEY_4, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::U, ModifierFlag::EXTRA4 | VK_SHIFT, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::A, ModifierFlag::OPTION_L, - KeyCode::KEY_5, ModifierFlag::OPTION_L, - - - --KeyToKey-- - KeyCode::U, ModifierFlag::EXTRA4, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::C, ModifierFlag::OPTION_L, - KeyCode::KEY_5, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::V, ModifierFlag::EXTRA4 | VK_SHIFT, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::A, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - - - --KeyToKey-- - KeyCode::V, ModifierFlag::EXTRA4, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::C, ModifierFlag::OPTION_L, - KeyCode::KEY_2, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::W, ModifierFlag::EXTRA4 | VK_SHIFT, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::A, ModifierFlag::OPTION_L, - KeyCode::KEY_9, ModifierFlag::OPTION_L, - - - --KeyToKey-- - KeyCode::W, ModifierFlag::EXTRA4, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::C, ModifierFlag::OPTION_L, - KeyCode::KEY_9, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::X, ModifierFlag::EXTRA4 | VK_SHIFT, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::KEY_9, ModifierFlag::OPTION_L, - KeyCode::E, ModifierFlag::OPTION_L, - - - --KeyToKey-- - KeyCode::X, ModifierFlag::EXTRA4, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::B, ModifierFlag::OPTION_L, - KeyCode::E, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::Y, ModifierFlag::EXTRA4 | VK_SHIFT, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::A, ModifierFlag::OPTION_L, - KeyCode::KEY_8, ModifierFlag::OPTION_L, - - - --KeyToKey-- - KeyCode::Y, ModifierFlag::EXTRA4, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::C, ModifierFlag::OPTION_L, - KeyCode::KEY_8, ModifierFlag::OPTION_L, - - - - - --KeyToKey-- - KeyCode::Z, ModifierFlag::EXTRA4 | VK_SHIFT, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::KEY_9, ModifierFlag::OPTION_L, - KeyCode::KEY_6, ModifierFlag::OPTION_L, - - - --KeyToKey-- - KeyCode::Z, ModifierFlag::EXTRA4, - KeyCode::KEY_0, ModifierFlag::OPTION_L, - KeyCode::KEY_3, ModifierFlag::OPTION_L, - KeyCode::B, ModifierFlag::OPTION_L, - KeyCode::KEY_6, ModifierFlag::OPTION_L, - - - - - - F-Zero - This mode makes the F key (yes, the vanilla F key) enter a separate mode when held. - It's useful to add another layer to your keyboard with a super-easy key. - - f_zero.enable - - __HoldingKeyToKey__ KeyCode::F, KeyCode::F, KeyCode::VK_NONE, KeyCode::VK_MODIFIER_EXTRA2 - __KeyToKey__ KeyCode::H, ModifierFlag::EXTRA2, KeyCode::CURSOR_LEFT - __KeyToKey__ KeyCode::J, ModifierFlag::EXTRA2, KeyCode::CURSOR_DOWN - __KeyToKey__ KeyCode::K, ModifierFlag::EXTRA2, KeyCode::CURSOR_UP - __KeyToKey__ KeyCode::L, ModifierFlag::EXTRA2, KeyCode::CURSOR_RIGHT - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -r ab1b62093e4d -r 069ed14df8ff launchagents/com.stevelosh.dammitkeymando.plist --- a/launchagents/com.stevelosh.dammitkeymando.plist Wed Jul 04 03:12:05 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,14 +0,0 @@ - - - - - KeepAlive - - Label - com.stevelosh.dammitkeymando - ProgramArguments - - /Applications/Keymando.app/Contents/MacOS/Keymando - - - diff -r ab1b62093e4d -r 069ed14df8ff launchagents/com.stevelosh.mailsync.plist --- a/launchagents/com.stevelosh.mailsync.plist Wed Jul 04 03:12:05 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,14 +0,0 @@ - - - - - Label - com.stevelosh.mailsync - ProgramArguments - - /Users/sjl/lib/dotfiles/mutt/offlineimapsync.sh - - StartInterval - 300 - - diff -r ab1b62093e4d -r 069ed14df8ff osx.sh --- a/osx.sh Wed Jul 04 03:12:05 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,195 +0,0 @@ -#!/usr/bin/env bash - -# Disable menu bar transparency -defaults write NSGlobalDomain AppleEnableMenuBarTransparency -bool false - -# Show remaining battery time; hide percentage -defaults write com.apple.menuextra.battery ShowPercent -string "NO" -defaults write com.apple.menuextra.battery ShowTime -string "NO" - -# Always show scrollbars -# defaults write NSGlobalDomain AppleShowScrollBars -string "Always" - -# Expand save panel by default -defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true - -# Expand print panel by default -defaults write NSGlobalDomain PMPrintingExpandedStateForPrint -bool true - -# Disable the “Are you sure you want to open this application?” dialog -# defaults write com.apple.LaunchServices LSQuarantine -bool false - -# Display ASCII control characters using caret notation in standard text views -# Try e.g. `cd /tmp; unidecode "\x{0000}" > cc.txt; open -e cc.txt` -defaults write NSGlobalDomain NSTextShowsControlCharacters -bool true - -# Disable opening and closing window animations -defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false - -# Increase window resize speed for Cocoa applications -defaults write NSGlobalDomain NSWindowResizeTime -float 0.001 - -# Disable Resume system-wide -defaults write NSGlobalDomain NSQuitAlwaysKeepsWindows -bool false - -# Disable the “reopen windows when logging back in” option -# This works, although the checkbox will still appear to be checked, -# and the command needs to be entered again for every restart. -defaults write com.apple.loginwindow TALLogoutSavesState -bool false -defaults write com.apple.loginwindow LoginwindowLaunchesRelaunchApps -bool false - -# Fix for the ancient UTF-8 bug in QuickLook (http://mths.be/bbo) -# Commented out, as this is known to cause problems when saving files in Adobe Illustrator CS5 :( -#echo "0x08000100:0" > ~/.CFUserTextEncoding - -# Enable full keyboard access for all controls (e.g. enable Tab in modal dialogs) -defaults write NSGlobalDomain AppleKeyboardUIMode -int 3 - -# Enable subpixel font rendering on non-Apple LCDs -defaults write NSGlobalDomain AppleFontSmoothing -int 2 - -# Disable press-and-hold for keys in favor of key repeat -defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false - -# Set a blazingly fast keyboard repeat rate -defaults write NSGlobalDomain KeyRepeat -int 0 - -# Disable auto-correct -defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false - -# Require password immediately after sleep or screen saver begins -defaults write com.apple.screensaver askForPassword -int 1 -defaults write com.apple.screensaver askForPasswordDelay -int 0 - -# Allow quitting Finder via ⌘ + Q; doing so will also hide desktop icons -defaults write com.apple.finder QuitMenuItem -bool true - -# Disable window animations and Get Info animations in Finder -defaults write com.apple.finder DisableAllAnimations -bool true - -# Show all filename extensions in Finder -defaults write NSGlobalDomain AppleShowAllExtensions -bool true - -# Show status bar in Finder -defaults write com.apple.finder ShowStatusBar -bool true - -# Allow text selection in Quick Look -defaults write com.apple.finder QLEnableTextSelection -bool true - -# Disable disk image verification -defaults write com.apple.frameworks.diskimages skip-verify -bool true -defaults write com.apple.frameworks.diskimages skip-verify-locked -bool true -defaults write com.apple.frameworks.diskimages skip-verify-remote -bool true - -# Automatically open a new Finder window when a volume is mounted -defaults write com.apple.frameworks.diskimages auto-open-ro-root -bool true -defaults write com.apple.frameworks.diskimages auto-open-rw-root -bool true -defaults write com.apple.finder OpenWindowForNewRemovableDisk -bool true - -# Display full POSIX path as Finder window title -defaults write com.apple.finder _FXShowPosixPathInTitle -bool true - -# Avoid creating .DS_Store files on network volumes -defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true - -# Disable the warning when changing a file extension -defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false - -# Show item info below desktop icons -/usr/libexec/PlistBuddy -c "Set :DesktopViewSettings:IconViewSettings:showItemInfo true" ~/Library/Preferences/com.apple.finder.plist - -# Enable snap-to-grid for desktop icons -/usr/libexec/PlistBuddy -c "Set :DesktopViewSettings:IconViewSettings:arrangeBy kind" ~/Library/Preferences/com.apple.finder.plist - -# Disable the warning before emptying the Trash -defaults write com.apple.finder WarnOnEmptyTrash -bool false - -# Empty Trash securely by default -defaults write com.apple.finder EmptyTrashSecurely -bool true - -# Show the ~/Library folder -chflags nohidden ~/Library - -# Enable highlight hover effect for the grid view of a stack (Dock) -defaults write com.apple.dock mouse-over-hilte-stack -bool true - -# Enable spring loading for all Dock items -defaults write com.apple.dock enable-spring-load-actions-on-all-items -bool true - -# Show indicator lights for open applications in the Dock -defaults write com.apple.dock show-process-indicators -bool true - -# Don’t animate opening applications from the Dock -defaults write com.apple.dock launchanim -bool false - -# Remove the auto-hiding Dock delay -defaults write com.apple.Dock autohide-delay -float 10000 - -# Remove the animation when hiding/showing the Dock -defaults write com.apple.dock autohide-time-modifier -float 0 - -# Enable the 2D Dock -defaults write com.apple.dock no-glass -bool true - -# Automatically hide and show the Dock -defaults write com.apple.dock autohide -bool true - -# Make Dock icons of hidden applications translucent -defaults write com.apple.dock showhidden -bool true - -# Enable iTunes track notifications in the Dock -defaults write com.apple.dock itunes-notifications -bool true - -# Disable Safari’s thumbnail cache for History and Top Sites -defaults write com.apple.Safari DebugSnapshotsUpdatePolicy -int 2 - -# Enable Safari’s debug menu -defaults write com.apple.Safari IncludeInternalDebugMenu -bool true - -# Make Safari’s search banners default to Contains instead of Starts With -defaults write com.apple.Safari FindOnPageMatchesWordStartsOnly -bool false - -# Remove useless icons from Safari’s bookmarks bar -defaults write com.apple.Safari ProxiesInBookmarksBar "()" - -# Add a context menu item for showing the Web Inspector in web views -defaults write NSGlobalDomain WebKitDeveloperExtras -bool true - -# Enable the debug menu in Address Book -defaults write com.apple.addressbook ABShowDebugMenu -bool true - -# Enable the debug menu in iCal -defaults write com.apple.iCal IncludeDebugMenu -bool true - -# Only use UTF-8 in Terminal.app -defaults write com.apple.terminal StringEncodings -array 4 - -# Disable the Ping sidebar in iTunes -defaults write com.apple.iTunes disablePingSidebar -bool true - -# Disable all the other Ping stuff in iTunes -defaults write com.apple.iTunes disablePing -bool true - -# Make ⌘ + F focus the search input in iTunes -defaults write com.apple.iTunes NSUserKeyEquivalents -dict-add "Target Search Field" "@F" - -# Disable send and reply animations in Mail.app -defaults write com.apple.Mail DisableReplyAnimations -bool true -defaults write com.apple.Mail DisableSendAnimations -bool true - -# Copy email addresses as `foo@example.com` instead of `Foo Bar ` in Mail.app -defaults write com.apple.mail AddressesIncludeNameOnPasteboard -bool false - -# Reset Launchpad -[ -e ~/Library/Application\ Support/Dock/*.db ] && rm ~/Library/Application\ Support/Dock/*.db - -# Prevent Time Machine from prompting to use new hard drives as backup volume -defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool true - -# Kill affected applications -for app in Safari Finder Dock Mail SystemUIServer; do killall "$app" > /dev/null 2>&1; done -echo "Done. Note that some of these changes require a logout/restart to take effect." - -defaults write com.tapbots.TweetbotMac TextAutomaticQuoteSubstitution -bool NO -defaults write com.tapbots.TweetbotMac TextAutoCorrect -bool NO -defaults write com.tapbots.TweetbotMac TextAutomaticTextReplacement -bool NO diff -r ab1b62093e4d -r 069ed14df8ff screen-256color.ti --- a/screen-256color.ti Wed Jul 04 03:12:05 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,27 +0,0 @@ -# Reconstructed via infocmp from file: /usr/share/terminfo/73/screen-256color -screen-256color|GNU Screen with 256 colors, - am, km, mir, msgr, xenl, - colors#256, cols#80, it#8, lines#24, ncv#3, pairs#32767, - acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, - bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, - clear=\E[H\E[J, cnorm=\E[34h\E[?25h, cr=^M, - csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, - cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, - cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM, - cvvis=\E[34l, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, - dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0, - flash=\Eg, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, - il=\E[%p1%dL, il1=\E[L, ind=^J, initc@, is2=\E)0, kbs=\177, - kcbt=\E[Z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, - kdch1=\E[3~, kend=\E[4~, kf1=\EOP, kf10=\E[21~, - kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, - kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, - khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, - nel=\EE, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, - rmcup=\E[?1049l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[23m, - rmul=\E[24m, rs2=\Ec\E[?1000l\E[?25h, sc=\E7, - setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m, - setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m, - sgr=\E[0%?%p6%t;1%;%?%p1%t;3%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, - sgr0=\E[m\017, smacs=^N, smcup=\E[?1049h, smir=\E[4h, - smkx=\E[?1h\E=, smso=\E[3m, smul=\E[4m, tbc=\E[3g, diff -r ab1b62093e4d -r 069ed14df8ff sjl.keylayout --- a/sjl.keylayout Wed Jul 04 03:12:05 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1146 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -r ab1b62093e4d -r 069ed14df8ff terminal/tmux-256color.terminfo --- a/terminal/tmux-256color.terminfo Wed Jul 04 03:12:05 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,3 +0,0 @@ -tmux-256color|tmux with 256 colors, - use=xterm+256setaf, use=tmux, - diff -r ab1b62093e4d -r 069ed14df8ff terminal/tmux.terminfo --- a/terminal/tmux.terminfo Wed Jul 04 03:12:05 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,3 +0,0 @@ -tmux|tmux terminal multiplexer, - ritm=\E[23m, rmso=\E[27m, sitm=\E[3m, smso=\E[7m, Ms@, - use=xterm+tmux, use=screen, diff -r ab1b62093e4d -r 069ed14df8ff terminal/xterm-256color-italic.terminfo --- a/terminal/xterm-256color-italic.terminfo Wed Jul 04 03:12:05 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,4 +0,0 @@ -# A xterm-256color based TERMINFO that adds the escape sequences for italic. -xterm-256color-italic|xterm with 256 colors and italic, - sitm=\E[3m, ritm=\E[23m, - use=xterm-256color, diff -r ab1b62093e4d -r 069ed14df8ff tmux/tmux.conf --- a/tmux/tmux.conf Wed Jul 04 03:12:05 2018 +0000 +++ b/tmux/tmux.conf Wed Jul 04 22:09:02 2018 +0000 @@ -16,11 +16,6 @@ # Mouse set -g mouse on -# This is hilariously absurd. How many nerds use tmux on OS X every day and -# it's still fundamentally broken? -# set -g default-command "reattach-to-user-namespace -l zsh" -# set -g default-command "reattach-to-user-namespace -l fish" - # Less stretching to get to the first item. set -g base-index 1 setw -g pane-base-index 1 @@ -90,12 +85,12 @@ set -g status-right-length 150 set -g status-interval 5 -set -g status-left '#[fg=colour16,bg=colour254,bold] #S #[fg=colour254,bg=colour238,nobold]⮀#[fg=colour15,bg=colour238,bold] #(ls ~/.mail/steve-stevelosh.com/INBOX/cur ~/.mail/steve-stevelosh.com/INBOX/new | wc -l | tr -d " ") #[fg=colour238,bg=colour234,nobold]⮀' +set -g status-left '#[fg=colour16,bg=colour254,bold] #S #[fg=colour254,bg=colour238,nobold] #[fg=colour15,bg=colour238,bold] #(ls ~/.mail/steve-stevelosh.com/INBOX/cur ~/.mail/steve-stevelosh.com/INBOX/new | wc -l | tr -d " ") #[fg=colour238,bg=colour234,nobold] ' -set -g status-right "#[fg=colour245]⮃ #(date -u +%%H:%%M) UTC ⮃ %d %b #[fg=colour254,bg=colour234,nobold]⮂#[fg=colour16,bg=colour254,bold] #h " +set -g status-right "#[fg=colour245] #(date -u +%%H:%%M) UTC %d %b #[fg=colour254,bg=colour234,nobold] #[fg=colour16,bg=colour254,bold] #h " set -g window-status-format "#[fg=white,bg=colour234] #I #W " -set -g window-status-current-format "#[fg=colour234,bg=colour39]⮀#[fg=colour16,bg=colour39,noreverse,bold] #I ⮁ #W #[fg=colour39,bg=colour234,nobold]⮀" +set -g window-status-current-format "#[fg=colour234,bg=colour39] #[fg=colour16,bg=colour39,noreverse,bold] #I #W #[fg=colour39,bg=colour234,nobold] " # Activity setw -g monitor-activity on @@ -122,7 +117,7 @@ bind -T copy-mode-vi V send -X rectangle-toggle bind -T copy-mode-vi H send-keys -X start-of-line bind -T copy-mode-vi L send-keys -X end-of-line -bind y run "tmux save-buffer - | reattach-to-user-namespace pbcopy" +bind y run "tmux save-buffer - | xsel --clipboard --input" # Toggle synchronized panes for the current window bind S set synchronize-panes diff -r ab1b62093e4d -r 069ed14df8ff vim/vimrc --- a/vim/vimrc Wed Jul 04 03:12:05 2018 +0000 +++ b/vim/vimrc Wed Jul 04 22:09:02 2018 +0000 @@ -303,32 +303,10 @@ nnoremap o " Copying/pasting text to the system clipboard. -" -" For some reason Vim no longer wants to talk to the OS X pasteboard through "*. -" Computers are bullshit. -function! g:FuckingCopyTheTextPlease() - let view = winsaveview() - let old_z = @z - normal! gv"zy - call system('pbcopy', @z) - let @z = old_z - call winrestview(view) -endfunction - -function! g:FuckingCopyAllTheTextPlease() - let view = winsaveview() - let old_z = @z - normal! ggVG"zy - call system('pbcopy', @z) - let @z = old_z - call winrestview(view) -endfunction - -noremap p "+p -" noremap p mz:r!pbpaste`z -vnoremap y :call g:FuckingCopyTheTextPlease() -nnoremap y VV:call g:FuckingCopyTheTextPlease() -nnoremap Y :call g:FuckingCopyAllTheTextPlease() +noremap p "+p +vnoremap y "+y +nnoremap y VV"+y +nnoremap Y "+y " Yank to end of line nnoremap Y y$ diff -r ab1b62093e4d -r 069ed14df8ff xsessionrc --- a/xsessionrc Wed Jul 04 03:12:05 2018 +0000 +++ b/xsessionrc Wed Jul 04 22:09:02 2018 +0000 @@ -16,7 +16,7 @@ # xinput set-prop $TRACKPAD $CLICK 0, 1 /home/sjl/src/dotfiles/bin/keysettings -# xcape -t 200 -e 'Control_L=Escape' +xcape -t 200 -e 'Control_L=Escape;Shift_L=Shift_L|9;Shift_R=Shift_R|0' # xautolock -time 15 -locker /usr/bin/slock & # /usr/bin/dunst -config $HOME/.dunstrc &