# HG changeset patch # User Steve Losh # Date 1531149368 14400 # Node ID 74e54dee9e41352e852d6a91a7f17f251d8b3308 # Parent 4b486c5a8a541d32101eaff5bf2c29c2d14e4450# Parent c27fb01fc92f28d8bac9f6caeb73f26132b62b76 Merge diff -r 4b486c5a8a54 -r 74e54dee9e41 DefaultKeyBinding.dict diff -r 4b486c5a8a54 -r 74e54dee9e41 ackrc --- a/ackrc Mon Jul 09 11:14:40 2018 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ ---smart-case ---type-set -log=.log ---type-set -django=.py,.html ---type-set -less=.less ---type-set -vim=.vim ---type-set -puppet=.pp ---type-set -fe=.html,.js,.less ---type-set -fea=.html,.js,.less,.css ---type-set -docs=.markdown,.md,.mdown,.rst ---ignore-dir=public/media/cache ---ignore-dir=public/static/cache ---ignore-dir=build/html ---ignore-dir=docs/build ---ignore-dir=migrations diff -r 4b486c5a8a54 -r 74e54dee9e41 bash_profile --- a/bash_profile Mon Jul 09 11:14:40 2018 -0400 +++ b/bash_profile Mon Jul 09 11:16:08 2018 -0400 @@ -15,7 +15,7 @@ fi } -export PATH=~/bin:~/lib/dotfiles/bin:~/lib/dotfiles/roswell:/usr/local/share/python:/usr/local/bin/:$PATH +export PATH=~/bin:~/src/dotfiles/bin:~/src/dotfiles/roswell:/usr/local/share/python:/usr/local/bin/:$PATH alias h='hg' alias g='git' @@ -27,7 +27,6 @@ alias vs='vagrant suspend' alias o='open' alias oo='open .' -alias t='~/lib/t/t.py --task-dir="~/Dropbox/tasks" --list=tasks.txt' function psg() { ps auxww | grep --color=always $* | grep -v grep | collapse | cuts -f 2,11- diff -r 4b486c5a8a54 -r 74e54dee9e41 bin/au --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bin/au Mon Jul 09 11:16:08 2018 -0400 @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +sudo apt update +apt list --upgradable diff -r 4b486c5a8a54 -r 74e54dee9e41 bin/bootstrap.sh --- a/bin/bootstrap.sh Mon Jul 09 11:14:40 2018 -0400 +++ b/bin/bootstrap.sh Mon Jul 09 11:16:08 2018 -0400 @@ -11,51 +11,51 @@ } mkdir -p ~/.config/fish -mkdir -p ~/lib/hg -mkdir -p ~/lib/virtualenvs +mkdir -p ~/src/hg +mkdir -p ~/src/virtualenvs mkdir -p ~/bin mkdir -p ~/src mkdir -p ~/Library/KeyBindings -ensure_link "lib/dotfiles/hgrc" ".hgrc" +ensure_link "src/dotfiles/hgrc" ".hgrc" test -d ~/.hg-git/ || hg clone "bb://durin42/hg-git/" "$HOME/.hg-git" -test -d ~/lib/dulwich || git clone "git://github.com/jelmer/dulwich.git" "$HOME/lib/dulwich" +test -d ~/src/dulwich || git clone "git://github.com/jelmer/dulwich.git" "$HOME/src/dulwich" -ensure_link "lib/dulwich/dulwich" "lib/hg/hg/dulwich" +ensure_link "src/dulwich/dulwich" "src/hg/dulwich" -test -d ~/lib/dotfiles || hg clone http://bitbucket.org/sjl/dotfiles ~/lib/dotfiles +test -d ~/src/dotfiles || hg clone http://bitbucket.org/sjl/dotfiles ~/src/dotfiles -ensure_link "lib/dotfiles/DefaultKeyBinding.dict" "Library/KeyBindings/DefaultKeyBinding.dict" -ensure_link "lib/dotfiles/slate" ".slate" -ensure_link "lib/dotfiles/tmux/tmux.conf" ".tmux.conf" -ensure_link "lib/dotfiles/vim" ".vim" -ensure_link "lib/dotfiles/vim/vimrc" ".vimrc" -ensure_link "lib/dotfiles/gitconfig" ".gitconfig" -ensure_link "lib/dotfiles/ackrc" ".ackrc" -ensure_link "lib/dotfiles/weechat" ".weechat" -ensure_link "lib/dotfiles/urlview" ".urlview" -ensure_link "lib/dotfiles/pentadactylrc" ".pentadactylrc" -ensure_link "lib/dotfiles/vimperatorrc" ".vimperatorrc" -ensure_link "lib/dotfiles/offlineimaprc" ".offlineimaprc" -ensure_link "lib/dotfiles/mutt" ".mutt" -ensure_link "lib/dotfiles/dotjs" ".js" -ensure_link "lib/dotfiles/dotcss" ".css" -ensure_link "lib/dotfiles/hgignore" ".hgignore" -ensure_link "lib/dotfiles/gitignore" ".gitignore" -ensure_link "lib/dotfiles/ffignore" ".ffignore" -ensure_link "lib/dotfiles/agignore" ".agignore" -ensure_link "lib/dotfiles/ctags" ".ctags" -ensure_link "lib/dotfiles/grc" ".grc" -ensure_link "lib/dotfiles/bash_profile" ".bash_profile" -ensure_link "lib/dotfiles/inputrc" ".inputrc" -ensure_link "lib/dotfiles/fish/config.fish" ".config/fish/config.fish" -ensure_link "lib/dotfiles/fish/functions" ".config/fish/functions" -ensure_link "lib/dotfiles/ipython" ".ipython" -ensure_link "lib/dotfiles/sbclrc" ".sbclrc" -ensure_link "lib/dotfiles/eclrc" ".eclrc" -ensure_link "lib/dotfiles/abclrc" ".abclrc" -ensure_link "lib/dotfiles/ccl-init.lisp" ".ccl-init.lisp" +ensure_link "src/dotfiles/DefaultKeyBinding.dict" "Library/KeyBindings/DefaultKeyBinding.dict" +ensure_link "src/dotfiles/slate" ".slate" +ensure_link "src/dotfiles/tmux/tmux.conf" ".tmux.conf" +ensure_link "src/dotfiles/vim" ".vim" +ensure_link "src/dotfiles/vim/vimrc" ".vimrc" +ensure_link "src/dotfiles/gitconfig" ".gitconfig" +ensure_link "src/dotfiles/ackrc" ".ackrc" +ensure_link "src/dotfiles/weechat" ".weechat" +ensure_link "src/dotfiles/urlview" ".urlview" +ensure_link "src/dotfiles/pentadactylrc" ".pentadactylrc" +ensure_link "src/dotfiles/vimperatorrc" ".vimperatorrc" +ensure_link "src/dotfiles/offlineimaprc" ".offlineimaprc" +ensure_link "src/dotfiles/mutt" ".mutt" +ensure_link "src/dotfiles/dotjs" ".js" +ensure_link "src/dotfiles/dotcss" ".css" +ensure_link "src/dotfiles/hgignore" ".hgignore" +ensure_link "src/dotfiles/gitignore" ".gitignore" +ensure_link "src/dotfiles/ffignore" ".ffignore" +ensure_link "src/dotfiles/agignore" ".agignore" +ensure_link "src/dotfiles/ctags" ".ctags" +ensure_link "src/dotfiles/grc" ".grc" +ensure_link "src/dotfiles/bash_profile" ".bash_profile" +ensure_link "src/dotfiles/inputrc" ".inputrc" +ensure_link "src/dotfiles/fish/config.fish" ".config/fish/config.fish" +ensure_link "src/dotfiles/fish/functions" ".config/fish/functions" +ensure_link "src/dotfiles/ipython" ".ipython" +ensure_link "src/dotfiles/sbclrc" ".sbclrc" +ensure_link "src/dotfiles/eclrc" ".eclrc" +ensure_link "src/dotfiles/abclrc" ".abclrc" +ensure_link "src/dotfiles/ccl-init.lisp" ".ccl-init.lisp" echo remember to copy the notmuch-config echo completed diff -r 4b486c5a8a54 -r 74e54dee9e41 bin/ccl-vlime --- a/bin/ccl-vlime Mon Jul 09 11:14:40 2018 -0400 +++ b/bin/ccl-vlime Mon Jul 09 11:16:08 2018 -0400 @@ -1,4 +1,4 @@ #!/usr/bin/env bash set -e -ccl --eval "(load \"~/lib/dotfiles/vim/bundle/vlime/lisp/start-vlime.lisp\")" "$@" +ccl --eval "(load \"~/src/dotfiles/vim/bundle/vlime/lisp/start-vlime.lisp\")" "$@" diff -r 4b486c5a8a54 -r 74e54dee9e41 bin/sbcl-vlime --- a/bin/sbcl-vlime Mon Jul 09 11:14:40 2018 -0400 +++ b/bin/sbcl-vlime Mon Jul 09 11:16:08 2018 -0400 @@ -1,4 +1,4 @@ #!/usr/bin/env bash set -e -sbcl --eval "(load \"~/lib/dotfiles/vim/bundle/vlime/lisp/start-vlime.lisp\")" "$@" +sbcl --eval "(load \"~/src/dotfiles/vim/bundle/vlime/lisp/start-vlime.lisp\")" "$@" diff -r 4b486c5a8a54 -r 74e54dee9e41 bin/sbcl-vlime-raw --- a/bin/sbcl-vlime-raw Mon Jul 09 11:14:40 2018 -0400 +++ b/bin/sbcl-vlime-raw Mon Jul 09 11:16:08 2018 -0400 @@ -1,4 +1,4 @@ #!/usr/bin/env bash set -e -sbcl-raw --eval "(load \"~/lib/dotfiles/vim/bundle/vlime/lisp/start-vlime.lisp\")" "$@" +sbcl-raw --eval "(load \"~/src/dotfiles/vim/bundle/vlime/lisp/start-vlime.lisp\")" "$@" diff -r 4b486c5a8a54 -r 74e54dee9e41 dunstrc --- a/dunstrc Mon Jul 09 11:14:40 2018 -0400 +++ b/dunstrc Mon Jul 09 11:16:08 2018 -0400 @@ -6,7 +6,7 @@ indicate_hidden = true # geometry = "x5" idle_threshold = 60 - geometry = "300x5-20+20" + geometry = "300x5-15+30" alignment = left show_age_threshold = 60 sticky_history = yes @@ -35,7 +35,7 @@ [urgency_normal] background = "#94DBFF" foreground = "#000000" - timeout = 25 + timeout = 20 [urgency_critical] background = "#ff9999" diff -r 4b486c5a8a54 -r 74e54dee9e41 fish/config.fish --- a/fish/config.fish Mon Jul 09 11:14:40 2018 -0400 +++ b/fish/config.fish Mon Jul 09 11:16:08 2018 -0400 @@ -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 @@ -74,9 +73,9 @@ prepend_to_path "/usr/local/bin" prepend_to_path "/usr/local/sbin" prepend_to_path "/usr/local/MacGPG2/bin" -prepend_to_path "$HOME/lib/dotfiles/roswell" -prepend_to_path "$HOME/lib/dotfiles/bin" -prepend_to_path "$HOME/lib/hg/hg" +prepend_to_path "$HOME/src/dotfiles/roswell" +prepend_to_path "$HOME/src/dotfiles/bin" +prepend_to_path "$HOME/src/hg" prepend_to_path "$HOME/bin" set BROWSER open diff -r 4b486c5a8a54 -r 74e54dee9e41 fish/functions/dump.fish --- a/fish/functions/dump.fish Mon Jul 09 11:14:40 2018 -0400 +++ b/fish/functions/dump.fish Mon Jul 09 11:16:08 2018 -0400 @@ -42,7 +42,7 @@ hg -R ~/src/chancery push hg -R ~/src/chancery push git - hg -R ~/lib/dotfiles push + hg -R ~/src/dotfiles push offlineimap -qf INBOX end diff -r 4b486c5a8a54 -r 74e54dee9e41 fish/functions/pbc.fish --- a/fish/functions/pbc.fish Mon Jul 09 11:14:40 2018 -0400 +++ b/fish/functions/pbc.fish Mon Jul 09 11:16:08 2018 -0400 @@ -1,3 +1,3 @@ function pbc -d "pbcopy" - pbcopy $argv + xsel --clipboard --input end diff -r 4b486c5a8a54 -r 74e54dee9e41 fish/functions/pbp.fish --- a/fish/functions/pbp.fish Mon Jul 09 11:14:40 2018 -0400 +++ b/fish/functions/pbp.fish Mon Jul 09 11:16:08 2018 -0400 @@ -1,3 +1,3 @@ function pbp -d "pbpaste" - pbpaste $argv + xsel --clipboard end diff -r 4b486c5a8a54 -r 74e54dee9e41 grc/conf.gamecontroller --- a/grc/conf.gamecontroller Mon Jul 09 11:14:40 2018 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -regexp=^usage: -colours=red bold -======= -regexp=^.*creating Socket.*$ -colours=black bold -======= -regexp=^.*tud.gamecontroller.players.RemotePlayer.*$ -colours=black bold -======= -regexp=^.*Sending play messages.*$ -colours=black bold -======= -regexp=^.*current state:.*$ -colours=cyan bold -======= -regexp=^.*reply from .*:.*$ -colours=green -======= -regexp=^.*moves:.*$ -colours=green -======= -regexp=^.*[iI]llegal.*$ -colours=red bold -======= -regexp=^.*Game over!.*$ -colours=cyan diff -r 4b486c5a8a54 -r 74e54dee9e41 grc/conf.maven --- a/grc/conf.maven Mon Jul 09 11:14:40 2018 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,56 +0,0 @@ -regexp=.+ FAILURE!$ -colours=red bold -======= -regexp=^Expected: .+$ -colours=magenta -======= -regexp=^ got: .+$ -colours=magenta -======= -regexp=^ but: .+$ -colours=magenta -======= -regexp= T E S T S -colours=cyan bold -======= -regexp=^Running \w+$ -colours=cyan bold -======= -regexp=^Tests run: \d+, -colours=cyan bold -======= -regexp=^Failed tests: -colours=red bold -======= -regexp=Skipped: \d+, -colours=yellow bold -======= -regexp=(Failures|Errors): \d+, -colours=red bold -======= -regexp=Skipped: 0,? -colours=green bold -======= -regexp=(Failures|Errors): 0, -colours=green bold -======= -regexp=^\[INFO\] .*$ -colours=black bold -======= -regexp=.*logback.classic pattern.* -colours=black bold -======= -regexp=^\[INFO\] BUILD SUCCESS$ -colours=green bold -======= -regexp=^\[INFO\] BUILD FAILURE$ -colours=red bold -======= -regexp=^\[debug\] .*$ -colours=black bold -======= -regexp=^SLF4J: .*$ -colours=black bold -======= -regexp=^log4j:.*$ -colours=black bold diff -r 4b486c5a8a54 -r 74e54dee9e41 hgrc --- a/hgrc Mon Jul 09 11:14:40 2018 -0400 +++ b/hgrc Mon Jul 09 11:16:08 2018 -0400 @@ -21,7 +21,7 @@ progress = fetch = shelve = -prompt = ~/lib/dotfiles/mercurial/hg-prompt/prompt.py +prompt = ~/src/dotfiles/mercurial/hg-prompt/prompt.py hggit = ~/.hg-git/hggit [progress] @@ -162,25 +162,25 @@ # Each of these can be used with -v to add a bit more info. # Datelog: short, pretty hg log with dates. -dlog = log --style=$HOME/lib/dotfiles/mercurial/templates/map-cmdline.dlog +dlog = log --style=$HOME/src/dotfiles/mercurial/templates/map-cmdline.dlog _ = dlog -l15 __ = _ -l100000000 -o_ = outgoing -n --style=$HOME/lib/dotfiles/mercurial/templates/map-cmdline.dlog -i_ = incoming -n --style=$HOME/lib/dotfiles/mercurial/templates/map-cmdline.dlog +o_ = outgoing -n --style=$HOME/src/dotfiles/mercurial/templates/map-cmdline.dlog +i_ = incoming -n --style=$HOME/src/dotfiles/mercurial/templates/map-cmdline.dlog # Shortlog: short, pretty hg log. -slog = log --style=$HOME/lib/dotfiles/mercurial/templates/map-cmdline.slog +slog = log --style=$HOME/src/dotfiles/mercurial/templates/map-cmdline.slog . = slog -l15 .. = . -l100000000 -o. = outgoing -n --style=$HOME/lib/dotfiles/mercurial/templates/map-cmdline.slog -i. = incoming -n --style=$HOME/lib/dotfiles/mercurial/templates/map-cmdline.slog +o. = outgoing -n --style=$HOME/src/dotfiles/mercurial/templates/map-cmdline.slog +i. = incoming -n --style=$HOME/src/dotfiles/mercurial/templates/map-cmdline.slog # Short graphlog: short, pretty hg log with a graph. -sglog = glog --style=$HOME/lib/dotfiles/mercurial/templates/map-cmdline.sglog +sglog = glog --style=$HOME/src/dotfiles/mercurial/templates/map-cmdline.sglog , = sglog -l7 ,, = , -l100000000 -o, = outgoing --graph --style=$HOME/lib/dotfiles/mercurial/templates/map-cmdline.sglog -i, = incoming --graph --style=$HOME/lib/dotfiles/mercurial/templates/map-cmdline.sglog +o, = outgoing --graph --style=$HOME/src/dotfiles/mercurial/templates/map-cmdline.sglog +i, = incoming --graph --style=$HOME/src/dotfiles/mercurial/templates/map-cmdline.sglog # Incoming and Outgoing all in one inout = !figlet incoming | lolcat; "$HG" incoming $@; figlet outgoing | lolcat; echo; "$HG" outgoing $@ @@ -188,7 +188,7 @@ # hg n . -- show a summary of rev . without diff. # hg show . -- show a summary of rev . with diff. # hg sl . -- show a summary of rev . with diff, piped to less -nlog = log --style=$HOME/lib/dotfiles/mercurial/templates/map-cmdline.nlog +nlog = log --style=$HOME/src/dotfiles/mercurial/templates/map-cmdline.nlog n = nlog -vr show = nlog --color=always -vpr sl = !"$HG" nlog --color=always -vpr $@ | less -R @@ -233,12 +233,6 @@ # Edit the current repo's hgrc file. erc = !$EDITOR `$HG root`/.hg/hgrc -# Simple bug/todo tracking -# Idea from Justin: http://gist.github.com/464871 -# Install t first: http://bitbucket.org/sjl/t/ -bug = !~/lib/t/t.py --task-dir="`$HG root`" --list=BUGS $@ -todo = !~/lib/t/t.py --task-dir="`$HG root`" --list=TODO $@ - # Easily add ignore patterns to .hgignore and commit. ignore = ![ -n "$@" ] && echo '$@' >> `$HG root`/.hgignore && \ $HG commit `$HG root`/.hgignore -Am 'Add "$@" to .hgignore.' diff -r 4b486c5a8a54 -r 74e54dee9e41 karabiner/assets/complex_modifications/1505240117.json --- a/karabiner/assets/complex_modifications/1505240117.json Mon Jul 09 11:14:40 2018 -0400 +++ /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 4b486c5a8a54 -r 74e54dee9e41 karabiner/karabiner.json --- a/karabiner/karabiner.json Mon Jul 09 11:14:40 2018 -0400 +++ /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 4b486c5a8a54 -r 74e54dee9e41 keyremap4macbook/cadet.py --- a/keyremap4macbook/cadet.py Mon Jul 09 11:14:40 2018 -0400 +++ /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 4b486c5a8a54 -r 74e54dee9e41 keyremap4macbook/private.xml --- a/keyremap4macbook/private.xml Mon Jul 09 11:14:40 2018 -0400 +++ /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 4b486c5a8a54 -r 74e54dee9e41 launchagents/com.stevelosh.dammitkeymando.plist --- a/launchagents/com.stevelosh.dammitkeymando.plist Mon Jul 09 11:14:40 2018 -0400 +++ /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 4b486c5a8a54 -r 74e54dee9e41 launchagents/com.stevelosh.mailsync.plist --- a/launchagents/com.stevelosh.mailsync.plist Mon Jul 09 11:14:40 2018 -0400 +++ /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 4b486c5a8a54 -r 74e54dee9e41 osx.sh --- a/osx.sh Mon Jul 09 11:14:40 2018 -0400 +++ /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 4b486c5a8a54 -r 74e54dee9e41 screen-256color.ti --- a/screen-256color.ti Mon Jul 09 11:14:40 2018 -0400 +++ /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 4b486c5a8a54 -r 74e54dee9e41 sjl.keylayout --- a/sjl.keylayout Mon Jul 09 11:14:40 2018 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1146 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -r 4b486c5a8a54 -r 74e54dee9e41 stumpwmrc --- a/stumpwmrc Mon Jul 09 11:14:40 2018 -0400 +++ b/stumpwmrc Mon Jul 09 11:16:08 2018 -0400 @@ -6,9 +6,12 @@ ;;;; Config ------------------------------------------------------------------- (set-prefix-key (kbd "C-space")) +;; (redirect-all-output (data-dir-file "debug" "text")) + (setf *mouse-focus-policy* :click *message-window-gravity* :center *input-window-gravity* :center + *debug-level* 0 *shell-program* "/bin/bash") @@ -46,7 +49,6 @@ (string-trim "%" <>) parse-integer)) - (defun battery () (run-shell-command "acpi -b | awk -F '[ ,]' '{printf \"%s%s\", $3, $5}' | sed s/Discharging// | sed s/Unknown// | sed s/Full// | sed s/Charging/+/" @@ -65,6 +67,21 @@ (apply #'format s args))) +(defun keywordize (string) + (-<> string + (string-trim (string #\newline) <>) + string-upcase + (intern <> (find-package :keyword)))) + +(defparameter *host* (keywordize (run-shell-command "hostname" t))) + +(defmacro ehostcase (&body clauses) + `(ecase *host* ,@clauses)) + +(defmacro hostcase (&body clauses) + `(case *host* ,@clauses)) + + ;;;; Regroup ------------------------------------------------------------------ (defparameter *class-groups* '(("zoom" . "zoom") @@ -164,7 +181,8 @@ do (uiop:run-program `("xrandr" "--output" ,output ,@commands)))) (defcommand vlime () () - (load "~/lib/dotfiles/vim/bundle/vlime/lisp/start-vlime.lisp")) + (load "~/src/dotfiles/vim/bundle/vlime/lisp/start-vlime.lisp") + (message "Started VLIME")) (defcommand toggle-current-mode-line () () (toggle-mode-line (current-screen) (current-head))) @@ -173,10 +191,10 @@ (let ((pass:*password-store* "/home/sjl/Dropbox/password-store/")) (pass:pass-copy))) -(defcommand pass-work () () - (let ((pass:*password-store* "/home/sjl/.password-store-work/") - (pass:*pass* "/home/sjl/lib/dotfiles/bin/pass-work")) - (pass:pass-copy))) +;; (defcommand pass-work () () +;; (let ((pass:*password-store* "/home/sjl/.password-store-work/") +;; (pass:*pass* "/home/sjl/src/dotfiles/bin/pass-work")) +;; (pass:pass-copy))) ;;;; Applications ------------------------------------------------------------- @@ -186,6 +204,12 @@ (defcommand intellij () () (run-or-raise "~/intellij/bin/idea.sh" '(:class "jetbrains-idea-ce"))) +(defcommand browser () () + (run-shell-command + (hostcase + (:bitdumpster "google-chrome") + (t "firefox")))) + ;;;; Key Mapping -------------------------------------------------------------- (defmacro define-top-keys (&body keyforms) @@ -198,8 +222,8 @@ (define-top-keys ;; application shortcuts ("H-m" "exec st") ("H-\\" "pass-personal") - ("H-|" "pass-work") - ("H-b" "exec google-chrome") + ;; ("H-|" "pass-work") + ("H-b" "browser") ("H-o" "spotify") ("H-I" "intellij") ("H-q" "exec slock") @@ -245,30 +269,56 @@ (define-top-keys ;; stump ("H-F9" "exec systemctl suspend") ("H-F10" "exec keysettings") - ("C-F10" "exec keysettings") ; hack + ("Pause" "exec st") ; jesus christ ("H-F11" "toggle-current-mode-line") ("H-F12" "restart-hard")) +(stumpwm::unbind-remapped-keys) +(define-remapped-keys + '(("st-256color" + ("s-c" . "C-C") + ("s-v" . "C-V")) + ("Firefox" + ("s-1" . "C-S-Tab") + ("s-2" . "C-Tab") + ("s-z" . "C-z") + ("s-x" . "C-x") + ("s-c" . "C-c") + ("s-v" . "C-v")) + ("" + ("s-z" . "C-z") + ("s-x" . "C-x") + ("s-c" . "C-c") + ("s-v" . "C-v")))) + + ;;;; Modeline ----------------------------------------------------------------- -(setf - *time-modeline-string* - "%a %b %e %k:%M" - *screen-mode-line-format* - (list "[^B%n^b] %W^>" - "(BR " - '(:eval (princ-to-string (brightness))) - ")" - " " - "(BA " - '(:eval (princ-to-string (battery))) - ")" - " %d %T")) +(defun configure-modeline () + (setf + *time-modeline-string* + "%a %b %e %H:%M" -(setf *mode-line-timeout* 10) -(setf *mode-line-background-color* "#111111") + *screen-mode-line-format* + (append (list + "[^B%n^b] %W^>" + ;; "(V " + ;; ;; '(:eval (volume)) + ;; ")" + " ") + (hostcase + (:bitdumpster '("(B " + (:eval (battery)) + ")"))) + (list + " %d %T"))) -(ensure-mode-line) + (setf *mode-line-timeout* 10) + (setf *mode-line-background-color* "#111111") + + (ensure-mode-line)) + +(configure-modeline) ;;;; System Tray -------------------------------------------------------------- @@ -278,7 +328,3 @@ (run-shell-command "nm-applet --sm-disable") (run-shell-command "~/.dropbox-dist/dropboxd") (run-shell-command "/usr/bin/dunst -conf ~/.dunstrc") - -;;;; Notifications ------------------------------------------------------------- -;; (load-module "notify") -;; (notify:notify-server-off) diff -r 4b486c5a8a54 -r 74e54dee9e41 terminal/tmux-256color.terminfo --- a/terminal/tmux-256color.terminfo Mon Jul 09 11:14:40 2018 -0400 +++ /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 4b486c5a8a54 -r 74e54dee9e41 terminal/tmux.terminfo --- a/terminal/tmux.terminfo Mon Jul 09 11:14:40 2018 -0400 +++ /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 4b486c5a8a54 -r 74e54dee9e41 terminal/xterm-256color-italic.terminfo --- a/terminal/xterm-256color-italic.terminfo Mon Jul 09 11:14:40 2018 -0400 +++ /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 4b486c5a8a54 -r 74e54dee9e41 tmux/tmux.conf --- a/tmux/tmux.conf Mon Jul 09 11:14:40 2018 -0400 +++ b/tmux/tmux.conf Mon Jul 09 11:16:08 2018 -0400 @@ -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 4b486c5a8a54 -r 74e54dee9e41 vim/vimrc --- a/vim/vimrc Mon Jul 09 11:14:40 2018 -0400 +++ b/vim/vimrc Mon Jul 09 11:16:08 2018 -0400 @@ -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$ @@ -1323,7 +1301,7 @@ autocmd BufNewFile,BufRead eqlog_*.txt set filetype=eq - vnoremap d ::w !~/lib/dotfiles/bin/eq-dotcount + vnoremap d ::w !~/src/dotfiles/bin/eq-dotcount augroup END " }}} @@ -2587,7 +2565,7 @@ let g:syntastic_scala_checkers = ['scalac', 'scalastyle'] let g:syntastic_scala_checkers = ['fsc'] let g:syntastic_scala_scalastyle_jar = '/usr/local/Cellar/scalastyle/0.8.0/libexec/scalastyle_2.11-0.8.0-batch.jar' -let g:syntastic_scala_scalastyle_config_file = '~/lib/dotfiles/scalastyle_config.xml' +let g:syntastic_scala_scalastyle_config_file = '~/src/dotfiles/scalastyle_config.xml' if has('autocmd') function! FindClasspath(where) diff -r 4b486c5a8a54 -r 74e54dee9e41 weechat/weechat.conf --- a/weechat/weechat.conf Mon Jul 09 11:14:40 2018 -0400 +++ b/weechat/weechat.conf Mon Jul 09 11:16:08 2018 -0400 @@ -117,7 +117,7 @@ quote_time_format = "%H:%M:%S" read_marker = line read_marker_always_show = on -read_marker_string = "◡◡◠" +read_marker_string = "─" save_config_on_exit = off save_config_with_fsync = off save_layout_on_exit = all diff -r 4b486c5a8a54 -r 74e54dee9e41 xsessionrc --- a/xsessionrc Mon Jul 09 11:14:40 2018 -0400 +++ b/xsessionrc Mon Jul 09 11:16:08 2018 -0400 @@ -8,18 +8,18 @@ fi -TRACKPAD=`xinput list | grep 'Elantech Touchpad' | cut -d= -f2 | cut -f1` -SCROLL=`xinput list-props $TRACKPAD | grep 'Natural Scrolling Enabled (' | cut -d\( -f2 | cut -d\) -f1` +# TRACKPAD=`xinput list | grep 'Elantech Touchpad' | cut -d= -f2 | cut -f1` +# SCROLL=`xinput list-props $TRACKPAD | grep 'Natural Scrolling Enabled (' | cut -d\( -f2 | cut -d\) -f1` # CLICK=`xinput list-props $TRACKPAD | grep 'Click Method Enabled (' | cut -d\( -f2 | cut -d\) -f1` -xinput set-prop $TRACKPAD $SCROLL 1 +# xinput set-prop $TRACKPAD $SCROLL 1 # xinput set-prop $TRACKPAD $CLICK 0, 1 -/home/sjl/lib/dotfiles/bin/keysettings -xcape -t 200 -e 'Control_L=Escape' -xautolock -time 15 -locker /usr/bin/slock & +/home/sjl/src/dotfiles/bin/keysettings +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 & +# /usr/bin/dunst -config $HOME/.dunstrc & exec /usr/local/bin/stumpwm