this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'main' of https://github.com/ian-h-chamberlain/dotfiles

+1728 -2316
+5 -3
.bashrc
··· 64 64 65 65 export PATH="/usr/local/opt/node@8/bin:$PATH" 66 66 67 - # grep colors 68 - export GREP_OPTIONS="--color=auto" 67 + # Explicit XDG dirs for Windows (i.e. gitbash) 68 + export XDG_CONFIG_HOME="$HOME/.config" 69 + export XDG_DATA_HOME="$HOME/.local/share" 70 + export XDG_STATE_HOME="$HOME/.local/state" 69 71 70 72 # `history` timestamp in output 71 73 export HISTTIMEFORMAT="%F %T " ··· 105 107 106 108 export PYENV_VIRTUALENV_DISABLE_PROMPT=1 107 109 108 - if which pyenv &>/dev/null; then 110 + if which pyenv &>/dev/null && [[ "$(uname -o)" != Msys ]]; then 109 111 eval "$(pyenv init -)" 110 112 eval "$(pyenv virtualenv-init -)" 111 113 fi
+3
.bashrc.aliases
··· 115 115 116 116 alias vim="vim -p" 117 117 118 + # grep colors 119 + alias grep="grep --color=auto" 120 + 118 121 function tbm_ssh() { 119 122 if [ "$MAC_OS" = true ]; then 120 123 local dev_host=$(basename $(gbase))
+188 -64
.config/Code/User/keybindings.json
··· 182 182 { 183 183 "key": "alt+backspace", 184 184 "command": "workbench.action.terminal.sendSequence", 185 - "when": "terminalFocus", 185 + "when": "!isWindows && terminalFocus", 186 186 "args": { 187 187 "text": "\u001b\u007f" 188 188 } ··· 256 256 { 257 257 "command": "workbench.action.tasks.test", 258 258 "key": "alt+cmd+t", 259 - "when": "!tasKRunning", 259 + "when": "!taskRunning", 260 260 }, 261 261 { 262 262 "command": "workbench.action.tasks.restartTask", 263 263 "key": "alt+cmd+t", 264 - "when": "tasKRunning", 264 + "when": "taskRunning", 265 265 }, 266 266 { 267 267 "command": "workbench.action.terminal.focusNext", ··· 327 327 { 328 328 "command": "workbench.action.showAllSymbols", 329 329 "key": "ctrl+cmd+p", 330 + "when": "!isWindows", 330 331 }, 331 332 { 332 333 "command": "workbench.action.quickOpenNavigateNextInFilePicker", ··· 376 377 "when": "resourceLangId == 'go' && resourceFilename =~ /_test[.]go$/", 377 378 "key": "cmd+alt+shift+t", 378 379 }, 379 - // ========================================================================= 380 - // Bindings for vscode-neovim 381 - // ========================================================================= 380 + 381 + //#region vscode-neovim 382 382 { 383 383 "key": "shift+tab", 384 384 "command": "-vscode-neovim.send", ··· 564 564 "key": "ctrl+v tab", 565 565 "command": "type", 566 566 "args": { "text": "\t" }, 567 - "when": "editorTextFocus && neovim.mode == 'insert'" 568 - } 567 + "when": "!isWindows && editorTextFocus && neovim.mode == 'insert'", 568 + }, 569 569 570 - // ========================================================================= 571 - // End bindings for vscode-neovim 572 - // ========================================================================= 570 + //#region vscode-neovim+jupyter 573 571 574 572 // These are neovim-related but specifically for jupyter notebooks: 575 573 { ··· 596 594 "command": "notebook.focusPreviousEditor", 597 595 "when": "neovim.mode == 'normal' && config.notebook.navigation.allowNavigateToSurroundingCells && editorTextFocus && inputFocus && notebookEditorFocused && notebookEditorCursorAtBoundary != 'bottom' && notebookEditorCursorAtBoundary != 'none'" 598 596 }, 599 - // ========================================================================= 600 - // Rust-analyzer keybinds. Mostly compatible with vim 601 - // ========================================================================= 597 + //#endregion 598 + 599 + //#endregion 600 + 601 + //#region rust-analyzer 602 + // Mostly compatible with vim 602 603 { 603 604 "key": "shift+j", 604 605 "command": "rust-analyzer.joinLines", ··· 619 620 "command": "-rust-analyzer.matchingBrace", 620 621 "when": "editorTextFocus && editorLangId == 'rust'" 621 622 }, 622 - // ========================================================================= 623 - // End rust-analyzer keybinds 624 - // ========================================================================= 623 + //#endregion 625 624 626 625 // Weirdly, the default shortcut stopped working here... 627 626 { ··· 629 628 "command": "gitlens.showQuickFileHistory", 630 629 "when": "config.gitlens.keymap == 'alternate'" 631 630 }, 632 - // ========================================================================= 633 - // Begin bindings for code review / diff mode 631 + 632 + //#region Diff Editor 634 633 // These should work for Github and for Bitbucket 635 - // ========================================================================= 636 634 { 637 635 "key": "escape", 638 636 "command": "-workbench.action.hideComment", ··· 778 776 "when": "editorTextFocus && isInDiffEditor && !commentEditorFocused", 779 777 }, 780 778 781 - // ========================================================================= 782 - // End bindings for code review / diff mode 783 - // ========================================================================= 779 + //#endregion 780 + 784 781 { 785 782 "command": "workbench.action.editor.changeLanguageMode", 786 783 "key": "cmd+l", ··· 902 899 "when": "inDiffEditor", 903 900 }, 904 901 { 902 + "key": "alt+,", 903 + "command": "-gitlens.diffWithPrevious", 904 + }, 905 + { 906 + "key":"alt+d", 907 + "command": "editor.action.dirtydiff.next", 908 + "when": "editorTextFocus && !textCompareEditorActive", 909 + }, 910 + { 911 + "key":"shift+alt+d", 912 + "command": "editor.action.dirtydiff.previous", 913 + "when": "editorTextFocus && !textCompareEditorActive", 914 + }, 915 + { 905 916 "key": "cmd+shift+d", 906 917 "command": "fileutils.duplicateFile" 907 918 }, ··· 910 921 "command": "workbench.action.tasks.reRunTask" 911 922 }, 912 923 913 - // ========================================================================= 914 - // Explorer bindings 915 - // ========================================================================= 916 924 { 917 925 "key": "ctrl+cmd+r", 918 926 "command": "revealInExplorer" ··· 922 930 "command": "renameFile", 923 931 "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" 924 932 }, 925 - { 926 - "key": "alt+,", 927 - "command": "-gitlens.diffWithPrevious", 928 - }, 929 - { 930 - "key":"alt+d", 931 - "command": "editor.action.dirtydiff.next", 932 - "when": "editorTextFocus && !textCompareEditorActive", 933 - }, 934 - { 935 - "key":"shift+alt+d", 936 - "command": "editor.action.dirtydiff.previous", 937 - "when": "editorTextFocus && !textCompareEditorActive", 938 - }, 939 933 940 - // ========================================================================= 941 - // Linux bindings (designed for use with <https://kinto.sh>). 934 + //#region Linux 935 + // designed for use with <https://kinto.sh>. 942 936 // Many of these effectively just "undo" the default neovim bindings and 943 937 // restore the default VSCode behavior, since neovim uses ctrl keys so 944 938 // much. 945 - // 946 - // See also <https://github.com/codebling/vs-code-default-keybindings> 947 - // ========================================================================= 948 939 { 949 940 "key": "ctrl+k ctrl+s", 950 941 "command": "workbench.action.openGlobalKeybindingsFile", ··· 1024 1015 { 1025 1016 "key": "ctrl+j", 1026 1017 "command": "workbench.action.togglePanel", 1027 - "when": "(isLinux || isWindows)" 1028 - }, 1029 - { 1030 - "key": "ctrl+l", 1031 - "command": "workbench.action.editor.changeLanguageMode", 1032 - "when": "(isLinux || isWindows)" 1018 + "when": "(isLinux || isWindows)", 1033 1019 }, 1034 1020 { 1035 1021 "key": "meta+l", ··· 1040 1026 { 1041 1027 "key": "ctrl+shift+l", 1042 1028 "command": "workbench.action.editor.changeLanguageMode", 1043 - "when": "(isLinux || isWindows)" 1029 + "when": "isLinux", 1044 1030 }, 1045 1031 { 1046 1032 "key": "meta+z", ··· 1062 1048 "command": "workbench.action.focusCommentsPanel", 1063 1049 "when": "(isLinux || isWindows)" 1064 1050 }, 1065 - // TODO: unclear if these also need a separate `meta` shortcut for (isLinux || isWindows)... 1066 - // Will need to test on a linux machine again at some point. 1067 1051 { 1068 1052 "key": "ctrl+cmd+right", 1069 1053 "command": "workbench.action.moveEditorToRightGroup", ··· 1072 1056 { 1073 1057 "key": "ctrl+cmd+left", 1074 1058 "command": "workbench.action.moveEditorToLeftGroup", 1075 - "when": "editorFocus || terminalEditorFocus" 1059 + "when": "editorFocus || terminalEditorFocus", 1060 + }, 1061 + { 1062 + "key": "ctrl+win+alt+right", 1063 + "command": "workbench.action.moveEditorToRightGroup", 1064 + "when": "isWindows && (editorFocus || terminalEditorFocus)", 1065 + }, 1066 + { 1067 + "key": "ctrl+win+alt+left", 1068 + "command": "workbench.action.moveEditorToLeftGroup", 1069 + "when": "isWindows && (editorFocus || terminalEditorFocus)", 1076 1070 }, 1077 1071 { 1078 1072 "key": "ctrl+meta+down", ··· 1092 1086 { 1093 1087 "key": "ctrl+shift+enter", 1094 1088 "command": "workbench.action.toggleMaximizedPanel", 1095 - "when": "(isLinux || isWindows) && terminalFocus" 1089 + "when": "terminalFocus || panelFocus", 1096 1090 }, 1097 1091 { 1098 1092 "key": "ctrl+shift+enter", 1099 1093 "command": "workbench.action.toggleEditorWidths", 1100 - "when": "(isLinux || isWindows) && editorFocus" 1094 + "when": "editorFocus && !panelFocus", 1101 1095 }, 1102 1096 { 1103 1097 "key": "ctrl+\\", ··· 1127 1121 { 1128 1122 "key": "meta+v", 1129 1123 "command": "editor.action.clipboardPasteAction", 1130 - "when": "(isLinux || isWindows) && !editorTextFocus || editorTextFocus && neovim.init && neovim.mode == 'insert'" 1124 + "when": "(isLinux) && !editorTextFocus || editorTextFocus && neovim.init && neovim.mode == 'insert'", 1131 1125 }, 1132 1126 { 1133 1127 "key": "meta+v", ··· 1195 1189 "key": "ctrl+alt+t", 1196 1190 "when": "(isLinux || isWindows) && taskRunning" 1197 1191 }, 1198 - // Terminal sequences. These are mainly movement-related but there are also a 1192 + 1193 + //#endregion 1194 + 1195 + //#region Terminal sequences 1196 + // These are mainly movement-related but there are also a 1199 1197 // few that are used for other things like ctrl-c, ctrl-l, etc. 1200 1198 // https://github.com/xtermjs/xterm.js/blob/master/src/common/data/EscapeSequences.ts 1201 1199 { ··· 1250 1248 "key": "ctrl+shift+backspace", 1251 1249 "command": "workbench.action.terminal.sendSequence", 1252 1250 "args": { 1253 - "text": "\u0015", 1251 + "text": "\u0015" // backward-kill-line 1254 1252 }, 1255 - "when": "(isLinux || isWindows) && terminalFocus" 1253 + "when": "(isLinux || isWindows) && terminalFocus", 1256 1254 }, 1257 1255 { 1258 1256 "key": "ctrl+shift+delete", 1259 1257 "command": "workbench.action.terminal.sendSequence", 1260 1258 "args": { 1261 - "text": "\u000b", 1259 + "text": "\u000b" // kill-line 1262 1260 }, 1263 - "when": "(isLinux || isWindows) && terminalFocus" 1261 + "when": "(isLinux || isWindows) && terminalFocus", 1264 1262 }, 1265 1263 { 1264 + "key": "ctrl+backspace", 1265 + "command": "workbench.action.terminal.sendSequence", 1266 + "args": { 1267 + "text": "\u001b\u007f" // backward-kill-word 1268 + }, 1269 + "when": "isWindows && terminalFocus", 1270 + }, 1271 + { 1272 + "key": "ctrl+delete", 1273 + "command": "workbench.action.terminal.sendSequence", 1274 + "args": { 1275 + "text": "\u001bd" // kill-word 1276 + }, 1277 + "when": "isWindows && terminalFocus", 1278 + }, 1279 + //#endregion 1280 + { 1266 1281 "key": "alt+right", 1267 1282 "command": "-workbench.action.terminal.focusNextPane", 1268 1283 "when": "(isLinux || isWindows) && terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported" ··· 1327 1342 }, 1328 1343 { 1329 1344 "key": "alt+cmd+o", 1330 - "command": "-workbench.action.remote.showMenu" 1345 + "command": "-workbench.action.remote.showMenu", 1346 + }, 1347 + 1348 + // MARK: Windows 1349 + { 1350 + "key": "win+`", 1351 + "command": "workbench.action.terminal.toggleTerminal", 1352 + "when": "isWindows && terminal.active", 1353 + }, 1354 + { 1355 + "key": "f5", 1356 + "command": "workbench.action.debug.run", 1357 + "when": "debuggersAvailable && debugState == 'inactive'", 1358 + }, 1359 + { 1360 + "key": "ctrl+f5", 1361 + "command": "workbench.action.debug.start", 1362 + "when": "isWindows && debuggersAvailable && debugState == 'inactive'", 1363 + }, 1364 + { 1365 + "key": "ctrl+shift+`", 1366 + "command": "workbench.action.terminal.newInActiveWorkspace", 1367 + "when": "terminalProcessSupported || terminalWebExtensionContributedProfile", 1331 1368 }, 1369 + { 1370 + "key": "ctrl+shift+`", 1371 + "command": "-workbench.action.terminal.new", 1372 + "when": "terminalProcessSupported || terminalWebExtensionContributedProfile", 1373 + }, 1374 + { 1375 + "key": "ctrl+shift+5", 1376 + "command": "-workbench.action.terminal.splitActiveTab", 1377 + "when": "terminalProcessSupported && terminalTabsFocus", 1378 + }, 1379 + { 1380 + "key": "ctrl+win+f", 1381 + "command": "actions.find", 1382 + "when": "isWindows && (editorTextFocus || editorIsOpen)", 1383 + }, 1384 + { 1385 + "key": "ctrl+shift+win+f", 1386 + "command": "workbench.action.findInFiles", 1387 + "when": "isWindows", 1388 + }, 1389 + { 1390 + "key": "escape", 1391 + "command": "workbench.action.toggleSidebarVisibility", 1392 + "when": "searchInputBoxFocus", 1393 + }, 1394 + { 1395 + "key": "ctrl+alt+win+r", 1396 + "command": "editor.action.startFindReplaceAction", 1397 + "when": "isWindows && (editorFocus || editorIsOpen)", 1398 + }, 1399 + { 1400 + "key": "ctrl+alt+win+r", 1401 + "command": "editor.action.startFindReplaceAction", 1402 + "when": "isWindows && (editorFocus || editorIsOpen)", 1403 + }, 1404 + // Copy/paste has a bunch of different keybinds, this is just a subset for now 1405 + { "key": "win+alt+c", "command": "editor.action.clipboardCopyAction" }, 1406 + { 1407 + "key": "win+alt+c", 1408 + "command": "workbench.action.terminal.copySelection", 1409 + "when": "terminalTextSelectedInFocused || terminalFocus && terminalHasBeenCreated && terminalTextSelected || terminalFocus && terminalProcessSupported && terminalTextSelected || terminalFocus && terminalTextSelected && terminalTextSelectedInFocused || terminalHasBeenCreated && terminalTextSelected && terminalTextSelectedInFocused || terminalProcessSupported && terminalTextSelected && terminalTextSelectedInFocused", 1410 + }, 1411 + { 1412 + "key": "win+alt+c", 1413 + "command": "filesExplorer.copy", 1414 + "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !inputFocus", 1415 + }, 1416 + { "key": "win+alt+v", "command": "editor.action.clipboardPasteAction" }, 1417 + { 1418 + "key": "win+alt+v", 1419 + "command": "workbench.action.terminal.paste", 1420 + "when": "terminalTextSelectedInFocused || terminalFocus && terminalHasBeenCreated && terminalTextSelected || terminalFocus && terminalProcessSupported && terminalTextSelected || terminalFocus && terminalTextSelected && terminalTextSelectedInFocused || terminalHasBeenCreated && terminalTextSelected && terminalTextSelectedInFocused || terminalProcessSupported && terminalTextSelected && terminalTextSelectedInFocused", 1421 + }, 1422 + { 1423 + "key": "win+alt+v", 1424 + "command": "filesExplorer.paste", 1425 + "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !inputFocus", 1426 + }, 1427 + { 1428 + "key": "ctrl+alt+l", 1429 + "command": "workbench.action.editor.changeLanguageMode", 1430 + "when": "isWindows", 1431 + }, 1432 + { 1433 + "key": "ctrl+shift+l", 1434 + "command": "editor.action.indentUsingSpaces", 1435 + "when": "isWindows", 1436 + }, 1437 + { 1438 + "key": "ctrl+alt+o", 1439 + "command": "-workbench.action.remote.showMenu", 1440 + }, 1441 + { 1442 + "key": "ctrl+alt+o", 1443 + "command": "workbench.action.showOutputChannels", 1444 + "when": "isWindows", 1445 + }, 1446 + { 1447 + "command": "workbench.action.showAllSymbols", 1448 + "key": "ctrl+alt+p", 1449 + "when": "isWindows", 1450 + }, 1451 + { 1452 + "key": "ctrl+/", 1453 + "command": "editor.action.commentLine", 1454 + "when": "isWindows && editorTextFocus && !editorReadonly && neovim.mode == 'insert'", 1455 + } 1332 1456 ]
+209 -91
.config/Code/User/settings.json
··· 1 1 { 2 + // MARK: [langs] 2 3 "[c]": { 3 4 "editor.defaultFormatter": "xaver.clang-format", 4 5 }, ··· 10 11 "editor.defaultFormatter": "xaver.clang-format", 11 12 "editor.detectIndentation": false, 12 13 "editor.language.colorizedBracketPairs": [ 13 - ["(", ")"], 14 - ["[", "]"], 15 - ["{", "}"], 14 + [ "(", ")" ], 15 + [ "[", "]" ], 16 + [ "{", "}" ], 16 17 // Would be nice to have these, but they interfere with >> stream operators 17 18 // and sometimes also lt/gt comparison 18 19 // ["<", ">"], ··· 62 63 "editor.formatOnSave": false, 63 64 "editor.wordWrap": "on", 64 65 "editor.tabSize": 2, 65 - "editor.defaultFormatter": "vscode.json-language-features", 66 + "editor.defaultFormatter": "esbenp.prettier-vscode", 66 67 }, 67 68 "[jsonc]": { 68 69 "editor.formatOnSave": false, 69 70 "editor.wordWrap": "on", 70 71 "editor.tabSize": 2, 71 - "editor.defaultFormatter": "vscode.json-language-features", 72 + "editor.defaultFormatter": "esbenp.prettier-vscode", 72 73 }, 73 74 "[latex]": { 74 75 "editor.formatOnSave": true, ··· 105 106 "[rust]": { 106 107 "editor.formatOnSave": true, 107 108 "editor.language.colorizedBracketPairs": [ 108 - ["(", ")"], 109 - ["[", "]"], 110 - ["{", "}"], 109 + [ "(", ")" ], 110 + [ "[", "]" ], 111 + [ "{", "}" ], 111 112 // See C++ comment, basically this doesn't work well with < and > operators 112 113 // as well as => in match statements and -> in function signatures 113 114 // ["<", ">"], ··· 120 121 // This may be moderately unhinged, but makes it easy to align columns 121 122 // when writing robot files, lmao. Uses custom colors to make the lines 122 123 // fainter so they don't cause *quite* as much visual noise. 123 - {"color": "#5a5a5a45", "column": 4}, 124 - {"color": "#5a5a5a45", "column": 8}, 125 - {"color": "#5a5a5a45", "column": 12}, 126 - {"color": "#5a5a5a45", "column": 16}, 127 - {"color": "#5a5a5a45", "column": 20}, 128 - {"color": "#5a5a5a45", "column": 24}, 129 - {"color": "#5a5a5a45", "column": 28}, 130 - {"color": "#5a5a5a45", "column": 32}, 131 - {"color": "#5a5a5a45", "column": 36}, 132 - {"color": "#5a5a5a45", "column": 40}, 133 - {"color": "#5a5a5a45", "column": 44}, 134 - {"color": "#5a5a5a45", "column": 48}, 135 - {"color": "#5a5a5a45", "column": 52}, 136 - {"color": "#5a5a5a45", "column": 56}, 137 - {"color": "#5a5a5a45", "column": 60}, 138 - {"color": "#5a5a5a45", "column": 64}, 139 - {"color": "#5a5a5a45", "column": 68}, 140 - {"color": "#5a5a5a45", "column": 72}, 141 - {"color": "#5a5a5a45", "column": 76}, 142 - {"color": "#5a5a5a45", "column": 84}, 143 - {"color": "#5a5a5a45", "column": 92}, 144 - {"color": "#5a5a5a45", "column": 96}, 124 + { "color": "#5a5a5a45", "column": 4 }, 125 + { "color": "#5a5a5a45", "column": 8 }, 126 + { "color": "#5a5a5a45", "column": 12 }, 127 + { "color": "#5a5a5a45", "column": 16 }, 128 + { "color": "#5a5a5a45", "column": 20 }, 129 + { "color": "#5a5a5a45", "column": 24 }, 130 + { "color": "#5a5a5a45", "column": 28 }, 131 + { "color": "#5a5a5a45", "column": 32 }, 132 + { "color": "#5a5a5a45", "column": 36 }, 133 + { "color": "#5a5a5a45", "column": 40 }, 134 + { "color": "#5a5a5a45", "column": 44 }, 135 + { "color": "#5a5a5a45", "column": 48 }, 136 + { "color": "#5a5a5a45", "column": 52 }, 137 + { "color": "#5a5a5a45", "column": 56 }, 138 + { "color": "#5a5a5a45", "column": 60 }, 139 + { "color": "#5a5a5a45", "column": 64 }, 140 + { "color": "#5a5a5a45", "column": 68 }, 141 + { "color": "#5a5a5a45", "column": 72 }, 142 + { "color": "#5a5a5a45", "column": 76 }, 143 + { "color": "#5a5a5a45", "column": 84 }, 144 + { "color": "#5a5a5a45", "column": 92 }, 145 + { "color": "#5a5a5a45", "column": 96 }, 145 146 // Keep the default ones 146 147 80, 147 148 88, ··· 173 174 "editor.gotoLocation.alternativeImplementationCommand": "editor.action.goToReferences", 174 175 }, 175 176 "[xml]": { 176 - "editor.defaultFormatter": "DotJoshJohnson.xml", 177 + "editor.defaultFormatter": "redhat.vscode-xml", 177 178 }, 179 + 180 + // MARK: A 178 181 179 182 "accessibility.signals.terminalBell": { 180 183 "sound": "on" 181 184 }, 182 185 186 + "AHK++.v2.file": { 187 + "interpreterPath": "C:/Users/CHAMI008/scoop/shims/autohotkey.exe", 188 + }, 189 + "AHK++.v2.formatter": { 190 + "arrayStyle": "none", 191 + "braceStyle": "One True Brace", 192 + "breakChainedMethods": false, 193 + "ignoreComment": false, 194 + "indentString": " ", 195 + "indentBetweenHotIfDirectives": true, 196 + "keywordStartWithUppercase": false, 197 + "maxPreserveNewlines": 2, 198 + "objectStyle": "none", 199 + "preserveNewlines": true, 200 + "spaceBeforeConditional": true, 201 + "spaceAfterDoubleColon": false, 202 + "spaceInEmptyParen": false, 203 + "spaceInOther": true, 204 + "spaceInParen": false, 205 + "switchCaseAlignment": false, 206 + "symbolWithSameCase": false, 207 + "whitespaceBeforeInlineComment": "", 208 + "wrapLineLength": 100 209 + }, 210 + "AHK++.v2.general": { 211 + "completeFunctionCalls": true, 212 + }, 213 + 183 214 "apc.imports": [ 184 215 // ${userHome} is supposed to work here, but doesn't seem to. 185 216 "/Users/ichamberlain/.config/Code/User/custom.css", ··· 217 248 // And make the comment editor also use the same. The second selector is needed 218 249 // for the cursor to use the same letter spacing as the rendered text, otherwise 219 250 // selections and cursor position will be computed for the default font instead . 220 - ".comment-form .monaco-editor, .comment-form .monaco-editor-background .monaco-mouse-cursor-text": { 251 + ".comment-form .monaco-editor, .comment-form .monaco-editor-background .monaco-mouse-cursor-text, .comments-panel .comments-panel-container .text code": { 221 252 "font-size": "12px !important", 222 253 "font-feature-settings": "'calt', 'liga', 'ss03', 'ss04', 'ss05', 'ss06', 'ss07', 'ss08', 'ss09' !important", 223 254 // Also override spacing! The cursor will be screwed up otherwise: ··· 235 266 "atlascode.bitbucket.explorer.enabled": false, 236 267 "atlascode.bitbucket.pipelines.explorerEnabled": false, 237 268 "atlascode.bitbucket.issues.explorerEnabled": false, 238 - "atlascode.bitbucket.preferredRemotes": [], 269 + "atlascode.bitbucket.preferredRemotes": [ ], 239 270 "atlascode.bitbucket.contextMenus.enabled": false, 240 271 "atlascode.bitbucket.statusbar.enabled": false, 241 272 "atlascode.bitbucket.enabled": false, ··· 243 274 "atlascode.jira.explorer.monitorEnabled": false, 244 275 "atlascode.jira.explorer.refreshInterval": 60, 245 276 "atlascode.jira.hover.enabled": true, 246 - "atlascode.jira.startWorkBranchTemplate.customPrefixes": [], 277 + "atlascode.jira.startWorkBranchTemplate.customPrefixes": [ ], 247 278 "atlascode.jira.startWorkBranchTemplate.customTemplate": "ian/{{{issueKey}}}-{{{summary}}}", 248 279 "atlascode.jira.statusbar.enabled": false, 249 280 "atlascode.jira.todoIssues.enabled": true, ··· 256 287 ], 257 288 "atlascode.outputLevel": "debug", 258 289 290 + // MARK: B 291 + 259 292 "bazel.buildifierFixOnFormat": true, 260 293 "bazel.executable": "/usr/local/bin/bazelisk", 261 294 "bazel.enableCodeLens": true, 262 295 "bazel.queriesShareServer": true, 263 296 264 297 "breadcrumbs.enabled": true, 298 + 299 + // MARK: C 265 300 266 301 "C_Cpp.autocomplete": "disabled", 267 302 "C_Cpp.enhancedColorization": "disabled", ··· 289 324 "--pch-storage=disk", 290 325 "--background-index" 291 326 ], 292 - "clangd.checkUpdates": true, 293 - "clangd.path": "/Users/ichamberlain/Library/Application Support/Code/User/globalStorage/llvm-vs-code-extensions.vscode-clangd/install/18.1.3/clangd_18.1.3/bin/clangd", 327 + "clangd.checkUpdates": false, 328 + "clangd.path": "/Users/ianchamberlain/Library/Application Support/Code/User/globalStorage/llvm-vs-code-extensions.vscode-clangd/install/18.1.3/clangd_18.1.3/bin/clangd", 294 329 "clangd.onConfigChanged": "restart", 295 330 296 331 "cmake.ignoreCMakeListsMissing": true, ··· 303 338 "workbench.action.tasks.runTask" 304 339 ], 305 340 306 - "color-highlight.matchRgbWithNoFunction": false, 341 + "color-highlight.matchRgbWithNoFunction": false, 307 342 "color-highlight.languages": [ 308 343 "*", 309 344 "!css", ··· 312 347 "!mapfile", 313 348 ], 314 349 "color-highlight.rgbWithNoFunctionLanguages": [ 315 - "rust", 350 + "rust", 316 351 ], 317 352 "color-highlight.markerType": "dot-before", 318 353 ··· 326 361 // so leaving it as false is actually fine most of the time. 327 362 // See https://github.com/streetsidesoftware/vscode-spell-checker/issues/345 328 363 "cSpell.allowCompoundWords": false, 329 - "cSpell.enableFiletypes": [ 330 - "*", 331 - "markdown" 332 - ], 364 + "cSpell.enabledFileTypes": { 365 + "*": true, 366 + "markdown": true, 367 + }, 333 368 "cSpell.customDictionaries": { 334 369 "default": { 335 370 "name": "default", ··· 352 387 "**/.cargo/**", 353 388 "**/.rustup/**", 354 389 ], 355 - "cSpell.showStatus": false, 356 390 "cSpell.useGitignore": false, 357 391 "cSpell.diagnosticLevel": "Hint", 392 + "cSpell.useCustomDecorations": false, 393 + 394 + // MARK: D 358 395 359 396 "diffEditor.hideUnchangedRegions.enabled": true, 397 + "diffEditor.ignoreTrimWhitespace": true, 360 398 "diffEditor.renderSideBySide": true, 361 399 "diffEditor.wordWrap": "on", 362 400 363 401 "diffviewer.colorScheme": "dark", 364 - "diffviewer.outputFormat": "line-by-line", 402 + "diffviewer.outputFormat": "side-by-side", 365 403 366 404 "debug.console.acceptSuggestionOnEnter": "off", 367 405 "debug.console.fontFamily": "Monaspace Argon, Input Mono, Monaco, monospace", ··· 397 435 // "dotfiles.installCommand": "true", // ".config/yadm/bootstrap", 398 436 // "dotfiles.targetPath": "~", 399 437 438 + "dotnetAcquisitionExtension.enableTelemetry": false, 439 + 440 + // MARK: E 400 441 "editor.acceptSuggestionOnEnter": "smart", 401 442 "editor.accessibilitySupport": "off", 402 443 "editor.bracketPairColorization.enabled": true, ··· 425 466 "editor.lineNumbers": "on", 426 467 "editor.renderControlCharacters": true, 427 468 "editor.glyphMargin": true, 428 - "editor.renderWhitespace": "selection", 469 + "editor.renderWhitespace": "none", 429 470 "editor.rulers": [ 430 471 80, 431 472 88, // `black`'s default max length ··· 559 600 "foreground": "#F92672", 560 601 "fontStyle": "", 561 602 }, 562 - }, 563 - { 603 + }, 604 + { 564 605 "scope": "support.type.property-name.array.toml", 565 606 "settings": { 566 607 "foreground": "#A6E22E", ··· 657 698 "fontStyle": "italic", 658 699 } 659 700 }, 701 + { 702 + "scope": "entity.name.class.ron", 703 + "settings": { 704 + // "foreground": "#F8F8F2", 705 + "fontStyle": "" 706 + } 707 + }, 660 708 ], 661 709 } 662 710 }, ··· 715 763 "asvetliakov.vscode-neovim": 1, 716 764 }, 717 765 766 + // MARK: F 718 767 "files.associations": { 719 768 "**/.cargo/config": "toml", 720 769 "**/.ssh/*config*": "ssh_config", ··· 741 790 "Brewfile.lock.json": "json", 742 791 "*Brewfile##*": "ruby", 743 792 "*dockerfile*": "dockerfile", 744 - "*gitconfig*": "ini", 793 + "*gitconfig*": "gitconfig", 794 + "**/.config/git/config*": "gitconfig", 745 795 ".bazelignore": "gitignore", 746 796 ".clang-format": "yaml", 747 797 ".coveragerc": "ini", 748 798 ".gitmodules": "properties", 749 799 "**/BUILD": "starlark", 750 - "BUILD.*": "starlark", 800 + "BUILD.bazel": "starlark", 801 + "BUILD*.bzl": "starlark", 751 802 "Cargo.lock": "toml", 752 803 "config.toml.example": "toml", 753 804 "gdbinit": "shellscript", 754 - "vimrc": "viml", 805 + ".vimrc": "viml", 755 806 "yarn.lock": "yarnlock", 756 807 ".clangd": "yaml", 757 808 ".yarnrc": "yarnlock", ··· 788 839 "*.itermcolors": "propertylist", 789 840 "**/pre-commit/patch*": "diff", 790 841 "flake.lock": "json", 842 + "*.dson": "ron", 843 + "*.ahk": "ahk", 844 + "*.ahk2":"ahk2", 845 + "*.wflow": "xml", 846 + "**/git/ignore": "gitignore", 791 847 }, 848 + "files.eol": "auto", 792 849 "files.exclude": { 793 850 "**/.cache/**": true, 794 851 "**/.DS_Store": true, ··· 832 889 "**/private/var/tmp/**": true, 833 890 }, 834 891 892 + // MARK: G 835 893 "git.autorefresh": true, 836 894 "git.autoRepositoryDetection": "openEditors", 837 895 "git.detectSubmodules": true, ··· 839 897 "git.enableStatusBarSync": false, 840 898 "git.ignoreSubmodules": false, 841 899 "git.mergeEditor": true, 900 + "git.openRepositoryInParentFolders": "never", 842 901 "git.optimisticUpdate": true, 843 902 844 903 // TODO: vscode-github issue on these two: ··· 977 1036 "gitlens.mode.statusBar.enabled": false, 978 1037 "gitlens.plusFeatures.enabled": false, 979 1038 "gitlens.statusBar.enabled": false, 1039 + "gitlens.telemetry.enabled": false, 980 1040 "gitlens.terminalLinks.showDetailsView": false, 981 1041 "gitlens.views.repositories.autoRefresh": false, 982 1042 ··· 1005 1065 "noSemanticNumber": true, 1006 1066 }, 1007 1067 1008 - "godot_tools.gdscript_lsp_server_port": 6005, 1009 - "godot_tools.editor_path": "/var/lib/flatpak/exports/bin/org.godotengine.Godot", 1068 + "godotTools.editorPath.godot4": "godot", 1069 + "godotTools.lsp.serverPort": 6005, 1010 1070 1011 1071 "groovyLint.format.enable": false, 1012 1072 "groovyLint.format.useDocumentIndentSize": true, ··· 1014 1074 "grunt.autoDetect": "off", 1015 1075 "gulp.autoDetect": "off", 1016 1076 1077 + // MARK: H 1078 + 1017 1079 "haskell.manageHLS": "PATH", 1018 1080 1019 1081 "hexeditor.columnWidth": 16, ··· 1023 1085 1024 1086 "html.autoClosingTags": true, 1025 1087 1088 + // MARK: I 1089 + 1026 1090 "isort.args": [ 1027 1091 "--profile", 1028 1092 "black" 1029 1093 ], 1030 1094 1095 + // MARK: J 1096 + 1031 1097 "jake.autoDetect": "off", 1032 1098 1033 1099 "json.format.keepLines": true, 1034 1100 1035 1101 "jupyter.interactiveWindow.textEditor.magicCommandsAsComments": true, 1102 + 1103 + // MARK: K 1036 1104 1037 1105 // This seems to fix key issues on Linux, but TBD whether it breaks anything on macOS 1038 1106 "keyboard.dispatch": "keyCode", 1107 + 1108 + // MARK: L 1039 1109 1040 1110 "lldb.adapterEnv": { 1041 1111 "PYENV_VERSION": "system" ··· 1053 1123 "?.lua", 1054 1124 ], 1055 1125 1126 + // MARK: M 1127 + 1056 1128 "markdown-preview-enhanced.automaticallyShowPreviewOfMarkdownBeingEdited": false, 1057 1129 "markdown-preview-enhanced.codeBlockTheme": "monokai.css", 1058 1130 "markdown-preview-enhanced.mermaidTheme": "dark", ··· 1075 1147 1076 1148 "mermaid.theme": "dark", 1077 1149 1150 + "mesonbuild.downloadLanguageServer": true, 1151 + 1078 1152 "multiDiffEditor.experimental.enabled": false, 1079 1153 1154 + // MARK: N 1155 + 1080 1156 "nginx-conf-hint.syntax": "sublime", 1081 1157 1082 1158 "nix.enableLanguageServer": true, 1083 - "nix.serverPath": "nil", // "nixd", 1159 + "nix.serverPath": "nil", 1160 + "nix.hiddenLanguageServerErrors" : [ 1161 + "textDocument/definition", 1162 + "textDocument/documentSymbol", 1163 + "textDocument/documentHighlight", 1164 + ], 1165 + "nix.serverEnv": { 1166 + // "NIL_LOG": "trace", 1167 + // "PATH": "${env:PATH}" 1168 + }, 1084 1169 "nix.serverSettings": { 1085 1170 // https://github.com/oxalica/nil/blob/main/docs/configuration.md 1086 1171 "nil": { ··· 1122 1207 "jupyter-notebook": "left" 1123 1208 }, 1124 1209 "notebook.lineNumbers": "on", 1210 + 1211 + // MARK: O 1125 1212 1126 1213 "org.todoKeywords": [ 1127 1214 "TODO", ··· 1131 1218 1132 1219 "output.smartScroll.enabled": false, 1133 1220 1221 + // MARK: P 1222 + 1134 1223 "plist.editor.spacing": "comfortable", 1135 1224 "plist.logging.level": "verbose", 1136 1225 ··· 1156 1245 "python.terminal.activateEnvironment": false, 1157 1246 "python.venvPath": "${env:PYENV_ROOT}", 1158 1247 1248 + // MARK: Q/R 1249 + 1159 1250 "remote.SSH.configFile": "~/.ssh/vscode_config", 1160 1251 1161 1252 "robot.completions.keywords.format": "Title Case", ··· 1173 1264 "CARGO_UNSTABLE_SPARSE_REGISTRY": "true", 1174 1265 }, 1175 1266 "rust-analyzer.server.extraEnv": { 1176 - "PATH": "${userHome}/.cargo/bin:/usr/local/bin:/usr/sbin:/usr/bin" 1267 + "PATH": "${userHome}/.nix-profile/bin:${userHome}/.cargo/bin:/usr/local/bin:/usr/sbin:/usr/bin" 1177 1268 }, 1178 1269 "rust-analyzer.cargo.noDefaultFeatures": false, 1179 1270 "rust-analyzer.checkOnSave.allTargets": true, ··· 1222 1313 // Makes debugging test output much more readable 1223 1314 "RUST_TEST_THREADS": "1" 1224 1315 }, 1225 - "rust-analyzer.runnables.extraArgs": [], 1316 + "rust-analyzer.runnables.extraArgs": [ ], 1226 1317 "rust-analyzer.semanticHighlighting.punctuation.specialization.enable": true, 1318 + 1319 + // MARK: S 1227 1320 1228 1321 "salt-lint.enable": true, 1229 1322 "salt-lint.executablePath": "/Users/ichamberlain/.pyenv/versions/i95-py3/bin/salt-lint", ··· 1238 1331 "bazel-event-log.json": true, 1239 1332 "**/.tox": true, 1240 1333 "**/.jj": true, 1334 + "**/.direnv": true 1241 1335 }, 1242 1336 "search.useIgnoreFiles": true, 1243 1337 1338 + "security.allowedUNCHosts": [ 1339 + "wsl.localhost" 1340 + ], 1341 + "security.promptForRemoteFileProtocolHandling": false, 1244 1342 "security.workspace.trust.untrustedFiles": "open", 1245 1343 1246 1344 "shader-toy.reloadOnEditTextDelay": 2, ··· 1282 1380 1283 1381 "stylua.searchParentDirectories": true, 1284 1382 1383 + // MARK: T 1384 + 1285 1385 "telemetry.telemetryLevel": "off", 1286 1386 1287 1387 // NOTE: slow terminal on big sur was fixable via 1288 1388 // codesign --remove-signature "~/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Renderer).app" 1289 1389 "terminal.external.osxExec": "iTerm.app", 1290 1390 "terminal.external.linuxExec": "konsole", 1391 + "terminal.integrated.enableFileLinks": "on", 1291 1392 "terminal.integrated.commandsToSkipShell": [ 1292 1393 "workbench.action.toggleSidebarVisibility", 1293 1394 "workbench.action.gotoSymbol", ··· 1299 1400 "terminal.integrated.confirmOnExit": "hasChildProcesses", 1300 1401 "terminal.integrated.confirmOnKill": "always", 1301 1402 "terminal.integrated.copyOnSelection": true, 1302 - "terminal.integrated.inheritEnv": true, 1403 + "terminal.integrated.inheritEnv": false, 1404 + "remote.WSL.useShellEnvironment": false, 1303 1405 // Normally we'd want Var to enable certain ligatures, but the integrated terminal 1304 1406 // doesn't seem to support them anyway so just use the non-Var for its higher weight 1305 - "terminal.integrated.fontFamily": "Monaspace Argon, MonaspiceAr Nerd Font, Input Mono, Monaco, monospace", 1306 - "terminal.integrated.fontSize": 11, 1407 + "terminal.integrated.fontFamily": "Monaspace Argon Var, Monaspace Argon, MonaspiceAr Nerd Font, Input Mono, Monaco, monospace", 1408 + "terminal.integrated.fontSize": 12, 1307 1409 "terminal.integrated.fontWeight": "400", 1308 1410 "terminal.integrated.fontWeightBold": "800", 1309 1411 // Integrated terminal "letterSpacing" only works in integer increments, but ··· 1343 1445 ], 1344 1446 "icon": "chevron-right" 1345 1447 }, 1448 + "JavaScript Debug Terminal": null, 1346 1449 }, 1347 1450 "terminal.integrated.profiles.linux": { 1348 1451 "bash": { 1349 1452 "path": "bash", 1350 - "icon": "terminal-bash" 1453 + "icon": "terminal-bash", 1351 1454 }, 1352 1455 "fish": { 1353 1456 "path": [ ··· 1357 1460 "/usr/local/bin/fish", 1358 1461 "/usr/local/bin/fish", 1359 1462 ], 1360 - "icon": "chevron-right" 1463 + "icon": "terminal", 1361 1464 }, 1465 + 1466 + "tmux": null, 1467 + "JavaScript Debug Terminal": null, 1468 + }, 1469 + "terminal.integrated.env.linux": { 1470 + // "PATH": null 1471 + }, 1472 + "terminal.integrated.profiles.windows": { 1473 + "PowerShell": { 1474 + "path": "pwsh.exe", 1475 + "icon": "terminal-powershell", 1476 + "color": "terminal.ansiCyan" 1477 + }, 1478 + "Git Bash": { 1479 + "source": "Git Bash", 1480 + "color": "terminal.ansiMagenta", 1481 + "icon": "terminal-bash", 1482 + }, 1483 + "NixOS": { 1484 + "path": "wsl.exe", 1485 + "args": [ "-d", "NixOS"], 1486 + "icon": "terminal-linux", 1487 + }, 1488 + // remove some of the builtin profiles: 1489 + "Command Prompt": null, 1490 + "JavaScript Debug Terminal": null, 1491 + "NixOS (WSL)": null, 1362 1492 }, 1363 1493 "terminal.integrated.rightClickBehavior": "default", 1364 1494 "terminal.integrated.scrollback": 10000, 1365 - "terminal.integrated.stickyScroll.enabled": true, 1366 1495 "terminal.integrated.stickyScroll.maxLineCount": 3, 1367 - "terminal.integrated.shellIntegration.enabled": true, 1496 + "terminal.integrated.shellIntegration.enabled": false, 1368 1497 "terminal.integrated.tabStopWidth": 4, 1369 - // "terminal.integrated.wordSeparators": " ()[]{}',\"`─‘’|", 1498 + // https://github.com/microsoft/vscode/issues/233131 1370 1499 "terminal.integrated.wordSeparators": "/\\()\"':,.;<>~!@#$%^&*|+=[]{}`?-_", 1371 1500 1372 1501 "todo-tree.filtering.excludeGlobs": [ ··· 1450 1579 1451 1580 "typescript.check.npmIsInstalled": false, 1452 1581 1582 + // MARK: U/V 1583 + 1453 1584 "vscode-neovim.logOutputToConsole": false, 1454 1585 "vscode-neovim.neovimClean": false, 1455 1586 "vscode-neovim.afterInitConfig": [], 1456 - "vscode-neovim.useWSL": false, 1587 + "vscode-neovim.useWSL": true, 1588 + "vscode-neovim.neovimExecutablePaths.darwin": "nvim", 1457 1589 "vscode-neovim.statusLineSeparator": " ⏐ ", // alternatively maybe § but it's a bit noisy 1458 1590 "vscode-neovim.highlightGroups.highlights": { 1459 1591 "CurSearch": { ··· 1479 1611 "vscode-pets.petSize": "small", 1480 1612 "vscode-pets.petType": "crab", 1481 1613 "vscode-pets.throwBallWithMouse": true, 1614 + 1615 + // MARK: W 1482 1616 1483 1617 "window.restoreWindows": "folders", 1484 1618 "window.title": "${folderName}${separator}${activeEditorMedium} ${dirty}", ··· 1535 1669 "[Cute]": { 1536 1670 // "activityBar.background": "#fceaf1", 1537 1671 "activityBar.inactiveForeground": "#333333b3", 1538 - "activityBar.background":"#fcdee9",// "#fceaf1", 1672 + "activityBar.background": "#fcdee9", // "#fceaf1", 1539 1673 "activityBar.foreground": "#333333", 1540 1674 "activityBar.dropBorder": "#ff4574", 1541 1675 "activityBar.activeBorder": "#ff4574", ··· 1569 1703 "workbench.colorTheme": "Monokai", 1570 1704 "workbench.preferredLightColorTheme": "Cute", 1571 1705 "workbench.preferredDarkColorTheme": "Monokai", 1706 + "workbench.editor.customLabels.enabled": true, 1707 + "workbench.editor.customLabels.patterns": { 1708 + "**/mod.rs": "${dirname}/mod.rs" 1709 + }, 1572 1710 "workbench.editor.empty.hint": "hidden", 1573 1711 "workbench.editor.enablePreview": false, 1574 1712 "workbench.editor.highlightModifiedTabs": true, ··· 1579 1717 "workbench.startupEditor": "newUntitledFile", 1580 1718 "workbench.trustedDomains.promptInTrustedWorkspace": true, 1581 1719 1720 + // MARK: X 1721 + 1582 1722 "xmlTools.enforcePrettySelfClosingTagOnFormat": true, 1583 1723 "xmlTools.splitAttributesOnFormat": true, 1584 1724 "xmlTools.splitXmlnsOnFormat": true, 1585 1725 "xml.downloadExternalResources.enabled": true, 1586 1726 "xml.validation.resolveExternalEntities": true, 1727 + 1728 + // MARK: Y 1587 1729 1588 1730 "yaml.schemaStore.enable": true, 1589 1731 "yaml.schemas": { ··· 1593 1735 "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json": [ 1594 1736 "**/*.tm[Ll]anguage.ya?ml" 1595 1737 ], 1596 - "file:///c%3A/Users/Ian/.vscode/extensions/atlassian.atlascode-3.0.10/resources/schemas/pipelines-schema.json": "bitbucket-pipelines.yml" 1597 1738 }, 1598 - "terminal.integrated.profiles.windows": { 1599 - "PowerShell": { 1600 - "source": "PowerShell", 1601 - "icon": "terminal-powershell" 1602 - }, 1603 - "Command Prompt": { 1604 - "path": [ 1605 - "${env:windir}\\Sysnative\\cmd.exe", 1606 - "${env:windir}\\System32\\cmd.exe" 1607 - ], 1608 - "args": [], 1609 - "icon": "terminal-cmd" 1610 - }, 1611 - "Git Bash": { 1612 - "source": "Git Bash" 1613 - }, 1614 - "NixOS (WSL)": { 1615 - "path": "C:\\WINDOWS\\System32\\wsl.exe", 1616 - "args": [ 1617 - "-d", 1618 - "NixOS" 1619 - ] 1620 - } 1621 - }, 1622 - "terminal.integrated.defaultProfile.windows": "PowerShell", 1739 + 1740 + // MARK: Z 1623 1741 }
+13 -1
.config/Code/User/snippets/python.json
··· 1 - {} 1 + { 2 + "__main__": { 3 + "description": "Main entrypoint for a script", 4 + "prefix": [ 5 + "if __name__ == \"__main__\"", 6 + "__main__", 7 + ], 8 + "body": [ 9 + "if __name__ == \"__main__\":", 10 + " ", 11 + ] 12 + } 13 + }
+12
.config/Code/User/snippets/rust.json
··· 18 18 "#!/bin/sh" 19 19 ] 20 20 }, 21 + "Tests module": { 22 + "prefix": [ 23 + "#[cfg(test)]", 24 + "mod tests" 25 + ], 26 + "body": [ 27 + "#[cfg(test)]", 28 + "mod tests {", 29 + " $0", 30 + "}", 31 + ] 32 + } 21 33 }
+10 -22
.config/emacs/init.el
··· 33 33 ;; just comment it out by adding a semicolon to the start of the line. 34 34 ;; You may delete these explanatory comments. 35 35 (package-initialize) 36 - 37 36 (custom-set-variables 38 37 ;; custom-set-variables was added by Custom. 39 38 ;; If you edit it by hand, you could mess it up, so be careful. 40 39 ;; Your init file should contain only one such instance. 41 40 ;; If there is more than one, they won't work right. 42 41 '(alert-fade-time 5) 43 - '(auto-save-file-name-transforms '((".*" "~/.local/share/emacs/autosave/" t))) 44 42 '(backup-by-copying t) 45 43 '(backup-directory-alist '(("." . "~/.local/share/emacs/backup"))) 46 44 '(before-save-hook '(delete-trailing-whitespace)) ··· 52 50 '(evil-undo-system 'undo-redo) 53 51 '(evil-vsplit-window-right t) 54 52 '(evil-want-keybinding nil) 53 + '(face-font-family-alternatives 54 + '(("Monospace" "Monaspace Argon Var" "Monaspace Argon" "courier" "fixed") 55 + ("Monospace Serif" "Monaspace Xenon Var" "Monaspace Xenon" "Courier 10 Pitch" "Consolas" "Courier Std" "FreeMono" "Nimbus Mono L" "courier" "fixed") 56 + ("courier" "CMU Typewriter Text" "fixed") 57 + ("Sans Serif" "helv" "helvetica" "arial" "fixed") 58 + ("helv" "helvetica" "arial" "fixed"))) 55 59 '(fill-column 88) 56 60 '(global-display-line-numbers-mode t) 57 61 '(global-orglink-mode t) ··· 89 93 ("begin" "$1" "$" "$$" "\\(" "\\["))) 90 94 '(org-image-actual-width nil) 91 95 '(org-indirect-buffer-display 'current-window) 92 - '(org-notifications-play-sounds nil) 93 - '(org-notifications-style 'libnotify) 94 - '(org-notifications-title "Agenda Reminder") 95 96 '(org-preview-latex-default-process 'dvipng) 96 97 '(org-priority-default 68) 97 98 '(org-priority-lowest 68) ··· 102 103 '(org-use-property-inheritance '("DEADLINE" "SCHEDULED")) 103 104 '(org-wild-notifier-keyword-whitelist nil) 104 105 '(package-selected-packages 105 - '(fish-mode ox-slack org-notifications org-ql dash alert orglink ox-gfm go-mode yaml-mode rust-mode hl-todo evil-collection monokai-theme evil-org evil)) 106 + '(fish-mode ox-slack org-ql dash alert orglink ox-gfm go-mode yaml-mode rust-mode hl-todo evil-collection monokai-theme evil-org evil)) 107 + '(package-user-dir "~/.local/share/emacs/elpa") 106 108 '(require-final-newline t) 107 109 '(select-enable-clipboard nil) 108 110 '(show-paren-mode t) ··· 115 117 ;; If you edit it by hand, you could mess it up, so be careful. 116 118 ;; Your init file should contain only one such instance. 117 119 ;; If there is more than one, they won't work right. 118 - ) 120 + '(default ((t (:inherit nil :extend nil :stipple nil :background "#272822" :foreground "#F8F8F2" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight regular :height 120 :width normal :foundry "nil" :family "Monaspace Argon Var"))))) 121 + 119 122 120 123 ;; ================================================================================ 121 124 ;; User Configuration ··· 256 259 ;; but now it seems like redo is working better 257 260 (org-agenda-redo))))) 258 261 259 - (defun org-agenda-redo-save-hook() 260 - ;; same as above, but only if current mode is org-mode 261 - (when (eq major-mode 'org-mode) 262 - (org-agenda-redo-all) 263 - ;; re-evaluate notifications after updating agenda 264 - (org-notifications-start))) 265 - 266 262 ;; https://emacs.stackexchange.com/a/13238 267 263 (defun org-todo-list-current-file (&optional arg) 268 264 "Like `org-todo-list', but using only the current buffer's file." ··· 371 367 ;; Export org-mode to github-flavored markdown 372 368 (eval-after-load "org" 373 369 '(require 'ox-gfm nil t)) 374 - 375 - (org-notifications-start) 376 - ;; add our own rule to make sure notifs are persistent. 377 - (alert-add-rule :category "org-notifications" 378 - :persistent t 379 - :style 'notifications 380 - ;; by default this is inserted to head of list 381 - :continue t)
+6
.config/flake.code-workspace
··· 24 24 { 25 25 "path": "nvim" 26 26 }, 27 + { 28 + "path": "yadm/forkgit" 29 + }, 30 + { 31 + "path": "yadm/vendored/yadm" 32 + }, 27 33 ], 28 34 "settings": { 29 35 // e.g. when opening with `yadm enter code` or using `.config/.git`
+2
.config/flake.nix
··· 162 162 enable = true; 163 163 enableRosetta = true; 164 164 inherit user; 165 + 166 + # bundlerGemGroups = [ "livecheck" "style" "audit" ]; 165 167 # TODO: Declarative tap management 166 168 }; 167 169 }
+4
.config/git/config
··· 35 35 su = submodule update 36 36 copy = !fish -c \"git diff --unified=3 $argv | fish_clipboard_copy\" -- 37 37 paste = !fish -c \"fish_clipboard_paste | git apply $argv\" -- 38 + ls = ls-files 38 39 [tag] 39 40 sort = version:refname 40 41 [core] 41 42 # editor unset, rely on $EDITOR to be set to my preference 42 43 quotePath = true 43 44 protectNTFS = false 45 + longpaths = true 46 + # autocrlf = input # TODO: double check this in windows/wsl/etc 47 + symlinks = true 44 48 [column] 45 49 ui = auto 46 50 [diff]
+6 -1
.config/home-manager/home.nix
··· 59 59 60 60 # TODO: try out default-flake 61 61 # https://github.com/nix-community/home-manager/issues/5753 62 + 63 + extra-plugin-files = "${config.xdg.configHome}/nix/plugins"; 64 + use-xdg-base-directories = true; 62 65 }; 66 + # Annoying, idk how to resolve this... 67 + # https://github.com/nix-community/home-manager/issues/5753 68 + nix.checkConfig = false; 63 69 64 70 # https://github.com/nix-community/home-manager/issues/2033 65 71 news = { ··· 126 132 toml 127 133 typescript 128 134 vim 129 - vimdoc 130 135 vimdoc 131 136 xml 132 137 ]
+5 -2
.config/home-manager/macos-defaults.nix
··· 16 16 # See https://nixos.org/manual/nixos/stable/index.html#sec-freeform-modules 17 17 # TODO: maybe upstream to home-manager... 18 18 # Also TODO: declaring these seems to break nixos configuration. 19 - /* options.targets.darwin.defaults = { 19 + # /* 20 + options.targets.darwin.defaults = { 20 21 "com.apple.AppleMultitouchTrackpad" = lib.mkOption { 21 22 type = with lib.types; attrsOf anything; 23 + default = null; 22 24 }; 23 25 "com.apple.driver.AppleBluetoothMultitouch.trackpad" = lib.mkOption { 24 26 type = with lib.types; attrsOf anything; 27 + default = null; 25 28 }; 26 29 }; 27 - */ 30 + # */ 28 31 29 32 config.targets.darwin = lib.mkIf pkgs.stdenv.isDarwin { 30 33 # region macOS defaults
+16 -10
.config/iterm2/scripts/AutoLaunch/night_mode_hicontrast.py
··· 14 14 iTerm2 async plugin runtime can serialize it to JSON. 15 15 """ 16 16 17 - HIGH = 0.6 17 + HIGH = 0.7 18 18 MEDIUM = 0.3 19 19 DEFAULT = 0.0 20 20 ··· 31 31 32 32 33 33 async def main(connection): 34 + # Session.all_proxy would be preferable here but seems broken... 34 35 app = await iterm2.async_get_app(connection) 35 - session = app.current_terminal_window.current_tab.current_session 36 - change = iterm2.LocalWriteOnlyProfile() 36 + assert app 37 + sessions = app.buried_sessions 38 + for window in app.windows: 39 + for tab in window.tabs: 40 + sessions.extend(tab.sessions) 41 + 42 + profile = iterm2.LocalWriteOnlyProfile() 37 43 38 44 while True: 39 45 now = datetime.now() ··· 58 64 ) 59 65 60 66 print(f"setting minimum contrast to {min_contrast}") 61 - change.set_minimum_contrast(min_contrast) 62 - try: 63 - await session.async_set_profile_properties(change) 64 - except Exception as err: 65 - print("Failed to set profile properties:", err) 66 - await asyncio.sleep(10) 67 - continue 67 + profile.set_minimum_contrast(min_contrast) 68 + for session in sessions: 69 + try: 70 + await session.async_set_profile_properties(profile) 71 + except Exception as err: 72 + print("Failed to set profile properties:", err) 73 + continue 68 74 69 75 print(f"Sleeping until approximately {wakeup} to adjust contrast again") 70 76 await asyncio.sleep((wakeup - now).total_seconds())
+1 -1
.config/keepassxc/keepassxc.ini
··· 97 97 Dashes=false 98 98 ExcludeAlike=false 99 99 ExcludedChars="<>(){};&" 100 - Length=64 100 + Length=20 101 101 Logograms=true 102 102 Math=false 103 103 Punctuation=false
.config/newtabtools/personal/tileImages/1.png

This is a binary file and will not be displayed.

.config/newtabtools/personal/tileImages/10.png

This is a binary file and will not be displayed.

.config/newtabtools/personal/tileImages/11.png

This is a binary file and will not be displayed.

.config/newtabtools/personal/tileImages/12.png

This is a binary file and will not be displayed.

.config/newtabtools/personal/tileImages/13.png

This is a binary file and will not be displayed.

.config/newtabtools/personal/tileImages/14.png

This is a binary file and will not be displayed.

.config/newtabtools/personal/tileImages/2.png

This is a binary file and will not be displayed.

.config/newtabtools/personal/tileImages/3.png

This is a binary file and will not be displayed.

.config/newtabtools/personal/tileImages/4.png

This is a binary file and will not be displayed.

.config/newtabtools/personal/tileImages/5.png

This is a binary file and will not be displayed.

.config/newtabtools/personal/tileImages/7.png

This is a binary file and will not be displayed.

.config/newtabtools/personal/tileImages/8.png

This is a binary file and will not be displayed.

.config/newtabtools/personal/tileImages/9.png

This is a binary file and will not be displayed.

.config/newtabtools/work/tileImages/1.png

This is a binary file and will not be displayed.

.config/newtabtools/work/tileImages/10.png

This is a binary file and will not be displayed.

.config/newtabtools/work/tileImages/11.png

This is a binary file and will not be displayed.

.config/newtabtools/work/tileImages/13.png

This is a binary file and will not be displayed.

.config/newtabtools/work/tileImages/2.png

This is a binary file and will not be displayed.

.config/newtabtools/work/tileImages/3.png

This is a binary file and will not be displayed.

.config/newtabtools/work/tileImages/4.png

This is a binary file and will not be displayed.

.config/newtabtools/work/tileImages/5.png

This is a binary file and will not be displayed.

.config/newtabtools/work/tileImages/6.png

This is a binary file and will not be displayed.

.config/newtabtools/work/tileImages/7.png

This is a binary file and will not be displayed.

.config/newtabtools/work/tileImages/8.png

This is a binary file and will not be displayed.

.config/newtabtools/work/tileImages/9.png

This is a binary file and will not be displayed.

+1 -1
.config/nix-darwin/homebrew/aarch64-darwin.nix
··· 15 15 system = "x86_64-darwin"; 16 16 17 17 configuration.homebrew = { 18 - inherit (config.homebrew) enable global; 18 + inherit (config.homebrew) enable global taps; 19 19 onActivation = { 20 20 inherit (config.homebrew.onActivation) cleanup extraFlags; 21 21 };
+1
.config/nix-darwin/homebrew/personal.nix
··· 4 4 caskArgs.appdir = "${config.users.users.${host.user}.home}/Applications"; 5 5 casks = [ 6 6 "mullvadvpn" 7 + "android-platform-tools" 7 8 ]; 8 9 }; 9 10 }
+13 -1
.config/nixos/prismo/configuration.nix
··· 26 26 efi.canTouchEfiVariables = true; 27 27 }; 28 28 29 + kernel.sysctl = { 30 + "net.ipv6.conf.all.disable_ipv6" = 0; 31 + "net.ipv6.conf.default.disable_ipv6" = 0; 32 + "net.ipv6.conf.lo.disable_ipv6" = 0; 33 + }; 34 + 29 35 extraModulePackages = [ 30 36 # Set custom kernel modules to be higher priority, so they override 31 37 # default kernel module files (which seem to have priority 0) ··· 45 51 networking.networkmanager = { 46 52 enable = true; 47 53 # Tried https://askubuntu.com/a/1228914 but it doesn't seem to help... 48 - # wifi.scanRandMacAddress = false; 54 + wifi.scanRandMacAddress = false; 49 55 }; 50 56 51 57 # Open ports in the firewall. ··· 128 134 enable = true; 129 135 aggressive = true; 130 136 # verbose = true; 137 + settings.general = { 138 + min_fan1_speed = 3000; 139 + min_fan2_speed = 3000; 140 + }; 131 141 }; 132 142 133 143 # NOTE: this requires applesmc-next for kernel modules and TLP script ··· 184 194 }; 185 195 186 196 programs.fish.enable = true; 197 + 198 + security.sudo.enable = true; 187 199 188 200 # ========================================================================== 189 201 # User configuration
+55 -3
.config/nvim/init.lua
··· 1 - HOME = os.getenv("HOME") or os.getenv("LocalAppData") 1 + HOME = os.getenv("HOME") or os.getenv("USERPROFILE") or os.getenv("LocalAppData") 2 2 3 3 local sep = package.config:sub(1, 1) 4 4 ··· 70 70 71 71 -- TODO: convert remainder of this to proper Lua config 72 72 73 + -- Wrap this in a pcall in case treesitter isn't installed 74 + pcall(function() 75 + require("nvim-treesitter.configs").setup({ 76 + highlight = { 77 + -- VScode does highlighting and we don't want treesitter 78 + enable = false, -- not vim.g.vscode, 79 + }, 80 + }) 81 + end) 82 + 83 + -- Even though vscode should be doing its own highlights, this also 84 + -- enables monokai for e.g. :help highlighting and matches a little better when 85 + -- vscode-neovim tries to highlight things it shouldn't. 86 + -- TODO I should maybe file another issue about the highlight stuff... 87 + require("monokai-nightasty").setup({ 88 + on_highlights = function(highlights, colors) 89 + -- It seems like most syntaxes just use String for quotes, but 90 + -- for some (e.g. JSON) they are highlighted differently. 91 + -- This just forces them back to regular String highlight 92 + highlights.Quote = highlights.String 93 + 94 + -- More like the old vim highlighting: 95 + highlights.gitcommitSummary, highlights.gitcommitOverflow = 96 + highlights.gitcommitOverflow, highlights.gitcommitSummary 97 + end, 98 + }) 99 + 100 + vim.cmd.colorscheme("monokai-nightasty") 101 + 73 102 if not vim.g.vscode then 74 103 -- Default to dark mode if unset 75 104 vim.opt.background = os.getenv("COLOR_THEME") or "dark" ··· 96 125 -- vscode-neovim 97 126 local vscode = require("vscode") 98 127 99 - vim.opt.cmdheight = 1 128 + -- vim.opt.cmdheight = 1 100 129 101 130 local group = vim.api.nvim_create_augroup("vscode-custom", {}) 102 131 ··· 128 157 129 158 -- https://github.com/vscode-neovim/vscode-neovim/issues/1718#issuecomment-2078380657 130 159 160 + -- Fix comment handling for AHK 161 + vim.api.nvim_create_autocmd({ "BufEnter" }, { 162 + pattern = { "*.ahk", "*.ahk2" }, 163 + group = group, 164 + callback = function(args) 165 + vim.opt.comments = { 166 + "s1:/*", 167 + "mb:*", 168 + "ex:*/", 169 + ":;;", 170 + ":;", 171 + } 172 + end, 173 + }) 174 + 131 175 -- For whatever reason, nvim buffers sometimes open without line numbers: 132 176 vim.opt.number = true 133 177 ··· 213 257 }, 214 258 215 259 -- Opt-in to takeover on some URLs 216 - ["https?://(www[.])?shadertoy[.]com"] = { 260 + ["https?://(www[.])?shadertoy[.]com/?.*"] = { 217 261 takeover = "once", 218 262 priority = 5, 219 263 }, ··· 225 269 } 226 270 227 271 if vim.g.started_by_firenvim then 272 + -- TODO: different devices need different font sizes here: 273 + -- https://github.com/glacambre/firenvim/issues/e565 274 + -- h9 is probably ok for a 1080p screen, but hiDPI is different 275 + -- and seems like 18~20 is about right? Lua could probably figure it out 276 + -- using some yadm / os commands 277 + 278 + require("lspconfig").glsl_analyzer.setup({}) 279 + 228 280 vim.cmd([[ 229 281 " For whatever reason this doesn't needs explicit keybinding: 230 282 " https://github.com/glacambre/firenvim/issues/332
+1 -1
.config/yadm/.pre-commit-config.yaml
··· 10 10 id: clean-keepassxc 11 11 language: python 12 12 entry: .config/yadm/hooks/clean-keepassxc-ini.py 13 - args: [.config/keepassxc/keepassxc.ini] 14 13 files: ^[.]config/keepassxc/keepassxc[.]ini 14 + pass_filenames: true 15 15 16 16 # Order these first so any auto-formatting etc. doesn't affect them. 17 17 # For example, merge conflict detection may be affected.
+2
.config/yadm/alt/.config/iterm2/com.googlecode.iterm2.plist##user.ianchamberlain,class.personal,extension.plist
··· 16 16 <integer>16384</integer> 17 17 <key>AiModel</key> 18 18 <string>gpt-3.5-turbo</string> 19 + <key>AllowClipboardAccess</key> 20 + <true/> 19 21 <key>AlternateMouseScroll</key> 20 22 <true/> 21 23 <key>AutoHideTmuxClientSession</key>
.config/yadm/alt/.ssh/config.local##class.personal

This is a binary file and will not be displayed.

.config/yadm/alt/.ssh/known_hosts##class.personal

This is a binary file and will not be displayed.

-370
.config/yadm/alt/AppData/Local/Packages/Microsoft.WindowsTerminal_8wekyb3d8bbwe/LocalState/settings.json##os.Msys,extension.json
··· 1 - { 2 - "$help": "https://aka.ms/terminal-documentation", 3 - "$schema": "https://aka.ms/terminal-profiles-schema", 4 - "actions": 5 - [ 6 - { 7 - "command": "unbound", 8 - "keys": "ctrl+w" 9 - }, 10 - { 11 - "command": 12 - { 13 - "action": "copy", 14 - "singleLine": false 15 - }, 16 - "keys": "ctrl+c" 17 - }, 18 - { 19 - "command": "paste", 20 - "keys": "ctrl+v" 21 - }, 22 - { 23 - "command": 24 - { 25 - "action": "splitPane", 26 - "split": "auto", 27 - "splitMode": "duplicate" 28 - }, 29 - "keys": "alt+shift+d" 30 - }, 31 - { 32 - "command": "find", 33 - "keys": "ctrl+shift+f" 34 - }, 35 - { 36 - "command": 37 - { 38 - "action": "closeTab" 39 - }, 40 - "keys": "alt+w" 41 - } 42 - ], 43 - "copyFormatting": "none", 44 - "copyOnSelect": true, 45 - "defaultProfile": "{c397f356-5e7b-55bc-956b-8cb4b9762c26}", 46 - "newTabMenu": 47 - [ 48 - { 49 - "type": "remainingProfiles" 50 - } 51 - ], 52 - "profiles": 53 - { 54 - "defaults": 55 - { 56 - "bellSound": 57 - [ 58 - "C:\\Windows\\Media\\Windows Ding.wav" 59 - ], 60 - "bellStyle": 61 - [ 62 - "audible", 63 - "taskbar" 64 - ], 65 - "colorScheme": "Campbell", 66 - "cursorShape": "filledBox", 67 - "experimental.rightClickContextMenu": true, 68 - "font": 69 - { 70 - "face": "MonaspiceAr Nerd Font Mono", 71 - "size": 10.0, 72 - "weight": "semi-light" 73 - }, 74 - "intenseTextStyle": "bold", 75 - "opacity": 80, 76 - "startingDirectory": null, 77 - "useAcrylic": true 78 - }, 79 - "list": 80 - [ 81 - { 82 - "colorScheme": "Campbell Powershell", 83 - "commandline": "%SystemRoot%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", 84 - "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", 85 - "hidden": false, 86 - "name": "Windows PowerShell" 87 - }, 88 - { 89 - "commandline": "%SystemRoot%\\System32\\cmd.exe", 90 - "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}", 91 - "hidden": false, 92 - "name": "Command Prompt" 93 - }, 94 - { 95 - "guid": "{c397f356-5e7b-55bc-956b-8cb4b9762c26}", 96 - "hidden": false, 97 - "name": "NixOS", 98 - "source": "Windows.Terminal.Wsl", 99 - "startingDirectory": "~" 100 - }, 101 - { 102 - "altGrAliasing": true, 103 - "antialiasingMode": "grayscale", 104 - "closeOnExit": "automatic", 105 - "colorScheme": "Campbell Powershell", 106 - "commandline": "%SystemRoot%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", 107 - "elevate": true, 108 - "guid": "{0fb33c24-b201-4274-b08f-dca05abc4d8d}", 109 - "hidden": false, 110 - "historySize": 9001, 111 - "icon": "ms-appx:///ProfileIcons/{61c54bbd-c2c6-5271-96e7-009a87ff44bf}.png", 112 - "name": "Windows PowerShell (Admin)", 113 - "padding": "8, 8, 8, 8", 114 - "snapOnInput": true, 115 - "startingDirectory": "%USERPROFILE%" 116 - }, 117 - { 118 - "altGrAliasing": true, 119 - "antialiasingMode": "grayscale", 120 - "closeOnExit": "automatic", 121 - "colorScheme": 122 - { 123 - "light": "Campbell" 124 - }, 125 - "commandline": "C:\\Program Files\\Git\\bin\\bash.exe", 126 - "guid": "{76879a03-9117-4f36-8662-f5859711629b}", 127 - "hidden": false, 128 - "historySize": 9001, 129 - "name": "Git Bash", 130 - "padding": "8, 8, 8, 8", 131 - "snapOnInput": true, 132 - "startingDirectory": "%USERPROFILE%" 133 - } 134 - ] 135 - }, 136 - "schemes": 137 - [ 138 - { 139 - "background": "#0C0C0C", 140 - "black": "#0C0C0C", 141 - "blue": "#0037DA", 142 - "brightBlack": "#767676", 143 - "brightBlue": "#3B78FF", 144 - "brightCyan": "#61D6D6", 145 - "brightGreen": "#16C60C", 146 - "brightPurple": "#B4009E", 147 - "brightRed": "#E74856", 148 - "brightWhite": "#F2F2F2", 149 - "brightYellow": "#F9F1A5", 150 - "cursorColor": "#FFFFFF", 151 - "cyan": "#3A96DD", 152 - "foreground": "#CCCCCC", 153 - "green": "#13A10E", 154 - "name": "Campbell", 155 - "purple": "#881798", 156 - "red": "#C50F1F", 157 - "selectionBackground": "#FFFFFF", 158 - "white": "#CCCCCC", 159 - "yellow": "#C19C00" 160 - }, 161 - { 162 - "background": "#012456", 163 - "black": "#0C0C0C", 164 - "blue": "#0037DA", 165 - "brightBlack": "#767676", 166 - "brightBlue": "#3B78FF", 167 - "brightCyan": "#61D6D6", 168 - "brightGreen": "#16C60C", 169 - "brightPurple": "#B4009E", 170 - "brightRed": "#E74856", 171 - "brightWhite": "#F2F2F2", 172 - "brightYellow": "#F9F1A5", 173 - "cursorColor": "#FFFFFF", 174 - "cyan": "#3A96DD", 175 - "foreground": "#CCCCCC", 176 - "green": "#13A10E", 177 - "name": "Campbell Powershell", 178 - "purple": "#881798", 179 - "red": "#C50F1F", 180 - "selectionBackground": "#FFFFFF", 181 - "white": "#CCCCCC", 182 - "yellow": "#C19C00" 183 - }, 184 - { 185 - "background": "#282C34", 186 - "black": "#282C34", 187 - "blue": "#61AFEF", 188 - "brightBlack": "#5A6374", 189 - "brightBlue": "#61AFEF", 190 - "brightCyan": "#56B6C2", 191 - "brightGreen": "#98C379", 192 - "brightPurple": "#C678DD", 193 - "brightRed": "#E06C75", 194 - "brightWhite": "#DCDFE4", 195 - "brightYellow": "#E5C07B", 196 - "cursorColor": "#FFFFFF", 197 - "cyan": "#56B6C2", 198 - "foreground": "#DCDFE4", 199 - "green": "#98C379", 200 - "name": "One Half Dark", 201 - "purple": "#C678DD", 202 - "red": "#E06C75", 203 - "selectionBackground": "#FFFFFF", 204 - "white": "#DCDFE4", 205 - "yellow": "#E5C07B" 206 - }, 207 - { 208 - "background": "#FAFAFA", 209 - "black": "#383A42", 210 - "blue": "#0184BC", 211 - "brightBlack": "#4F525D", 212 - "brightBlue": "#61AFEF", 213 - "brightCyan": "#56B5C1", 214 - "brightGreen": "#98C379", 215 - "brightPurple": "#C577DD", 216 - "brightRed": "#DF6C75", 217 - "brightWhite": "#FFFFFF", 218 - "brightYellow": "#E4C07A", 219 - "cursorColor": "#4F525D", 220 - "cyan": "#0997B3", 221 - "foreground": "#383A42", 222 - "green": "#50A14F", 223 - "name": "One Half Light", 224 - "purple": "#A626A4", 225 - "red": "#E45649", 226 - "selectionBackground": "#4F525D", 227 - "white": "#FAFAFA", 228 - "yellow": "#C18301" 229 - }, 230 - { 231 - "background": "#002B36", 232 - "black": "#002B36", 233 - "blue": "#268BD2", 234 - "brightBlack": "#073642", 235 - "brightBlue": "#839496", 236 - "brightCyan": "#93A1A1", 237 - "brightGreen": "#586E75", 238 - "brightPurple": "#6C71C4", 239 - "brightRed": "#CB4B16", 240 - "brightWhite": "#FDF6E3", 241 - "brightYellow": "#657B83", 242 - "cursorColor": "#FFFFFF", 243 - "cyan": "#2AA198", 244 - "foreground": "#839496", 245 - "green": "#859900", 246 - "name": "Solarized Dark", 247 - "purple": "#D33682", 248 - "red": "#DC322F", 249 - "selectionBackground": "#FFFFFF", 250 - "white": "#EEE8D5", 251 - "yellow": "#B58900" 252 - }, 253 - { 254 - "background": "#FDF6E3", 255 - "black": "#002B36", 256 - "blue": "#268BD2", 257 - "brightBlack": "#073642", 258 - "brightBlue": "#839496", 259 - "brightCyan": "#93A1A1", 260 - "brightGreen": "#586E75", 261 - "brightPurple": "#6C71C4", 262 - "brightRed": "#CB4B16", 263 - "brightWhite": "#FDF6E3", 264 - "brightYellow": "#657B83", 265 - "cursorColor": "#002B36", 266 - "cyan": "#2AA198", 267 - "foreground": "#657B83", 268 - "green": "#859900", 269 - "name": "Solarized Light", 270 - "purple": "#D33682", 271 - "red": "#DC322F", 272 - "selectionBackground": "#073642", 273 - "white": "#EEE8D5", 274 - "yellow": "#B58900" 275 - }, 276 - { 277 - "background": "#000000", 278 - "black": "#000000", 279 - "blue": "#3465A4", 280 - "brightBlack": "#555753", 281 - "brightBlue": "#729FCF", 282 - "brightCyan": "#34E2E2", 283 - "brightGreen": "#8AE234", 284 - "brightPurple": "#AD7FA8", 285 - "brightRed": "#EF2929", 286 - "brightWhite": "#EEEEEC", 287 - "brightYellow": "#FCE94F", 288 - "cursorColor": "#FFFFFF", 289 - "cyan": "#06989A", 290 - "foreground": "#D3D7CF", 291 - "green": "#4E9A06", 292 - "name": "Tango Dark", 293 - "purple": "#75507B", 294 - "red": "#CC0000", 295 - "selectionBackground": "#FFFFFF", 296 - "white": "#D3D7CF", 297 - "yellow": "#C4A000" 298 - }, 299 - { 300 - "background": "#FFFFFF", 301 - "black": "#000000", 302 - "blue": "#3465A4", 303 - "brightBlack": "#555753", 304 - "brightBlue": "#729FCF", 305 - "brightCyan": "#34E2E2", 306 - "brightGreen": "#8AE234", 307 - "brightPurple": "#AD7FA8", 308 - "brightRed": "#EF2929", 309 - "brightWhite": "#EEEEEC", 310 - "brightYellow": "#FCE94F", 311 - "cursorColor": "#000000", 312 - "cyan": "#06989A", 313 - "foreground": "#555753", 314 - "green": "#4E9A06", 315 - "name": "Tango Light", 316 - "purple": "#75507B", 317 - "red": "#CC0000", 318 - "selectionBackground": "#555753", 319 - "white": "#D3D7CF", 320 - "yellow": "#C4A000" 321 - }, 322 - { 323 - "background": "#300A24", 324 - "black": "#171421", 325 - "blue": "#0037DA", 326 - "brightBlack": "#767676", 327 - "brightBlue": "#08458F", 328 - "brightCyan": "#2C9FB3", 329 - "brightGreen": "#26A269", 330 - "brightPurple": "#A347BA", 331 - "brightRed": "#C01C28", 332 - "brightWhite": "#F2F2F2", 333 - "brightYellow": "#A2734C", 334 - "cursorColor": "#FFFFFF", 335 - "cyan": "#3A96DD", 336 - "foreground": "#FFFFFF", 337 - "green": "#26A269", 338 - "name": "Ubuntu-ColorScheme", 339 - "purple": "#881798", 340 - "red": "#C21A23", 341 - "selectionBackground": "#FFFFFF", 342 - "white": "#CCCCCC", 343 - "yellow": "#A2734C" 344 - }, 345 - { 346 - "background": "#000000", 347 - "black": "#000000", 348 - "blue": "#000080", 349 - "brightBlack": "#808080", 350 - "brightBlue": "#0000FF", 351 - "brightCyan": "#00FFFF", 352 - "brightGreen": "#00FF00", 353 - "brightPurple": "#FF00FF", 354 - "brightRed": "#FF0000", 355 - "brightWhite": "#FFFFFF", 356 - "brightYellow": "#FFFF00", 357 - "cursorColor": "#FFFFFF", 358 - "cyan": "#008080", 359 - "foreground": "#C0C0C0", 360 - "green": "#008000", 361 - "name": "Vintage", 362 - "purple": "#800080", 363 - "red": "#800000", 364 - "selectionBackground": "#FFFFFF", 365 - "white": "#C0C0C0", 366 - "yellow": "#808000" 367 - } 368 - ], 369 - "themes": [] 370 - }
.config/yadm/alt/AppData/Roaming/Code/User/snippets/cpp.json##os.Msys .config/yadm/alt/AppData/Roaming/Code/User/snippets/cpp.json##os.Msys,e.json
.config/yadm/alt/AppData/Roaming/Code/User/snippets/file##os.Msys .config/yadm/alt/AppData/Roaming/Code/User/snippets/file##os.Msys,e.file
.config/yadm/alt/AppData/Roaming/Code/User/snippets/go.json##os.Msys .config/yadm/alt/AppData/Roaming/Code/User/snippets/go.json##os.Msys,e.json
.config/yadm/alt/AppData/Roaming/Code/User/snippets/markdown.json##os.Msys .config/yadm/alt/AppData/Roaming/Code/User/snippets/markdown.json##os.Msys,e.json
.config/yadm/alt/AppData/Roaming/Code/User/snippets/python.json##os.Msys .config/yadm/alt/AppData/Roaming/Code/User/snippets/python.json##os.Msys,e.json
.config/yadm/alt/AppData/Roaming/Code/User/snippets/rust.json##os.Msys .config/yadm/alt/AppData/Roaming/Code/User/snippets/rust.json##os.Msys,e.json
.config/yadm/alt/AppData/Roaming/Code/User/snippets/snippets.code-snippets##os.Msys .config/yadm/alt/AppData/Roaming/Code/User/snippets/snippets.code-snippets##os.Msys,e.code-snippets
.config/yadm/alt/AppData/Roaming/Code/User/snippets/starlark.json##os.Msys .config/yadm/alt/AppData/Roaming/Code/User/snippets/starlark.json##os.Msys,e.json
+1
.config/yadm/alt/AppData/Roaming/Stretchly/config.json##os.Msys,e.json
··· 1 + ../../../Library/Application Support/Stretchly/config.json##os.Darwin
+521 -521
.config/yadm/alt/Library/Application Support/Stretchly/config.json##os.Darwin
··· 1 1 { 2 - "__internal__": { 3 - "migrations": { 4 - "version": "1.15.1" 5 - } 6 - }, 7 - "allScreens": true, 8 - "appExclusions": [ ], 9 - "appExclusionsCheckInterval": 1000, 10 - "audio": "reverie", 11 - "break": true, 12 - "breakDuration": 300000, 13 - "breakIdeas": [ 14 - { 15 - "data": [ 16 - "Not alone", 17 - "Do you find it hard to take a break alone? Try to do it with a co-worker. Aside from making it easier to stick to breaks, you will have a chance to get to know them better. Taking breaks together increases productivity." 18 - ], 19 - "enabled": true 20 - }, 21 - { 22 - "data": [ 23 - "Step away", 24 - "Do you ever notice how your brain can figure things out by itself? All it takes is to step away from the computer and take a break to think about something totally unrelated." 25 - ], 26 - "enabled": true 27 - }, 28 - { 29 - "data": [ 30 - "Microbreaks", 31 - "Rest is a key component in ensuring the performance of the musculoskeletal system. Frequent breaks can decrease the duration of a task and help lower the exposure to ergonomic injury risk." 32 - ], 33 - "enabled": true 34 - }, 35 - { 36 - "data": [ 37 - "Meditation", 38 - "Research studies suggest that mindfulness-based exercises help decrease anxiety, depression, stress, and pain, and help improve general health, mental health, and quality of life. Not sure how to start? There are numerous apps to help you out." 39 - ], 40 - "enabled": true 41 - }, 42 - { 43 - "data": [ 44 - "Blink", 45 - "Looking at screens for a long time causes you to blink less, thus exposing your eyes to the air. Blink rapidly for a few seconds to refresh the tear film and clear dust from the eye surface." 46 - ], 47 - "enabled": true 48 - }, 49 - { 50 - "data": [ 51 - "Ergonomics", 52 - "Improper height and angle of the keyboard, mouse, monitor or working surface can cause health problems. Take some time to read about desk ergonomics." 53 - ], 54 - "enabled": true 55 - }, 56 - { 57 - "data": [ 58 - "Move", 59 - "There are a lot of ways you can exercise within your office. Try marching in place or doing desk push-ups." 60 - ], 61 - "enabled": true 62 - }, 63 - { 64 - "data": [ 65 - "Change", 66 - "Do you have a stability ball or standing work desk? Consider replacing your desk chair with them for a while." 67 - ], 68 - "enabled": true 69 - }, 70 - { 71 - "data": [ 72 - "Notice", 73 - "Are you daydreaming or having trouble focusing? It is a sign that you need to take a break." 74 - ], 75 - "enabled": true 76 - }, 77 - { 78 - "data": [ 79 - "Tech", 80 - "How about taking a no-tech walk?" 81 - ], 82 - "enabled": true 83 - }, 84 - { 85 - "data": [ 86 - "Metabolism", 87 - "Emerging research shows that sitting for long periods of time contributes to risk of metabolic syndrome, heart attack and stroke risk and overall death risk, among others. Taking regular walking breaks can help your circulation, working to counteract some of those problems." 88 - ], 89 - "enabled": true 90 - }, 91 - { 92 - "data": [ 93 - "Active Meetings", 94 - "How about moving meetings from the conference room to the concourse? Walking not only burns calories but it may even foster a sense of collaboration." 95 - ], 96 - "enabled": true 97 - }, 98 - { 99 - "data": [ 100 - "Fruit", 101 - "Take your time and eat some fruit. Slowly. Notice the flavor, the texture, the freshness." 102 - ], 103 - "enabled": true 104 - }, 105 - { 106 - "data": [ 107 - "Bathrooms", 108 - "Walk to the farthest bathroom in the worksite facility when going to the restroom." 109 - ], 110 - "enabled": true 111 - }, 112 - { 113 - "data": [ 114 - "Coffee break", 115 - "Going on coffee break? Consider doing a 5-minute walk every time you go for one." 116 - ], 117 - "enabled": true 118 - }, 119 - { 120 - "data": [ 121 - "Colleagues", 122 - "Do not email or message office colleagues, walk to their desks to communicate with them." 123 - ], 124 - "enabled": true 125 - }, 126 - { 127 - "data": [ 128 - "Learning", 129 - "In a study of healthy volunteers, NIH researchers found that taking short breaks, early and often, may help our brains learn new skills." 130 - ], 131 - "enabled": true 132 - }, 133 - { 134 - "data": [ 135 - "Exercise", 136 - "Evidence suggests small amounts of regular exercise can bring dramatic health benefits, including measurably reducing stress." 137 - ], 138 - "enabled": true 139 - }, 140 - { 141 - "data": [ 142 - "Repeat", 143 - "Have you found your stretch-ly-routine? Do not forget to repeat it for more than once to better fight effects of prolonged sitting." 144 - ], 145 - "enabled": true 146 - }, 147 - { 148 - "data": [ 149 - "Wrist and forearm", 150 - "Extend your arms with the palms facing towards you, then slowly rotate the hands four times clockwise, then four times counter-clockwise." 151 - ], 152 - "enabled": true 153 - }, 154 - { 155 - "data": [ 156 - "Back stretching", 157 - "Join your hands behind your head, then lift them together up above your head ending with your palms facing upward." 158 - ], 159 - "enabled": true 160 - }, 161 - { 162 - "data": [ 163 - "Mobilize", 164 - "For every thirty minutes of stagnation, you should have at least one minute of stimulation." 165 - ], 166 - "enabled": true 167 - }, 168 - { 169 - "data": [ 170 - "7 Minute Workout", 171 - "This workout packs in a full-body exercise routine in a fraction of the time. But as with any exercise, be careful. There are numerous apps to get you started." 172 - ], 173 - "enabled": true 174 - }, 175 - { 176 - "data": [ 177 - "Pulse", 178 - " Raise your pulse rate to 120 beats per minute for 20 straight minutes four or five times a week doing anything you enjoy. Regularly raising your heart rate results in improved cardiovascular health." 179 - ], 180 - "enabled": true 181 - }, 182 - { 183 - "data": [ 184 - "Take the stairs ", 185 - "Studies have shown that stair climbing, which is considered vigorous-intensity physical activity, burns more calories per minute than jogging." 186 - ], 187 - "enabled": true 188 - }, 189 - { 190 - "data": [ 191 - "Make art", 192 - "Art therapy is known to have great mental health benefits, especially when it comes to stress management. How about writing a quick poem, taking a picture or painting something small?" 193 - ], 194 - "enabled": true 195 - }, 196 - { 197 - "data": [ 198 - "Declutter", 199 - "A clean space helps your focus at work and is often linked to positive emotions like happiness." 200 - ], 201 - "enabled": true 202 - }, 203 - { 204 - "data": [ 205 - "Lunch outside", 206 - "Nature is linked to positive emotions and decreased stress and anxiety. Whenever possible, try to take your daily lunch break outside, surrounded by some greenery." 207 - ], 208 - "enabled": true 209 - }, 210 - { 211 - "data": [ 212 - "Public transport", 213 - "If you use public transport regularly, you can stand instead of sitting. If it is possible, try to replace as many of your daily trips as possible with walking or cycling." 214 - ], 215 - "enabled": true 216 - }, 217 - { 218 - "data": [ 219 - "Yawning", 220 - "Yawning can be really helpful, as it produces tears to help moisten and lubricate the eyes." 221 - ], 222 - "enabled": true 223 - }, 224 - { 225 - "data": [ 226 - "Focus change", 227 - "Hold one finger close to the eye and focus on it. Slowly move the finger away, focus far into the distance and then back to the finger. Bring the finger back and focus on something far away." 228 - ], 229 - "enabled": true 230 - }, 231 - { 232 - "data": [ 233 - "Palming", 234 - "While seated, brace elbows on the desk and close to the desk edge. Let your weight fall forward and cup hands over eyes. Close your eyes and inhale slowly through nose and hold for few seconds. Continue deep breathing." 235 - ], 236 - "enabled": true 237 - }, 238 - { 239 - "data": [ 240 - "Hand squeezes", 241 - "Squeeze a pair of balled-up socks or a soft rubber ball, hold for 5 seconds. Repeat whole process a few times." 242 - ], 243 - "enabled": true 244 - }, 245 - { 246 - "data": [ 247 - "Slow Breathing", 248 - "Emerging research suggests potential for use of controlled slow breathing techniques as a means of optimising physiological parameters that appear to be associated with health and longevity." 249 - ], 250 - "enabled": true 251 - }, 252 - { 253 - "data": [ 254 - "Imaginative visualization", 255 - "Close your eyes and imagine yourself in a peaceful and calming place, such as a beach or a forest, focusing on the sights, sounds, and sensations of that environment." 256 - ], 257 - "enabled": true 258 - } 259 - ], 260 - "breakInterval": 2, 261 - "breakNotification": true, 262 - "breakNotificationInterval": 30000, 263 - "breakPostponableDurationPercent": 30, 264 - "breakPostpone": true, 265 - "breakPostponeTime": 300000, 266 - "breakPostponesLimit": 1, 267 - "breakStartSoundPlaying": false, 268 - "breakStrictMode": false, 269 - "breakWindowHeight": 0.9, 270 - "breakWindowWidth": 0.9, 271 - "checkNewVersion": true, 272 - "currentTimeInBreaks": true, 273 - "endBreakShortcut": "CmdOrCtrl+Esc", 274 - "fullscreen": false, 275 - "ideas": true, 276 - "isFirstRun": false, 277 - "language": "en", 278 - "mainColor": "#633738", 279 - "microbreak": true, 280 - "microbreakDuration": 20000, 281 - "microbreakIdeas": [ 282 - { 283 - "data": "Go grab a glass of water.", 284 - "enabled": true 285 - }, 286 - { 287 - "data": "Slowly look all the way left, then right.", 288 - "enabled": true 289 - }, 290 - { 291 - "data": "Slowly look all the way up, then down.", 292 - "enabled": true 293 - }, 294 - { 295 - "data": "Close your eyes and take few deep breaths.", 296 - "enabled": true 297 - }, 298 - { 299 - "data": "Close your eyes and relax.", 300 - "enabled": true 301 - }, 302 - { 303 - "data": "Stretch your legs.", 304 - "enabled": true 305 - }, 306 - { 307 - "data": "Stretch your arms.", 308 - "enabled": true 309 - }, 310 - { 311 - "data": "Is your sitting posture correct?", 312 - "enabled": true 313 - }, 314 - { 315 - "data": "Slowly turn head to side and hold for 10 seconds.", 316 - "enabled": true 317 - }, 318 - { 319 - "data": "Slowly tilt head to side and hold for 5-10 seconds.", 320 - "enabled": true 321 - }, 322 - { 323 - "data": "Stand from your chair and stretch.", 324 - "enabled": true 325 - }, 326 - { 327 - "data": "Refocus your eyes on an object at least 20 meters away.", 328 - "enabled": true 329 - }, 330 - { 331 - "data": "Take a moment to think about something you appreciate.", 332 - "enabled": true 333 - }, 334 - { 335 - "data": "Take a moment to smile at being alive.", 336 - "enabled": true 337 - }, 338 - { 339 - "data": "A truly ergonomic workstation is one that you regularly push away from.", 340 - "enabled": true 341 - }, 342 - { 343 - "data": "Close your eyes and count your breaths.", 344 - "enabled": true 345 - }, 346 - { 347 - "data": "Close your eyes and name the things you hear.", 348 - "enabled": true 349 - }, 350 - { 351 - "data": "Place your fingertips on your shoulders. Roll your shoulders forward for 10 seconds, then backward.", 352 - "enabled": true 353 - }, 354 - { 355 - "data": "Raise your right arm, stretch it over your head to the left, and hold for 10 seconds. Repeat on the other side.", 356 - "enabled": true 357 - }, 358 - { 359 - "data": "With your right hand, grab each finger of your left hand in turn and squeeze. Repeat on the other side.", 360 - "enabled": true 361 - }, 362 - { 363 - "data": "Stand up and do a lunge. Hold for 10 seconds, then do the other leg.", 364 - "enabled": true 365 - }, 366 - { 367 - "data": "Close your eyes and simply notice whatever arises in current moment, without judgement.", 368 - "enabled": true 369 - }, 370 - { 371 - "data": "Focus every 20 minutes for 20 seconds on an object at 20 feet distance.", 372 - "enabled": true 373 - }, 374 - { 375 - "data": "If you need help, ask for it.", 376 - "enabled": true 377 - }, 378 - { 379 - "data": "Do one thing at a time.", 380 - "enabled": true 381 - }, 382 - { 383 - "data": "Is your attention spent wisely?", 384 - "enabled": true 385 - }, 386 - { 387 - "data": "Change your sitting posture.", 388 - "enabled": true 389 - }, 390 - { 391 - "data": "Expose your eyes to natural light.", 392 - "enabled": true 393 - }, 394 - { 395 - "data": "With your eyes closed, slowly and gently raise your eyes to the ceiling and back down to the floor.", 396 - "enabled": true 397 - }, 398 - { 399 - "data": "With your eyes closed, slowly and gently move your eyes to the left, then slowly to the right.", 400 - "enabled": true 401 - }, 402 - { 403 - "data": "Shake your hands out to get some relief.", 404 - "enabled": true 405 - }, 406 - { 407 - "data": "One at a time, touch the tip of each finger to the tip of your thumb so they make an O-shape.", 408 - "enabled": true 409 - }, 410 - { 411 - "data": "Make a fist and then slide your fingers up until they point toward the ceiling, like you're telling someone to stop.", 412 - "enabled": true 413 - }, 414 - { 415 - "data": "Make a fist and then fan your fingers out and stretch them as far as you can.", 416 - "enabled": true 417 - }, 418 - { 419 - "data": "Sit tall, arms hanging at your sides, and slowly rotate neck in one direction in a large circle.", 420 - "enabled": true 421 - }, 422 - { 423 - "data": "Stand tall and slowly tilt your head toward the shoulder using the same hand until you feel a stretch.", 424 - "enabled": true 425 - }, 426 - { 427 - "data": "Stand tall with your arms by your side. Squeeze your shoulder blades together and hold.", 428 - "enabled": true 429 - }, 430 - { 431 - "data": "Stand tall with your arms raised along your shoulders. Move hands slightly behind your back, hold for a second and return.", 432 - "enabled": true 433 - }, 434 - { 435 - "data": "Sit on the edge of your chair, twist your torso to one side and hold for 10-15 seconds. Repeat on the other side.", 436 - "enabled": true 437 - }, 438 - { 439 - "data": "Stand up and put one foot on a nearby object, like a chair or step stool. Keep your knee bent and hold for 10-15 seconds. Repeat with the other foot.", 440 - "enabled": true 441 - }, 442 - { 443 - "data": "Stand with your feet shoulder-width apart, lower your body down as if you were sitting back into a chair, then stand back up. Repeat several times.", 444 - "enabled": true 445 - }, 446 - { 447 - "data": "Stand with you back and hands on a wall, then slowly move your arms up and down as if you were making snow angels.", 448 - "enabled": true 449 - }, 450 - { 451 - "data": "Stand facing a wall and place your hands on it, then do several push-ups.", 452 - "enabled": true 453 - }, 454 - { 455 - "data": "Sit on the edge of your chair and extend one leg straight out in front of you, holding for 10-15 seconds. Repeat with the other leg.", 456 - "enabled": true 457 - }, 458 - { 459 - "data": "Stand facing a wall, put one foot back and the other foot forward, then lean into the wall. Repeat with the other leg.", 460 - "enabled": true 461 - }, 462 - { 463 - "data": "Hold one arm straight up, then use the other arm to gently push the elbow of the first arm towards your head. Hold for 10-15 seconds. Repeat with the other arm.", 464 - "enabled": true 465 - }, 466 - { 467 - "data": "Tilt your head to one side, then to the other side, and then gently tilt it forward and backward.", 468 - "enabled": true 469 - }, 470 - { 471 - "data": "Reach one arm across your chest, hold onto the elbow with the other hand, and gently pull it in towards your chest. Repeat with the other arm.", 472 - "enabled": true 473 - }, 474 - { 475 - "data": "Stand up, put one foot on a nearby object, like a chair or step stool, and reach down to touch your toes. Repeat with the other leg.", 476 - "enabled": true 477 - }, 478 - { 479 - "data": "Stand in a doorway and place one arm on each side of the doorway, then gently lean forward until you feel a stretch in your chest.", 480 - "enabled": true 481 - }, 482 - { 483 - "data": "Sit on the edge of a chair or on the floor, and place the soles of your feet together, gently pressing down with your elbows to stretch your inner thighs.", 484 - "enabled": true 485 - } 486 - ], 487 - "microbreakInterval": 2400000, 488 - "microbreakNotification": true, 489 - "microbreakNotificationInterval": 10000, 490 - "microbreakPostponableDurationPercent": 30, 491 - "microbreakPostpone": true, 492 - "microbreakPostponeTime": 120000, 493 - "microbreakPostponesLimit": 1, 494 - "microbreakStartSoundPlaying": false, 495 - "microbreakStrictMode": false, 496 - "miniBreakAudio": "reverie", 497 - "miniBreakColor": "#633738", 498 - "monitorDnd": true, 499 - "morningHour": 7, 500 - "naturalBreaks": true, 501 - "naturalBreaksInactivityResetTime": 300000, 502 - "notifyNewVersion": true, 503 - "opacity": 0.75, 504 - "pauseBreaksToggleShortcut": "", 505 - "pauseForSuspendOrLock": true, 506 - "posLatitude": 42.37, 507 - "posLongitude": 71.1, 508 - "resetBreaksShortcut": "", 509 - "screen": "primary", 510 - "showBreaksAsRegularWindows": false, 511 - "showTrayIcon": true, 512 - "silentNotifications": false, 513 - "skipToNextLongBreakShortcut": "", 514 - "skipToNextMiniBreakShortcut": "", 515 - "skipToNextScheduledBreakShortcut": "", 516 - "themeSource": "system", 517 - "timeToBreakInTray": false, 518 - "transparentMode": true, 519 - "useIdeasFromSettings": false, 520 - "useMonochromeInvertedTrayIcon": false, 521 - "useMonochromeTrayIcon": true, 522 - "volume": 0.8 2 + "__internal__": { 3 + "migrations": { 4 + "version": "1.15.1" 5 + } 6 + }, 7 + "allScreens": true, 8 + "appExclusions": [], 9 + "appExclusionsCheckInterval": 1000, 10 + "audio": "reverie", 11 + "break": true, 12 + "breakDuration": 300000, 13 + "breakIdeas": [ 14 + { 15 + "data": [ 16 + "Not alone", 17 + "Do you find it hard to take a break alone? Try to do it with a co-worker. Aside from making it easier to stick to breaks, you will have a chance to get to know them better. Taking breaks together increases productivity." 18 + ], 19 + "enabled": true 20 + }, 21 + { 22 + "data": [ 23 + "Step away", 24 + "Do you ever notice how your brain can figure things out by itself? All it takes is to step away from the computer and take a break to think about something totally unrelated." 25 + ], 26 + "enabled": true 27 + }, 28 + { 29 + "data": [ 30 + "Microbreaks", 31 + "Rest is a key component in ensuring the performance of the musculoskeletal system. Frequent breaks can decrease the duration of a task and help lower the exposure to ergonomic injury risk." 32 + ], 33 + "enabled": true 34 + }, 35 + { 36 + "data": [ 37 + "Meditation", 38 + "Research studies suggest that mindfulness-based exercises help decrease anxiety, depression, stress, and pain, and help improve general health, mental health, and quality of life. Not sure how to start? There are numerous apps to help you out." 39 + ], 40 + "enabled": true 41 + }, 42 + { 43 + "data": [ 44 + "Blink", 45 + "Looking at screens for a long time causes you to blink less, thus exposing your eyes to the air. Blink rapidly for a few seconds to refresh the tear film and clear dust from the eye surface." 46 + ], 47 + "enabled": true 48 + }, 49 + { 50 + "data": [ 51 + "Ergonomics", 52 + "Improper height and angle of the keyboard, mouse, monitor or working surface can cause health problems. Take some time to read about desk ergonomics." 53 + ], 54 + "enabled": true 55 + }, 56 + { 57 + "data": [ 58 + "Move", 59 + "There are a lot of ways you can exercise within your office. Try marching in place or doing desk push-ups." 60 + ], 61 + "enabled": true 62 + }, 63 + { 64 + "data": [ 65 + "Change", 66 + "Do you have a stability ball or standing work desk? Consider replacing your desk chair with them for a while." 67 + ], 68 + "enabled": true 69 + }, 70 + { 71 + "data": [ 72 + "Notice", 73 + "Are you daydreaming or having trouble focusing? It is a sign that you need to take a break." 74 + ], 75 + "enabled": true 76 + }, 77 + { 78 + "data": [ 79 + "Tech", 80 + "How about taking a no-tech walk?" 81 + ], 82 + "enabled": true 83 + }, 84 + { 85 + "data": [ 86 + "Metabolism", 87 + "Emerging research shows that sitting for long periods of time contributes to risk of metabolic syndrome, heart attack and stroke risk and overall death risk, among others. Taking regular walking breaks can help your circulation, working to counteract some of those problems." 88 + ], 89 + "enabled": true 90 + }, 91 + { 92 + "data": [ 93 + "Active Meetings", 94 + "How about moving meetings from the conference room to the concourse? Walking not only burns calories but it may even foster a sense of collaboration." 95 + ], 96 + "enabled": true 97 + }, 98 + { 99 + "data": [ 100 + "Fruit", 101 + "Take your time and eat some fruit. Slowly. Notice the flavor, the texture, the freshness." 102 + ], 103 + "enabled": true 104 + }, 105 + { 106 + "data": [ 107 + "Bathrooms", 108 + "Walk to the farthest bathroom in the worksite facility when going to the restroom." 109 + ], 110 + "enabled": true 111 + }, 112 + { 113 + "data": [ 114 + "Coffee break", 115 + "Going on coffee break? Consider doing a 5-minute walk every time you go for one." 116 + ], 117 + "enabled": true 118 + }, 119 + { 120 + "data": [ 121 + "Colleagues", 122 + "Do not email or message office colleagues, walk to their desks to communicate with them." 123 + ], 124 + "enabled": true 125 + }, 126 + { 127 + "data": [ 128 + "Learning", 129 + "In a study of healthy volunteers, NIH researchers found that taking short breaks, early and often, may help our brains learn new skills." 130 + ], 131 + "enabled": true 132 + }, 133 + { 134 + "data": [ 135 + "Exercise", 136 + "Evidence suggests small amounts of regular exercise can bring dramatic health benefits, including measurably reducing stress." 137 + ], 138 + "enabled": true 139 + }, 140 + { 141 + "data": [ 142 + "Repeat", 143 + "Have you found your stretch-ly-routine? Do not forget to repeat it for more than once to better fight effects of prolonged sitting." 144 + ], 145 + "enabled": true 146 + }, 147 + { 148 + "data": [ 149 + "Wrist and forearm", 150 + "Extend your arms with the palms facing towards you, then slowly rotate the hands four times clockwise, then four times counter-clockwise." 151 + ], 152 + "enabled": true 153 + }, 154 + { 155 + "data": [ 156 + "Back stretching", 157 + "Join your hands behind your head, then lift them together up above your head ending with your palms facing upward." 158 + ], 159 + "enabled": true 160 + }, 161 + { 162 + "data": [ 163 + "Mobilize", 164 + "For every thirty minutes of stagnation, you should have at least one minute of stimulation." 165 + ], 166 + "enabled": true 167 + }, 168 + { 169 + "data": [ 170 + "7 Minute Workout", 171 + "This workout packs in a full-body exercise routine in a fraction of the time. But as with any exercise, be careful. There are numerous apps to get you started." 172 + ], 173 + "enabled": true 174 + }, 175 + { 176 + "data": [ 177 + "Pulse", 178 + " Raise your pulse rate to 120 beats per minute for 20 straight minutes four or five times a week doing anything you enjoy. Regularly raising your heart rate results in improved cardiovascular health." 179 + ], 180 + "enabled": true 181 + }, 182 + { 183 + "data": [ 184 + "Take the stairs ", 185 + "Studies have shown that stair climbing, which is considered vigorous-intensity physical activity, burns more calories per minute than jogging." 186 + ], 187 + "enabled": true 188 + }, 189 + { 190 + "data": [ 191 + "Make art", 192 + "Art therapy is known to have great mental health benefits, especially when it comes to stress management. How about writing a quick poem, taking a picture or painting something small?" 193 + ], 194 + "enabled": true 195 + }, 196 + { 197 + "data": [ 198 + "Declutter", 199 + "A clean space helps your focus at work and is often linked to positive emotions like happiness." 200 + ], 201 + "enabled": true 202 + }, 203 + { 204 + "data": [ 205 + "Lunch outside", 206 + "Nature is linked to positive emotions and decreased stress and anxiety. Whenever possible, try to take your daily lunch break outside, surrounded by some greenery." 207 + ], 208 + "enabled": true 209 + }, 210 + { 211 + "data": [ 212 + "Public transport", 213 + "If you use public transport regularly, you can stand instead of sitting. If it is possible, try to replace as many of your daily trips as possible with walking or cycling." 214 + ], 215 + "enabled": true 216 + }, 217 + { 218 + "data": [ 219 + "Yawning", 220 + "Yawning can be really helpful, as it produces tears to help moisten and lubricate the eyes." 221 + ], 222 + "enabled": true 223 + }, 224 + { 225 + "data": [ 226 + "Focus change", 227 + "Hold one finger close to the eye and focus on it. Slowly move the finger away, focus far into the distance and then back to the finger. Bring the finger back and focus on something far away." 228 + ], 229 + "enabled": true 230 + }, 231 + { 232 + "data": [ 233 + "Palming", 234 + "While seated, brace elbows on the desk and close to the desk edge. Let your weight fall forward and cup hands over eyes. Close your eyes and inhale slowly through nose and hold for few seconds. Continue deep breathing." 235 + ], 236 + "enabled": true 237 + }, 238 + { 239 + "data": [ 240 + "Hand squeezes", 241 + "Squeeze a pair of balled-up socks or a soft rubber ball, hold for 5 seconds. Repeat whole process a few times." 242 + ], 243 + "enabled": true 244 + }, 245 + { 246 + "data": [ 247 + "Slow Breathing", 248 + "Emerging research suggests potential for use of controlled slow breathing techniques as a means of optimising physiological parameters that appear to be associated with health and longevity." 249 + ], 250 + "enabled": true 251 + }, 252 + { 253 + "data": [ 254 + "Imaginative visualization", 255 + "Close your eyes and imagine yourself in a peaceful and calming place, such as a beach or a forest, focusing on the sights, sounds, and sensations of that environment." 256 + ], 257 + "enabled": true 258 + } 259 + ], 260 + "breakInterval": 2, 261 + "breakNotification": true, 262 + "breakNotificationInterval": 30000, 263 + "breakPostponableDurationPercent": 30, 264 + "breakPostpone": true, 265 + "breakPostponeTime": 300000, 266 + "breakPostponesLimit": 1, 267 + "breakStartSoundPlaying": false, 268 + "breakStrictMode": false, 269 + "breakWindowHeight": 0.9, 270 + "breakWindowWidth": 0.9, 271 + "checkNewVersion": true, 272 + "currentTimeInBreaks": true, 273 + "endBreakShortcut": "CmdOrCtrl+Esc", 274 + "fullscreen": false, 275 + "ideas": true, 276 + "isFirstRun": false, 277 + "language": "en", 278 + "mainColor": "#633738", 279 + "microbreak": true, 280 + "microbreakDuration": 20000, 281 + "microbreakIdeas": [ 282 + { 283 + "data": "Go grab a glass of water.", 284 + "enabled": true 285 + }, 286 + { 287 + "data": "Slowly look all the way left, then right.", 288 + "enabled": true 289 + }, 290 + { 291 + "data": "Slowly look all the way up, then down.", 292 + "enabled": true 293 + }, 294 + { 295 + "data": "Close your eyes and take few deep breaths.", 296 + "enabled": true 297 + }, 298 + { 299 + "data": "Close your eyes and relax.", 300 + "enabled": true 301 + }, 302 + { 303 + "data": "Stretch your legs.", 304 + "enabled": true 305 + }, 306 + { 307 + "data": "Stretch your arms.", 308 + "enabled": true 309 + }, 310 + { 311 + "data": "Is your sitting posture correct?", 312 + "enabled": true 313 + }, 314 + { 315 + "data": "Slowly turn head to side and hold for 10 seconds.", 316 + "enabled": true 317 + }, 318 + { 319 + "data": "Slowly tilt head to side and hold for 5-10 seconds.", 320 + "enabled": true 321 + }, 322 + { 323 + "data": "Stand from your chair and stretch.", 324 + "enabled": true 325 + }, 326 + { 327 + "data": "Refocus your eyes on an object at least 20 meters away.", 328 + "enabled": true 329 + }, 330 + { 331 + "data": "Take a moment to think about something you appreciate.", 332 + "enabled": true 333 + }, 334 + { 335 + "data": "Take a moment to smile at being alive.", 336 + "enabled": true 337 + }, 338 + { 339 + "data": "A truly ergonomic workstation is one that you regularly push away from.", 340 + "enabled": true 341 + }, 342 + { 343 + "data": "Close your eyes and count your breaths.", 344 + "enabled": true 345 + }, 346 + { 347 + "data": "Close your eyes and name the things you hear.", 348 + "enabled": true 349 + }, 350 + { 351 + "data": "Place your fingertips on your shoulders. Roll your shoulders forward for 10 seconds, then backward.", 352 + "enabled": true 353 + }, 354 + { 355 + "data": "Raise your right arm, stretch it over your head to the left, and hold for 10 seconds. Repeat on the other side.", 356 + "enabled": true 357 + }, 358 + { 359 + "data": "With your right hand, grab each finger of your left hand in turn and squeeze. Repeat on the other side.", 360 + "enabled": true 361 + }, 362 + { 363 + "data": "Stand up and do a lunge. Hold for 10 seconds, then do the other leg.", 364 + "enabled": true 365 + }, 366 + { 367 + "data": "Close your eyes and simply notice whatever arises in current moment, without judgement.", 368 + "enabled": true 369 + }, 370 + { 371 + "data": "Focus every 20 minutes for 20 seconds on an object at 20 feet distance.", 372 + "enabled": true 373 + }, 374 + { 375 + "data": "If you need help, ask for it.", 376 + "enabled": true 377 + }, 378 + { 379 + "data": "Do one thing at a time.", 380 + "enabled": true 381 + }, 382 + { 383 + "data": "Is your attention spent wisely?", 384 + "enabled": true 385 + }, 386 + { 387 + "data": "Change your sitting posture.", 388 + "enabled": true 389 + }, 390 + { 391 + "data": "Expose your eyes to natural light.", 392 + "enabled": true 393 + }, 394 + { 395 + "data": "With your eyes closed, slowly and gently raise your eyes to the ceiling and back down to the floor.", 396 + "enabled": true 397 + }, 398 + { 399 + "data": "With your eyes closed, slowly and gently move your eyes to the left, then slowly to the right.", 400 + "enabled": true 401 + }, 402 + { 403 + "data": "Shake your hands out to get some relief.", 404 + "enabled": true 405 + }, 406 + { 407 + "data": "One at a time, touch the tip of each finger to the tip of your thumb so they make an O-shape.", 408 + "enabled": true 409 + }, 410 + { 411 + "data": "Make a fist and then slide your fingers up until they point toward the ceiling, like you're telling someone to stop.", 412 + "enabled": true 413 + }, 414 + { 415 + "data": "Make a fist and then fan your fingers out and stretch them as far as you can.", 416 + "enabled": true 417 + }, 418 + { 419 + "data": "Sit tall, arms hanging at your sides, and slowly rotate neck in one direction in a large circle.", 420 + "enabled": true 421 + }, 422 + { 423 + "data": "Stand tall and slowly tilt your head toward the shoulder using the same hand until you feel a stretch.", 424 + "enabled": true 425 + }, 426 + { 427 + "data": "Stand tall with your arms by your side. Squeeze your shoulder blades together and hold.", 428 + "enabled": true 429 + }, 430 + { 431 + "data": "Stand tall with your arms raised along your shoulders. Move hands slightly behind your back, hold for a second and return.", 432 + "enabled": true 433 + }, 434 + { 435 + "data": "Sit on the edge of your chair, twist your torso to one side and hold for 10-15 seconds. Repeat on the other side.", 436 + "enabled": true 437 + }, 438 + { 439 + "data": "Stand up and put one foot on a nearby object, like a chair or step stool. Keep your knee bent and hold for 10-15 seconds. Repeat with the other foot.", 440 + "enabled": true 441 + }, 442 + { 443 + "data": "Stand with your feet shoulder-width apart, lower your body down as if you were sitting back into a chair, then stand back up. Repeat several times.", 444 + "enabled": true 445 + }, 446 + { 447 + "data": "Stand with you back and hands on a wall, then slowly move your arms up and down as if you were making snow angels.", 448 + "enabled": true 449 + }, 450 + { 451 + "data": "Stand facing a wall and place your hands on it, then do several push-ups.", 452 + "enabled": true 453 + }, 454 + { 455 + "data": "Sit on the edge of your chair and extend one leg straight out in front of you, holding for 10-15 seconds. Repeat with the other leg.", 456 + "enabled": true 457 + }, 458 + { 459 + "data": "Stand facing a wall, put one foot back and the other foot forward, then lean into the wall. Repeat with the other leg.", 460 + "enabled": true 461 + }, 462 + { 463 + "data": "Hold one arm straight up, then use the other arm to gently push the elbow of the first arm towards your head. Hold for 10-15 seconds. Repeat with the other arm.", 464 + "enabled": true 465 + }, 466 + { 467 + "data": "Tilt your head to one side, then to the other side, and then gently tilt it forward and backward.", 468 + "enabled": true 469 + }, 470 + { 471 + "data": "Reach one arm across your chest, hold onto the elbow with the other hand, and gently pull it in towards your chest. Repeat with the other arm.", 472 + "enabled": true 473 + }, 474 + { 475 + "data": "Stand up, put one foot on a nearby object, like a chair or step stool, and reach down to touch your toes. Repeat with the other leg.", 476 + "enabled": true 477 + }, 478 + { 479 + "data": "Stand in a doorway and place one arm on each side of the doorway, then gently lean forward until you feel a stretch in your chest.", 480 + "enabled": true 481 + }, 482 + { 483 + "data": "Sit on the edge of a chair or on the floor, and place the soles of your feet together, gently pressing down with your elbows to stretch your inner thighs.", 484 + "enabled": true 485 + } 486 + ], 487 + "microbreakInterval": 2400000, 488 + "microbreakNotification": true, 489 + "microbreakNotificationInterval": 10000, 490 + "microbreakPostponableDurationPercent": 30, 491 + "microbreakPostpone": true, 492 + "microbreakPostponeTime": 120000, 493 + "microbreakPostponesLimit": 1, 494 + "microbreakStartSoundPlaying": false, 495 + "microbreakStrictMode": false, 496 + "miniBreakAudio": "reverie", 497 + "miniBreakColor": "#633738", 498 + "monitorDnd": true, 499 + "morningHour": 7, 500 + "naturalBreaks": true, 501 + "naturalBreaksInactivityResetTime": 300000, 502 + "notifyNewVersion": true, 503 + "opacity": 0.75, 504 + "pauseBreaksToggleShortcut": "", 505 + "pauseForSuspendOrLock": true, 506 + "posLatitude": 42.37, 507 + "posLongitude": 71.1, 508 + "resetBreaksShortcut": "", 509 + "screen": "primary", 510 + "showBreaksAsRegularWindows": false, 511 + "showTrayIcon": true, 512 + "silentNotifications": false, 513 + "skipToNextLongBreakShortcut": "", 514 + "skipToNextMiniBreakShortcut": "", 515 + "skipToNextScheduledBreakShortcut": "", 516 + "themeSource": "system", 517 + "timeToBreakInTray": false, 518 + "transparentMode": true, 519 + "useIdeasFromSettings": false, 520 + "useMonochromeInvertedTrayIcon": false, 521 + "useMonochromeTrayIcon": true, 522 + "volume": 0.8 523 523 }
.config/yadm/alt/Library/Application Support/lghub/settings.db##os.Darwin

This is a binary file and will not be displayed.

+190
.config/yadm/alt/scoop/apps/windows-terminal/current/settings/settings.json##os.Msys,e.json
··· 1 + { 2 + "$help": "https://aka.ms/terminal-documentation", 3 + "$schema": "https://aka.ms/terminal-profiles-schema", 4 + "actions": 5 + [ 6 + { 7 + "command": 8 + { 9 + "action": "copy", 10 + "singleLine": false 11 + }, 12 + "id": "User.copy.644BA8F2", 13 + "keys": "ctrl+c" 14 + }, 15 + { 16 + "command": "paste", 17 + "id": "User.paste", 18 + "keys": "ctrl+v" 19 + }, 20 + { 21 + "command": "find", 22 + "id": "User.find", 23 + "keys": "ctrl+shift+f" 24 + }, 25 + { 26 + "command": 27 + { 28 + "action": "splitPane", 29 + "split": "auto", 30 + "splitMode": "duplicate" 31 + }, 32 + "id": "User.splitPane.A6751878", 33 + "keys": "alt+shift+d" 34 + }, 35 + { 36 + "command": 37 + { 38 + "action": "splitPane", 39 + "split": "right" 40 + }, 41 + "id": "User.splitPane.864CD510" 42 + }, 43 + { 44 + "command": 45 + { 46 + "action": "splitPane" 47 + }, 48 + "id": "User.splitPane.91AB55B1" 49 + }, 50 + { 51 + "command": 52 + { 53 + "action": "splitPane", 54 + "split": "right", 55 + "splitMode": "duplicate" 56 + }, 57 + "keys": "ctrl+\\" 58 + }, 59 + { 60 + "command": 61 + { 62 + "action": "splitPane", 63 + "split": "down" 64 + }, 65 + "id": "User.splitPane.D5151347" 66 + }, 67 + { 68 + "command": "unbound", 69 + "keys": "alt+shift+plus" 70 + }, 71 + { 72 + "command": "unbound", 73 + "keys": "alt+shift+minus" 74 + }, 75 + { 76 + "command": 77 + { 78 + "action": "splitPane", 79 + "split": "down", 80 + "splitMode": "duplicate" 81 + }, 82 + "keys": "ctrl+shift+\\" 83 + } 84 + ], 85 + "copyFormatting": "none", 86 + "copyOnSelect": true, 87 + "defaultProfile": "{c397f356-5e7b-55bc-956b-8cb4b9762c26}", 88 + "newTabMenu": 89 + [ 90 + { 91 + "commandline": null, 92 + "name": null, 93 + "source": "Windows.Terminal.Wsl", 94 + "type": "matchProfiles" 95 + }, 96 + { 97 + "commandline": "C:\\WINDOWS\\system32\\wsl.exe -d NixOS bash", 98 + "name": null, 99 + "source": null, 100 + "type": "matchProfiles" 101 + }, 102 + { 103 + "type": "separator" 104 + }, 105 + { 106 + "commandline": null, 107 + "name": null, 108 + "source": "Git", 109 + "type": "matchProfiles" 110 + }, 111 + { 112 + "type": "separator" 113 + }, 114 + { 115 + "type": "remainingProfiles" 116 + } 117 + ], 118 + "profiles": 119 + { 120 + "defaults": 121 + { 122 + "bellStyle": 123 + [ 124 + "audible", 125 + "taskbar" 126 + ], 127 + "cursorShape": "filledBox", 128 + "font": 129 + { 130 + "face": "Monaspace Argon Var, MonaspiceAr Nerd Font", 131 + "size": 10 132 + }, 133 + "intenseTextStyle": "all", 134 + "scrollbarState": "visible", 135 + "padding": "4, 4, -12, 4", 136 + "useAcrylic": true 137 + }, 138 + "list": 139 + [ 140 + { 141 + "guid": "{c397f356-5e7b-55bc-956b-8cb4b9762c26}", 142 + "hidden": false, 143 + "name": "NixOS", 144 + "source": "Windows.Terminal.Wsl" 145 + }, 146 + { 147 + "colorScheme": "Campbell", 148 + "commandline": "C:\\WINDOWS\\system32\\wsl.exe -d NixOS bash", 149 + "guid": "{616556db-a343-4d91-8c98-ea69d9b13b98}", 150 + "hidden": false, 151 + "icon": "ms-appx:///ProfileIcons/{9acb9455-ca41-5af7-950f-6bca1bc9722f}.png", 152 + "name": "NixOS (bash)", 153 + "startingDirectory": "~" 154 + }, 155 + { 156 + "guid": "{2ece5bfe-50ed-5f3a-ab87-5cd4baafed2b}", 157 + "hidden": false, 158 + "name": "Git Bash", 159 + "source": "Git" 160 + }, 161 + { 162 + "colorScheme": "Campbell Powershell", 163 + "commandline": "%USERPROFILE%\\scoop\\shims\\pwsh.exe", 164 + "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", 165 + "hidden": false, 166 + "name": "PowerShell" 167 + }, 168 + { 169 + "altGrAliasing": true, 170 + "colorScheme": "Campbell Powershell", 171 + "commandline": "%USERPROFILE%\\scoop\\shims\\pwsh.exe", 172 + "elevate": true, 173 + "guid": "{8593d941-492c-4513-81a0-de8776418c01}", 174 + "hidden": false, 175 + "icon": "ms-appx:///ProfileIcons/{61c54bbd-c2c6-5271-96e7-009a87ff44bf}.png", 176 + "name": "PowerShell (Admin)", 177 + "startingDirectory": "%USERPROFILE%" 178 + }, 179 + { 180 + "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}", 181 + "hidden": false, 182 + "name": "Command Prompt" 183 + } 184 + ] 185 + }, 186 + "schemes": [], 187 + "tabSwitcherMode": "disabled", 188 + "themes": [], 189 + "useAcrylicInTabRow": true 190 + }
+5
.config/yadm/hooks/clean-keepassxc-ini.py
··· 1 1 #!/usr/bin/env python3 2 2 3 3 import configparser 4 + import os 4 5 import pathlib 5 6 import sys 6 7 ··· 16 17 config.remove_section("KeeShare") 17 18 with filename.open("w") as newfile: 18 19 config.write(newfile, space_around_delimiters=False) 20 + 21 + # trim extra trailing newline, to avoid conflict with end-of-file-fixer 22 + newfile.seek(0, os.SEEK_END) 23 + newfile.truncate(newfile.tell() - 1) 19 24 20 25 21 26 if __name__ == "__main__":
+1
.gitignore
··· 15 15 !/.termux/ 16 16 !/.vim/ 17 17 !/.vscode/ 18 + !/.kinto/ 18 19 19 20 # Naming convention for certain yadm alt files 20 21 *.local
+3 -3
.gitmodules
··· 25 25 [submodule ".config/yadm/forkgit"] 26 26 path = .config/yadm/forkgit 27 27 url = https://github.com/brechtm/forkgit 28 - [submodule ".vim/pack/bundle/start/file-line"] 29 - path = .vim/pack/bundle/start/file-line 30 - url = https://github.com/bogado/file-line.git 31 28 [submodule ".vim/pack/bundle/start/vim-textobj-user"] 32 29 path = .vim/pack/bundle/start/vim-textobj-user 33 30 url = https://github.com/kana/vim-textobj-user.git ··· 55 52 [submodule ".vim/pack/bundle/start/vim-textobj-variable-segment"] 56 53 path = .vim/pack/bundle/start/vim-textobj-variable-segment 57 54 url = https://github.com/Julian/vim-textobj-variable-segment.git 55 + [submodule ".vim/pack/bundle/start/vim-fetch"] 56 + path = .vim/pack/bundle/start/vim-fetch 57 + url = https://github.com/wsdjeg/vim-fetch.git
-1215
.kinto/kinto.ahk
··· 1 - #SingleInstance force 2 - #NoEnv 3 - #Persistent 4 - 5 - ; DetectHiddenWindows, On ; Autodetect 6 - ; Run, %A_ScriptDir%\detectUSB.ahk ; Autodetect 7 - 8 - ; Enable Left clicks on Kinto Icon 9 - ; https://www.autohotkey.com/boards/viewtopic.php?t=9501 10 - OnMessage(0x404, "AHK_NOTIFYICON") 11 - 12 - AHK_NOTIFYICON(wParam, lParam) 13 - { 14 - if (lParam = 0x202) { ; user left-clicked tray icon 15 - ;ADD ANY SUBROUTINE OR FUNCTION HERE 16 - Menu, Tray, Show 17 - return 18 - } 19 - else if (lParam = 0x203) { ; user double left-clicked tray icon 20 - ;ADD ANY SUBROUTINE OR FUNCTION HERE 21 - Menu, Tray, Show 22 - return 23 - } 24 - } 25 - ; End Enable Left clicks 26 - 27 - ; I_Icon = %A_ScriptDir%\assets\kinto-white-invert.ico ; MacModifiers 28 - ; IfExist, %I_Icon% ; MacModifiers 29 - ; Menu, Tray, Icon, %I_Icon%,, 1 ; MacModifiers 30 - ; Menu, Tray, Tip, Mac - Kinto ; MacModifiers 31 - 32 - I_Icon = %A_ScriptDir%\assets\kinto-white-invert.ico ; WinModifiers/CB/IBM 33 - IfExist, %I_Icon% ; WinModifiers/CB/IBM 34 - Menu, Tray, Icon, %I_Icon%,, 1 ; WinModifiers/CB/IBM 35 - Menu, Tray, Tip, Windows - Kinto ; WinModifiers 36 - ; Menu, Tray, Tip, Chromebook - Kinto ; Chromebook 37 - ; Menu, Tray, Tip, IBM - Kinto ; IBM 38 - 39 - Menu, Keyboards, Add, Windows, winkb 40 - Menu, Keyboards, Add, Apple, mackb 41 - Menu, Keyboards, Add, Chromebook, chromekb 42 - Menu, Keyboards, Add, IBM (No Super/Win key), ibmkb 43 - 44 - paramkb=%1% 45 - 46 - if paramkb = mac 47 - checkKB = Apple 48 - if paramkb = win 49 - checkKB = Windows 50 - if paramkb = chrome 51 - checkKB = Chromebook 52 - if paramkb = ibm 53 - checkKB = IBM (No Super/Win key) 54 - 55 - menu, Keyboards, check, %checkKB% 56 - 57 - ; Set Tray menu 58 - ; Menu, Tray, Standard 59 - Menu, Tray, NoStandard ; to remove default menu 60 - Menu, Tray, Add, Keyboard Types, :Keyboards 61 - Menu, Tray, Add, Autodetect Keyboards, autodetect 62 - ; Menu, Tray, check, Autodetect Keyboards ; Autodetect 63 - ; Menu, Tray, disable, Autodetect Keyboards ; CB/IBM 64 - Menu, Tray, Add, Suspend Kinto, tray_suspend 65 - ; Add tray menu item for toggling Option key special character entry scheme 66 - Menu, Tray, Add, OptSpecialChars Shift+Opt+Cmd+O, toggle_optspecialchars 67 - ; Menu, Tray, Add, Returns to Desktop, min 68 - Menu, Tray, Add 69 - Menu, Tray, Add, Close, Exit 70 - Menu, Tray, Click, 1 71 - 72 - winkb(){ 73 - Run, "%A_ScriptDir%\NoShell.vbs" "%A_ScriptDir%\toggle_kb.bat" win, "%A_ScriptDir%" 74 - } 75 - 76 - mackb(){ 77 - Run, "%A_ScriptDir%\NoShell.vbs" "%A_ScriptDir%\toggle_kb.bat" mac, "%A_ScriptDir%" 78 - } 79 - 80 - chromekb(){ 81 - Run, "%A_ScriptDir%\NoShell.vbs" "%A_ScriptDir%\toggle_kb.bat" chrome, "%A_ScriptDir%" 82 - } 83 - 84 - ibmkb(){ 85 - Run, "%A_ScriptDir%\NoShell.vbs" "%A_ScriptDir%\toggle_kb.bat" ibm, "%A_ScriptDir%" 86 - } 87 - 88 - autodetect(){ 89 - IfWinExist, detectUSB.ahk 90 - WinClose 91 - Run, "%A_ScriptDir%\NoShell.vbs" "%A_ScriptDir%\toggle_kb.bat" auto, "%A_ScriptDir%" 92 - } 93 - 94 - min(){ 95 - ; Refocus last active Window 96 - Send {LAlt down}{tab}{LAlt up} 97 - } 98 - 99 - tray_suspend(){ 100 - suspend toggle 101 - if (a_isSuspended = 1){ 102 - Gosub ReleaseModifiers 103 - menu, tray, check , Suspend Kinto 104 - I_Icon = %A_ScriptDir%\assets\kinto-white.ico 105 - Menu, Tray, Icon, %I_Icon%,, 1 106 - Menu, Tray, Tip, Suspended - Kinto 107 - IfWinExist, detectUSB.ahk 108 - WinClose 109 - } 110 - else{ 111 - menu, tray, unCheck, Suspend Kinto 112 - ; I_Icon = %A_ScriptDir%\assets\kinto-white-invert.ico ; MacModifiers 113 - I_Icon = %A_ScriptDir%\assets\kinto-white-invert.ico ; WinModifiers/CB/IBM 114 - ; Menu, Tray, Tip, Mac - Kinto ; MacModifiers 115 - Menu, Tray, Tip, Windows - Kinto ; WinModifiers 116 - ; Menu, Tray, Tip, Chromebook - Kinto ; Chromebook 117 - ; Menu, Tray, Tip, IBM - Kinto ; IBM 118 - Menu, Tray, Icon, %I_Icon%,,1 119 - Run, %A_ScriptDir%\detectUSB.ahk 120 - } 121 - ; Refocus last active Window 122 - Send {LAlt down}{tab}{LAlt up} 123 - } 124 - 125 - Exit() { 126 - Gosub ReleaseModifiers 127 - IfWinExist, detectUSB.ahk 128 - WinClose 129 - 130 - ExitApp 131 - } 132 - 133 - SetTitleMatchMode, 2 134 - 135 - GroupAdd, terminals, ahk_exe ubuntu.exe 136 - GroupAdd, terminals, ahk_exe ubuntu2004.exe 137 - GroupAdd, terminals, ahk_exe ConEmu.exe 138 - GroupAdd, terminals, ahk_exe ConEmu64.exe 139 - GroupAdd, terminals, ahk_exe powershell.exe 140 - GroupAdd, terminals, ahk_exe WindowsTerminal.exe 141 - GroupAdd, terminals, ahk_exe Hyper.exe 142 - GroupAdd, terminals, ahk_exe mintty.exe 143 - GroupAdd, terminals, ahk_exe Cmd.exe 144 - GroupAdd, terminals, ahk_exe box.exe 145 - GroupAdd, terminals, ahk_exe Terminus.exe 146 - GroupAdd, terminals, Fluent Terminal ahk_class ApplicationFrameWindow 147 - GroupAdd, terminals, ahk_class Console_2_Main 148 - 149 - GroupAdd, posix, ahk_exe ubuntu.exe 150 - GroupAdd, posix, ahk_exe ubuntu2004.exe 151 - GroupAdd, posix, ahk_exe ConEmu.exe 152 - GroupAdd, posix, ahk_exe ConEmu64.exe 153 - GroupAdd, posix, ahk_exe Hyper.exe 154 - GroupAdd, posix, ahk_exe mintty.exe 155 - GroupAdd, posix, ahk_exe Terminus.exe 156 - GroupAdd, posix, Fluent Terminal ahk_class ApplicationFrameWindow 157 - GroupAdd, posix, ahk_class Console_2_Main 158 - GroupAdd, posix, ahk_exe WindowsTerminal.exe 159 - 160 - GroupAdd, ConEmu, ahk_exe ConEmu.exe 161 - GroupAdd, ConEmu, ahk_exe ConEmu64.exe 162 - 163 - GroupAdd, ExcPaste, ahk_exe Cmd.exe 164 - GroupAdd, ExcPaste, ahk_exe mintty.exe 165 - 166 - GroupAdd, editors, ahk_exe sublime_text.exe 167 - GroupAdd, editors, ahk_exe VSCodium.exe 168 - GroupAdd, editors, ahk_exe Code.exe 169 - 170 - GroupAdd, browsers, ahk_exe chrome.exe 171 - GroupAdd, browsers, ahk_exe opera.exe 172 - GroupAdd, browsers, ahk_exe firefox.exe 173 - GroupAdd, browsers, ahk_exe msedge.exe 174 - 175 - ; Disable Key Remapping for Virtual Machines 176 - ; Disable for Remote desktop solutions too 177 - GroupAdd, remotes, ahk_exe VirtualBoxVM.exe 178 - GroupAdd, remotes, ahk_exe mstsc.exe 179 - GroupAdd, remotes, ahk_exe anydesk.exe 180 - GroupAdd, remotes, ahk_exe msrdc.exe 181 - GroupAdd, remotes, ahk_exe nxplayer.bin 182 - GroupAdd, remotes, ahk_exe vmconnect.exe 183 - GroupAdd, remotes, ahk_exe RemoteDesktopManagerFree.exe 184 - GroupAdd, remotes, ahk_exe vncviewer.exe 185 - GroupAdd, remotes, Remote Desktop ahk_class ApplicationFrameWindow 186 - 187 - ; Disabled Edge for now - no ability to close all instances 188 - ; GroupAdd, browsers, Microsoft Edge ahk_class ApplicationFrameWindow 189 - 190 - GroupAdd, vscode, ahk_exe VSCodium.exe 191 - GroupAdd, vscode, ahk_exe Code.exe 192 - 193 - GroupAdd, vstudio, ahk_exe devenv.exe 194 - 195 - GroupAdd, intellij, ahk_exe idea.exe 196 - GroupAdd, intellij, ahk_exe idea64.exe 197 - 198 - ; SetCapsLockState, AlwaysOff ; CB/IBM 199 - 200 - ; Keyboards w/o media keys can use this Remap 201 - ; This will replace unneeded dedicated keys 202 - ; with most commonly used media keys 203 - ; 204 - ; Insert::SoundSet, +1, , mute ; Toggles Speaker 205 - ; +Insert::Insert ; Shift Insert maps to Insert 206 - ; Home::SoundSetWaveVolume, -10 ; Decrease volume 207 - ; PgUp::SoundSetWaveVolume, +10 ; Increase volume 208 - ; Delete::Send {Media_Prev} ; Previous 209 - ; End::Send {Media_Play_Pause} ; Pause/Play 210 - ; PgDn::Send {Media_Next} ; Next 211 - 212 - ; Virtual Desktop Hack via TotalSpaces2 - macOS Remote Desktop 213 - ; Custom Bind Gestures in Windows 214 - ; Shift-F8 on Left Swipe 215 - ; Shift-F9 on Right Swipe 216 - #IfWinActive ahk_exe nxplayer.bin 217 - +F8::Send !+- ; macOS TotalSpaces2 - Space Left 218 - +F6::Send !+= ; macOS TotalSpaces2 - Space Right 219 - #If 220 - ; +F8::Send {LCtrl down}{LWin down}{left}{LCtrl up}{LWin up} ; Comment out on host machine 221 - ; +F6::Send {LCtrl down}{LWin down}{right}{LCtrl up}{LWin up} ; Comment out on host machine 222 - 223 - ; ######################################################################### 224 - ; ############# START OF FINDER MODS FOR FILE MANAGERS ################ 225 - ; ######################################################################### 226 - ; Finder Mods for Windows File Explorer (explore.exe) 227 - #IfWinActive ahk_class CabinetWClass ahk_exe explorer.exe 228 - ^i::Send !{Enter} ; Cmd+i: Get Info / Properties 229 - ^r::Send {F5} ; Cmd+R: Refresh view (Not actually a Finder shortcut? But works in Linux file browsers too.) 230 - ^1::Send ^+2 ; Cmd+1: View as Icons 231 - ^2::Send ^+6 ; Cmd+2: View as List (Detailed) 232 - ^3::Send ^+5 ; Cmd+3: View as List (Compact) 233 - ^4::Send ^+1 ; Cmd+4: View as Gallery 234 - ^Up::Send !{Up} ; Cmd+Up: Up to parent folder 235 - ^Left::Send !{Left} ; Cmd+Left: Go to prior location in history 236 - ^Right::Send !{Right} ; Cmd+Right: Go to next location in history 237 - ^Down:: ; Cmd-Down: Navigate into the selected directory 238 - For window in ComObjCreate("Shell.Application").Windows 239 - If WinActive() = window.hwnd 240 - For item in window.document.SelectedItems { 241 - window.Navigate(item.Path) 242 - Return 243 - } 244 - Return 245 - ^[::Send !{Left} ; Cmd+Left_Brace: Go to prior location in history 246 - ^]::Send !{Right} ; Cmd+Right_Brace: Go to next location in history 247 - ^+o::Send ^{Enter} ; Cmd+Shift+o: Open in new window (tabs not available) 248 - ^Delete::Send {Delete} ; Cmd+Delete: Delete / Send to Trash 249 - ^BackSpace::Send {Delete} ; Cmd+Delete: Delete / Send to Trash 250 - ^d::return, ; Block the unusual Explorer "delete" shortcut of Ctrl+D, used for "bookmark" in similar apps 251 - $Enter:: ; Use Enter key to rename (F2), unless focus is inside a text input field. 252 - ControlGetFocus, fc, A 253 - If fc contains Edit,Search,Notify,Windows.UI.Core.CoreWindow1,SysTreeView321 254 - Send {Enter} 255 - Else Send {F2} 256 - Return 257 - $BackSpace:: ; Backspace (without Cmd): Block Backspace key with error beep, unless inside text input field 258 - ControlGetFocus, fc, A 259 - If fc contains Edit,Search,Notify,Windows.UI.Core.CoreWindow1 260 - Send {BackSpace} 261 - Else SoundBeep, 600, 300 262 - Return 263 - $Delete:: ; Delete (without Cmd): Block Delete key with error beep, unless inside text input field 264 - ControlGetFocus, fc, A 265 - If fc contains Edit,Search,Notify,Windows.UI.Core.CoreWindow1 266 - Send {Delete} 267 - Else SoundBeep, 600, 300 268 - Return 269 - #IfWinActive 270 - ; ######################################################################### 271 - ; ############## END OF FINDER MODS FOR FILE MANAGERS ################# 272 - ; ######################################################################### 273 - 274 - #IfWinNotActive ahk_group remotes 275 - ; wordwise support 276 - ^Up::Send ^{Home} 277 - ^+Up::Send ^+{Home} 278 - ^Down::Send ^{End} 279 - ^+Down::Send ^+{End} 280 - $^Backspace::Send +{Home}{Delete} 281 - !Backspace::Send ^{Backspace} 282 - !Left::Send ^{Left} 283 - !+Left::Send ^+{Left} 284 - !Right::Send ^{Right} 285 - !+Right::Send ^+{Right} 286 - $^Left::Send {Home} 287 - $^+Left::Send +{Home} 288 - $^Right::Send {End} 289 - $^+Right::Send +{End} 290 - #If 291 - 292 - #IfWinNotActive ahk_group remotes 293 - 294 - ; New AltTab and CtrlTab fix 295 - *tab:: 296 - { 297 - ; Tertiary 298 - if (GetKeyState("LCtrl", "P") AND GetKeyState("LShift", "P") = false) { 299 - ; Secondary 300 - ; Send {LCtrl down}{Secondary up}{tab} 301 - Send {LCtrl down}{LWin up}{tab} ; WinModifiers 302 - ; ; Send {LCtrl down}{LAlt up}{tab} ; MacModifiers 303 - ; ; Send {LCtrl down}{CapsLock up}{tab} ; CB/IBM 304 - KeyWait, tab 305 - ; Tertiary 306 - } else if (GetKeyState("LCtrl", "P") AND GetKeyState("LShift", "P")) { 307 - ; Secondary 308 - ; Send {LCtrl down}{Secondary up}{LShift down}{tab} 309 - Send {LCtrl down}{LWin up}{LShift down}{tab} ; WinModifiers/CB 310 - ; ; Send {LCtrl down}{LAlt up}{LShift down}{tab} ; MacModifiers 311 - ; ; Send {LCtrl down}{CapsLock up}{LShift down}{tab} ; IBM 312 - KeyWait, tab 313 - ; Primary 314 - } else if (GetKeyState("LAlt", "P") AND GetKeyState("LShift", "P") = false) { ; WinModifiers/CB/IBM 315 - ; ; } else if (GetKeyState("LWin", "P") AND GetKeyState("LShift", "P") = false) { ; MacModifiers 316 - Send {LAlt down}{tab} 317 - KeyWait, tab 318 - ; Primary 319 - } else if (GetKeyState("LAlt", "P") AND GetKeyState("LShift", "P")) { ; WinModifiers/CB/IBM 320 - ; ; } else if (GetKeyState("LWin", "P") AND GetKeyState("LShift", "P")) { ; MacModifiers 321 - Send {LAlt down}{LShift down}{tab} 322 - KeyWait, tab 323 - ; Secondary 324 - } else if (GetKeyState("LWin", "P") AND GetKeyState("LShift", "P")) = false { ; WinModifiers/CB 325 - ; ; } else if (GetKeyState("LAlt", "P") AND GetKeyState("LShift", "P") = false) { ; MacModifiers 326 - ; ; } else if (GetKeyState("CapsLock", "P") AND GetKeyState("LShift", "P")) = false { ; IBM 327 - return 328 - ; Secondary 329 - } else if (GetKeyState("LWin", "P") AND GetKeyState("LShift", "P")) { ; WinModifiers/CB 330 - ; ; } else if (GetKeyState("LAlt", "P") AND GetKeyState("LShift", "P")) { ; MacModifiers 331 - ; ; } else if (GetKeyState("CapsLock", "P") AND GetKeyState("LShift", "P")) { ; IBM 332 - return 333 - } else { 334 - send {Blind}{tab} 335 - } 336 - return 337 - } 338 - 339 - tab::Send {tab} 340 - 341 - +tab::Send {Shift down}{tab}{Shift up} 342 - 343 - ; Basic Remap 344 - ; 345 - ; Primary::LCtrl 346 - ; Secondary::LAlt 347 - ; Tertiary::LWin 348 - 349 - ; ; $LAlt::LCtrl ; CB/IBM 350 - ; ; $RAlt::RCtrl ; IBM 351 - ; ; $RCtrl::RAlt ; CB/IBM 352 - ; ; $CapsLock::LWin ; IBM 353 - ; ; $LCtrl::LAlt ; CB/IBM 354 - 355 - $LAlt::LCtrl ; WinModifiers 356 - $RAlt::RCtrl ; WinModifiers 357 - $RCtrl::RAlt ; WinModifiers 358 - $LWin::LAlt ; WinModifiers 359 - $LCtrl::LWin ; WinModifiers 360 - 361 - ; ; $LWin::LCtrl ; MacModifiers 362 - ; ; $RWin::RCtrl ; MacModifiers 363 - ; ; $LCtrl::LWin ; MacModifiers 364 - 365 - ; Hack to disable start menu on winkey 366 - ; Static - Does not apply to IBM or Chromebooks 367 - $LCtrl up::Send {Ctrl down}{LWin up}{Ctrl up} ; Default 368 - ; ; LWin::return ; Chromebook 369 - ; ; RWin::return ; Chromebook 370 - ; ; RAlt::return ; Chromebook 371 - 372 - ; Disable Win-Up/Down - interferes with Sublime text 3 multi-cursors 373 - #Down::return 374 - #Up::return 375 - 376 - ; temporary hack to ensure keys don't get stuck 377 - ; impacts Alt-Tab fix 378 - ; Primary 379 - $LAlt up::Send {LWin up}{LAlt up}{LCtrl up} ; WinModifiers 380 - ; ; $LWin up::Send {LWin up}{LAlt up}{LCtrl up} ; MacModifiers 381 - ; ; $LAlt up::Send {LWin up}{CapsLock up}{LAlt up}{LCtrl up} ; CB/IBM 382 - 383 - !Enter:: 384 - { 385 - if (GetKeyState("RAlt", "P")) { 386 - Send {Insert} 387 - } 388 - else{ 389 - Send {Alt down}{Enter}{Alt up} 390 - } 391 - Return 392 - } 393 - 394 - ; Remap Alt+Esc to Break/Pause 395 - !Esc::SendInput, {Pause} 396 - 397 - ; Go up or down a page 398 - #IfWinNotActive ahk_group editors 399 - $!Down::Send {PgDn} 400 - $!Up::Send {PgUp} 401 - #If 402 - 403 - ; Close Apps 404 - ^q::Send !{F4} 405 - 406 - ; Minimize specific Window 407 - ^m::WinMinimize, A 408 - 409 - ; Minimize all but Active Window 410 - !^m:: 411 - WinGet, winid ,, A 412 - WinMinimizeAll 413 - WinActivate ahk_id %winid% 414 - return 415 - 416 - ; hide all instances of active Program 417 - ^h:: 418 - WinGetClass, class, A 419 - WinGet, AllWindows, List 420 - loop %AllWindows% { 421 - WinGetClass, WinClass, % "ahk_id " AllWindows%A_Index% 422 - if(InStr(WinClass,class)){ 423 - WinMinimize, % "ahk_id " AllWindows%A_Index% 424 - } 425 - } 426 - return 427 - 428 - ; hide all but active program 429 - !^h:: 430 - WinGetClass, class, A 431 - WinMinimizeAll 432 - WinGet, AllWindows, List 433 - loop %AllWindows% { 434 - WinGetClass, WinClass, % "ahk_id " AllWindows%A_Index% 435 - if(InStr(WinClass,class)){ 436 - WinRestore, % "ahk_id " AllWindows%A_Index% 437 - } 438 - } 439 - return 440 - 441 - ; Show Desktop 442 - ^F3::Send #d 443 - 444 - ; Emoji Panel 445 - #^Space::Send {LWin down};{LWin up} ; Default 446 - ; ; !^Space::Send {LWin down};{LWin up} ; CB/IBM 447 - 448 - ; Full Screenshot 449 - ^+3::Send {PrintScreen} 450 - 451 - ; Region Screenshot 452 - ^+4::Send #+{S} 453 - 454 - ; Open File Browser 455 - !^space::Send #e ; Default 456 - ; ; #^space::Send #e ; CB/IBM 457 - 458 - ; ; #if GetKeyState("LWin", "P") || GetKeyState("RAlt", "P") ; Chromebook 459 - ; ; Space::Send ^{Esc} ; Chromebook 460 - ; ; 0::Send #0 ; Chromebook 461 - ; ; 1::Send #1 ; Chromebook 462 - ; ; 2::Send #2 ; Chromebook 463 - ; ; 3::Send #3 ; Chromebook 464 - ; ; 4::Send #4 ; Chromebook 465 - ; ; 5::Send #5 ; Chromebook 466 - ; ; 6::Send #6 ; Chromebook 467 - ; ; 7::Send #7 ; Chromebook 468 - ; ; 8::Send #8 ; Chromebook 469 - ; ; 9::Send #9 ; Chromebook 470 - ; ; -::Send #- ; Chromebook 471 - ; ; =::Send #= ; Chromebook 472 - ; ; `::Send #` ; Chromebook 473 - ; ; `;::Send #; ; Chromebook 474 - ; ; a::Send #a ; Chromebook 475 - ; ; b::Send #b ; Chromebook 476 - ; ; c::Send #c ; Chromebook 477 - ; ; d::Send #d ; Chromebook 478 - ; ; e::Send #e ; Chromebook 479 - ; ; f::Send #f ; Chromebook 480 - ; ; g::Send #g ; Chromebook 481 - ; ; h::Send #h ; Chromebook 482 - ; ; i::Send #i ; Chromebook 483 - ; ; j::Send #j ; Chromebook 484 - ; ; k::Send #k ; Chromebook 485 - ; ; l::Send #l ; Chromebook 486 - ; ; m::Send #m ; Chromebook 487 - ; ; n::Send #n ; Chromebook 488 - ; ; o::Send #o ; Chromebook 489 - ; ; p::Send #p ; Chromebook 490 - ; ; q::Send #q ; Chromebook 491 - ; ; r::Send #r ; Chromebook 492 - ; ; s::Send #s ; Chromebook 493 - ; ; t::Send #t ; Chromebook 494 - ; ; u::Send #u ; Chromebook 495 - ; ; v::Send #v ; Chromebook 496 - ; ; w::Send #w ; Chromebook 497 - ; ; x::Send #x ; Chromebook 498 - ; ; y::Send #y ; Chromebook 499 - ; ; z::Send #z ; Chromebook 500 - ; ; #If ; Chromebook 501 - 502 - #If Not WinActive("ahk_group terminals") and Not WinActive("ahk_group remotes") 503 - ^.::Send {Esc} 504 - ; emacs style 505 - #n::Send {Down} 506 - #p::Send {Up} 507 - #f::Send {Right} 508 - #b::Send {Left} 509 - #a::Send {Home} 510 - #e::Send {End} 511 - #d::Send {Delete} 512 - #k::Send +{End}{Backspace} 513 - #If 514 - 515 - ; Cmd+Space Alternative 516 - $^Space::Send ^{Esc} 517 - 518 - #IfWinActive ahk_group intellij 519 - $#c::Send ^{c} ; Default - Sigints interrupt 520 - ; ; $!c::Send ^{c} ; CB/IBM 521 - ; General 522 - ^0::Send !{0} ;Open corresponding tool window 523 - ^1::Send !{1} ;Open corresponding tool window 524 - ^2::Send !{2} ;Open corresponding tool window 525 - ^3::Send !{3} ;Open corresponding tool window 526 - ^4::Send !{4} ;Open corresponding tool window 527 - ^5::Send !{5} ;Open corresponding tool window 528 - ^6::Send !{6} ;Open corresponding tool window 529 - ^7::Send !{7} ;Open corresponding tool window 530 - ^8::Send !{8} ;Open corresponding tool window 531 - ^9::Send !{9} ;Open corresponding tool window 532 - #`::Send ^` ;Quick switch current scheme 533 - ^,::Send ^!s ;Open Settings dialog 534 - ^;::Send ^!+s ;Open Project Structure dialog 535 - ; Debugging 536 - ^!r::Send {F9} ;Resume program 537 - ; Search/Replace 538 - ^g::Send {F3} ;Find next 539 - ^+F3::Send +{F3} ;Find previous 540 - #g::Send !j ;Select next occurrence 541 - ^#g::Send ^!+j ;Select all occurrences 542 - #+g::Send !+j ;Unselect occurrence 543 - ; Editing 544 - #Space::Send ^{Space} ; Default - Basic code completion 545 - ; ; !Space::Send ^{Space} ; CB/IBM - Basic code completion 546 - #+Space::Send ^+{Space} ;Smart code completion 547 - #j::Send ^q ;Quick documentation lookup 548 - ^n::Send !{Insert} ;Generate code... 549 - #o::Send ^o ;Override methods 550 - #i::Send ^i ;Implement methods 551 - !Up::Send ^w ;Extend selection 552 - !Down::Send ^+w ;Shrink selection 553 - #+q::Send !q ;Context info 554 - #!o::Send ^!o ;Optimize imports 555 - #!i::Send ^!i ;Auto-indent line(s) 556 - $^Backspace::Send ^y ;Delete line at caret 557 - #+j::Send ^+j ;Smart line join 558 - !Delete::Send ^{Delete} ;Delete to word end 559 - !Backspace::Send ^{Backspace} ;Delete to word start 560 - ^+::Send ^{NumpadAdd} ;Expand code block 561 - ^-::Send ^{NumpadSub} ;Collapse code block 562 - ^++::Send ^+{NumpadAdd} ;Expand all 563 - ^+-::Send ^+{NumpadSub} ;Collapse all 564 - ^w::Send ^{F4} ;Close active editor tab 565 - ; Refactoring 566 - ^Delete::Send !{Delete} ;Safe Delete 567 - ^T::Send ^!+T ;Refactor this 568 - ; Navigation 569 - ^o::Send ^n ;Go to class 570 - ^+o::Send ^+n ;Go to file 571 - ^!o::Send ^!+n ;Go to symbol 572 - #Right::Send !{Right} ;Go to next editor tab 573 - #Left::Send !{Left} ;Go to previous editor tab 574 - #l::Send ^g ;Go to line 575 - #e::Send ^e ;Recent files popup 576 - !Space::Send ^+i ; Default - Open quick definition lookup 577 - ; ; #Space::Send ^+i ; CB/IBM - Open quick definition lookup 578 - ^Y::Send ^+i ;Open quick definition lookup 579 - #+b::Send ^+b ;Go to type declaration 580 - #Up::Send !{Up} ;Go to previous 581 - #Down::Send !{Down} ;Go to next method 582 - #h::Send ^h ;Type hierarchy 583 - #!h::Send ^!h ;Call hierarchy 584 - ^Down::Send ^{Enter} ;Edit source/View source 585 - !Home::Send !{Home} ;Show navigation bar 586 - F2::Send {F11} ;Toggle bookmark 587 - #F3::Send ^{F11} ;Toggle bookmark with mnemonic 588 - #0::Send ^{0} ;Go to numbered bookmark 589 - #1::Send ^{1} ;Go to numbered bookmark 590 - #2::Send ^{2} ;Go to numbered bookmark 591 - #3::Send ^{3} ;Go to numbered bookmark 592 - #4::Send ^{4} ;Go to numbered bookmark 593 - #5::Send ^{5} ;Go to numbered bookmark 594 - #6::Send ^{6} ;Go to numbered bookmark 595 - #7::Send ^{7} ;Go to numbered bookmark 596 - #8::Send ^{8} ;Go to numbered bookmark 597 - #9::Send ^{9} ;Go to numbered bookmark 598 - ^F3::Send +{F11} ;Show bookmarks 599 - ; Compile and Run 600 - #!r::Send !+{F10} ;Select configuration and run 601 - #!d::Send !+{F9} ;Select configuration and debug 602 - #r::Send +{F10} ;Run 603 - #d::Send +{F9} ;Debug 604 - #+r::Send ^+{F10} ;Run context configuration from editor 605 - #+d::Send ^+{F9} ;Debug context configuration from editor 606 - ; VCS/Local History 607 - #v::Send !` ;VCS quick popup 608 - #If 609 - 610 - ; Close all browsers 611 - #IfWinActive ahk_group browsers 612 - ; Page Navigation 613 - ^[::send !{Left} ; Go to prior page 614 - ^]::send !{Right} ; Go to next page 615 - ;Tab Navigation 616 - ^+[::send ^{PgUp} ; Go to prior tab (left) 617 - ^+]::send ^{PgDn} ; Go to next tab (right) 618 - ^!Left::send ^{PgUp} ; Go to prior tab (left) 619 - ^!Right::send ^{PgDn} ; Go to next tab (right) 620 - #Left::send ^{PgUp} ; Go to prior tab (left) 621 - #Right::send ^{PgDn} ; Go to next tab (right) 622 - ^q::send {Alt Down}f{Alt Up}x ; exit all windows 623 - ; Dev Tools 624 - !^i::send {Ctrl Down}{Shift Down}i{Shift Up}{Ctrl Up} 625 - !^j::send {Ctrl Down}{Shift Down}j{Shift Up}{Ctrl Up} 626 - ; Open preferences 627 - #IfWinActive ahk_exe firefox.exe 628 - ^,::send, {Ctrl Down}t{Ctrl Up}about:preferences{Enter} 629 - ^+n::send ^+p 630 - #If 631 - #IfWinActive ahk_exe chrome.exe 632 - ^,::send {Alt Down}e{Alt Up}s{Enter} 633 - #If 634 - #IfWinActive ahk_exe msedge.exe 635 - ^,::send {Alt Down}e{Alt Up}s{Enter} 636 - #If 637 - #IfWinActive ahk_exe opera.exe 638 - ^,::send {Ctrl Down}{F12}{Ctrl Up} 639 - #If 640 - #If 641 - 642 - ; Sublime Text Remaps for VS Code 643 - #IfWinActive ahk_group vscode 644 - #p::send {Up} ; Allow for traversing quick list 645 - #n::send {Down} ; Allow for traversing quick list 646 - ; Remap Ctrl+Shift to behave like macOS Sublimetext 647 - ; Will extend cursor to multiple lines 648 - #+Up::send ^!{Up} ; Default - ST2CODE 649 - ; ; !+Up::send ^!{Up} ; CB/IBM - ST2CODE 650 - #+Down::send ^!{Down} ; Default - ST2CODE 651 - ; ; !+Down::send ^!{Down} ; CB/IBM - ST2CODE 652 - ; Remap Ctrl+Cmd+G to select all matches 653 - #^g::send ^+{L} ; Default - ST2CODE 654 - ; ; !^g::send ^+{L} ; CB/IBM - ST2CODE 655 - !+g::send ^+{G} ; View source control 656 - $#c::Send {Ctrl down}c{Ctrl up} ; Default - Sigints interrupt 657 - ; ; $!c::Send {Ctrl down}c{Ctrl up} ; CB/IBM 658 - $#x::Send {Ctrl down}x{Ctrl up} ; Default - Sigints interrupt 659 - ; ; $!x::Send {Ctrl down}x{Ctrl up} ; CB/IBM 660 - 661 - #Space::Send ^{Space} ; Default - Basic code completion 662 - ; ; !Space::Send ^{Space} ; CB/IBM - Basic code completion 663 - #If 664 - 665 - #IfWinActive ahk_exe sublime_text.exe 666 - #x::Send ^{x} ; Default - Terminal - Ctrl-x 667 - #c::Send ^{c} ; Default - Terminal - Ctrl-c sigint 668 - ; ; !x::Send ^{x} ; CB/IBM 669 - ; ; !c::Send ^{c} ; CB/IBM - Sigint 670 - ; #c::send ^{Pause} ; cancel_build 671 - #Space::Send ^{Space} ; Default - Basic code completion 672 - ; ; !Space::Send ^{Space} ; CB/IBM - Basic code completion 673 - #^Up::send !{O} ; Switch file 674 - #^f::send {F11} ; toggle_full_screen 675 - ^!v::send {Ctrl Down}k{Ctrl Up}{Ctrl Down}v{Ctrl Up} ; paste_from_history 676 - ^Up::Return ; cancel scroll_lines up 677 - ^!Up::send ^{Up} ; scroll_lines up 678 - ^Down::Return ; cancel scroll_lines down 679 - ^!Down::send ^{Down} ; scroll_lines down 680 - #+Up::send {shift up}^!{Up} ; Default - multi-cursor up 681 - #+Down::send {shift up}^!{Down} ; Default - multi-cursor down 682 - ; ; !+Up::send {shift up}^!{Up} ; CB/IBM - multi-cursor up 683 - ; ; !+Down::send {shift up}^!{Down} ; CB/IBM - multi-cursor down 684 - ^PgDn::Return ; cancel next_view 685 - ^PgUp::Return ; cancel prev_view 686 - ^+{::send ^{PgDn} ; next_view 687 - ^+}::send ^{PgUp} ; prev_view 688 - ^!Right::send ^{PgDn} ; next_view 689 - ^!Left::send ^{PgUp} ; prev_view 690 - Insert::Return ; cancel toggle_overwrite 691 - ^!O::send {Insert} ; toggle_overwrite 692 - !c::Return ; Default - cancel toggle_case_sensitive 693 - ^!c::send !{c} ; toggle_case_sensitive 694 - ; ^h::Return ; cancel replace 695 - ^!f::send ^{h} ; replace 696 - ^+h::Return ; cancel replace_next 697 - ^!e::send ^+{h} ; replace_next 698 - F3::Return ; cancel find_next 699 - ^g::send {F3} ; find_next 700 - #g::send ^{g} ; goto line - disable game bar - Start menu -> Game bar shortcuts -> toggle Off 701 - *F3::Return ; cancel find_prev, find_under, find_all_under 702 - ^+g::send +{F3} ; find_prev 703 - #!g::send ^{F3} ; find_under 704 - #!+g::send ^+{F3} ; find_under_prev 705 - #^g::send !{F3} ; Default - find_all_under 706 - ; ; !^g::send !{F3} ; CB/IBM - find_all_under 707 - ^+Up::Return ; cancel swap_line_up 708 - #!Up::send ^+{Up} ; swap_line_up 709 - ^+Down::Return ; cancel swap_line_down 710 - #!Down::send ^+{Down} ; swap_line_down 711 - ^Pause::Return ; cancel cancel_build 712 - ; #c::send ^{Pause} ; cancel_build 713 - F9::Return ; cancel sort_lines case_s false 714 - F5::send {F9} ; sort_lines case_s false 715 - #F9::Return ; cancel sort_lines case_s true 716 - #F5::send #{F9} ; sort_lines case_s true 717 - !+1::Return ; cancel set_layout 718 - ^!1::send !+1 ; set_layout 719 - !+2::Return ; cancel set_layout 720 - ^!2::send !+2 ; set_layout 721 - !+3::Return ; cancel set_layout 722 - ^!3::send !+3 ; set_layout 723 - !+4::Return ; cancel set_layout 724 - ^!4::send !+4 ; set_layout 725 - !+5::Return ; cancel set_layout 726 - ^!5::send !+5 ; set_layout 727 - !+8::Return ; cancel set_layout 728 - ^!8::send !+8 ; set_layout 729 - !+9::Return ; cancel set_layout 730 - ^!9::send !+9 ; set_layout 731 - #If 732 - 733 - #IfWinActive ahk_group terminals 734 - 735 - ; End of Line 736 - #e:: ; Default 737 - ; ; !e:: ; CB/IBM 738 - Send {End} 739 - return 740 - 741 - ; Beginning of Line 742 - #a:: ; Default 743 - ; ; !a:: ; CB/IBM 744 - Send {Home} 745 - return 746 - 747 - ; Copy 748 - ^c:: 749 - If WinActive("ahk_exe cmd.exe") OR WinActive("ahk_exe box.exe"){ 750 - Send {Enter} 751 - } 752 - else if WinActive("ahk_exe mintty.exe"){ 753 - SetKeyDelay -1 754 - Send {Blind}{Insert} 755 - } 756 - ; else if WinActive("ahk_exe WindowsTerminal.exe"){ ; WinTerm 757 - ; SetKeyDelay -1 ; WinTerm 758 - ; Send {Blind}{F13} ; WinTerm 759 - ; } ; WinTerm 760 - else{ 761 - SetKeyDelay -1 762 - Send {Blind}{LShift down}{c DownTemp} 763 - } 764 - return 765 - 766 - ^c up:: 767 - If not WinActive("ahk_group cmd.exe") OR WinActive("ahk_exe box.exe"){ 768 - SetKeyDelay -1 769 - Send {Blind}{c Up}{LShift Up} 770 - } 771 - return 772 - 773 - ; Sigints - interrupt 774 - $#c::Send {Ctrl down}c{Ctrl up} ; Default 775 - ; ; $!c::Send {Ctrl down}c{Ctrl up} ; CB/IBM 776 - $^.::Send {Ctrl down}c{Ctrl up} 777 - 778 - ; Windows Terminal 779 - ; Ctrl+Shift+C should do nothing 780 - If WinActive("ahk_exe WindowsTerminal.exe"){ 781 - $#+c::return 782 - } 783 - 784 - ; Paste 785 - $^v:: 786 - If WinActive("ahk_exe mintty.exe"){ 787 - Send {Shift down}{Insert}{Shift up} 788 - } 789 - else if WinActive("ahk_group posix"){ 790 - Send {Blind}{Shift down}v{Shift up} 791 - } 792 - else if WinActive("ahk_exe box.exe"){ 793 - SendEvent {RButton} 794 - } 795 - else{ 796 - Send {Blind}v 797 - } 798 - return 799 - #If 800 - 801 - #IfWinActive ahk_group posix 802 - ; Open/Close Tab for those that support it 803 - $^t:: 804 - If not WinActive("ahk_group ConEmu") AND not WinActive("ahk_class Console_2_Main"){ 805 - Send {Blind}{LShift down}t{LShift Up} 806 - } 807 - else if WinActive("ahk_class Console_2_Main"){ 808 - Send {Blind}{F1}{LShift Up} 809 - } 810 - else{ 811 - Send {Blind}t 812 - } 813 - return 814 - 815 - 816 - $^w:: 817 - If not WinActive("ahk_group ConEmu"){ 818 - Send {Blind}{LShift down}w{LShift Up} 819 - } 820 - else{ 821 - Send ^w 822 - } 823 - return 824 - 825 - ^l::Send clear{Enter} 826 - ; #l::return 827 - ; Clear Terminal and Scroll Buffer 828 - ^k::Send clear && printf '\e[3J'{Enter} 829 - ; Remap Physical Ctrl back to Ctrl 830 - #0::Send {LCtrl down}0{Ctrl up} ; Default 831 - #1::Send {LCtrl down}1{Ctrl up} ; Default 832 - #2::Send {LCtrl down}2{Ctrl up} ; Default 833 - #3::Send {LCtrl down}3{Ctrl up} ; Default 834 - #4::Send {LCtrl down}4{Ctrl up} ; Default 835 - #5::Send {LCtrl down}5{Ctrl up} ; Default 836 - #6::Send {LCtrl down}6{Ctrl up} ; Default 837 - #7::Send {LCtrl down}7{Ctrl up} ; Default 838 - #8::Send {LCtrl down}8{Ctrl up} ; Default 839 - #9::Send {LCtrl down}9{Ctrl up} ; Default 840 - #-::Send {LCtrl down}-{Ctrl up} ; Default 841 - #=::Send {LCtrl down}={Ctrl up} ; Default 842 - #`::Send {LCtrl down}`{Ctrl up} ; Default 843 - #a::Send {LCtrl down}a{Ctrl up} ; Default 844 - #b::Send {LCtrl down}b{Ctrl up} ; Default 845 - #c::Send {LCtrl down}c{Ctrl up} ; Default 846 - #d::Send {LCtrl down}d{Ctrl up} ; Default 847 - #e::Send {LCtrl down}e{Ctrl up} ; Default 848 - #f::Send {LCtrl down}f{Ctrl up} ; Default 849 - #g::Send {LCtrl down}g{Ctrl up} ; Default 850 - #h::Send {LCtrl down}h{Ctrl up} ; Default 851 - #i::Send {LCtrl down}i{Ctrl up} ; Default 852 - #j::Send {LCtrl down}j{Ctrl up} ; Default 853 - #k::Send {LCtrl down}k{Ctrl up} ; Default 854 - #l::Send {LCtrl down}l{Ctrl up} ; Default 855 - #m::Send {LCtrl down}m{Ctrl up} ; Default 856 - #n::Send {LCtrl down}n{Ctrl up} ; Default 857 - #o::Send {LCtrl down}o{Ctrl up} ; Default 858 - #p::Send {LCtrl down}p{Ctrl up} ; Default 859 - #q::Send {LCtrl down}q{Ctrl up} ; Default 860 - #r::Send {LCtrl down}r{Ctrl up} ; Default 861 - #s::Send {LCtrl down}s{Ctrl up} ; Default 862 - #t::Send {LCtrl down}t{Ctrl up} ; Default 863 - #u::Send {LCtrl down}u{Ctrl up} ; Default 864 - #v::Send {LCtrl down}v{Ctrl up} ; Default 865 - #w::Send {LCtrl down}w{Ctrl up} ; Default 866 - #x::Send {LCtrl down}x{Ctrl up} ; Default 867 - #y::Send {LCtrl down}y{Ctrl up} ; Default 868 - #z::Send {LCtrl down}z{Ctrl up} ; Default 869 - ; ; !0::Send {LCtrl down}0{Ctrl up} ; CB/IBM 870 - ; ; !1::Send {LCtrl down}1{Ctrl up} ; CB/IBM 871 - ; ; !2::Send {LCtrl down}2{Ctrl up} ; CB/IBM 872 - ; ; !3::Send {LCtrl down}3{Ctrl up} ; CB/IBM 873 - ; ; !4::Send {LCtrl down}4{Ctrl up} ; CB/IBM 874 - ; ; !5::Send {LCtrl down}5{Ctrl up} ; CB/IBM 875 - ; ; !6::Send {LCtrl down}6{Ctrl up} ; CB/IBM 876 - ; ; !7::Send {LCtrl down}7{Ctrl up} ; CB/IBM 877 - ; ; !8::Send {LCtrl down}8{Ctrl up} ; CB/IBM 878 - ; ; !9::Send {LCtrl down}9{Ctrl up} ; CB/IBM 879 - ; ; !-::Send {LCtrl down}-{Ctrl up} ; CB/IBM 880 - ; ; !=::Send {LCtrl down}={Ctrl up} ; CB/IBM 881 - ; ; !`::Send {LCtrl down}`{Ctrl up} ; CB/IBM 882 - ; ; !a::Send {LCtrl down}a{Ctrl up} ; CB/IBM 883 - ; ; !b::Send {LCtrl down}b{Ctrl up} ; CB/IBM 884 - ; ; !c::Send {LCtrl down}c{Ctrl up} ; CB/IBM 885 - ; ; !d::Send {LCtrl down}d{Ctrl up} ; CB/IBM 886 - ; ; !e::Send {LCtrl down}e{Ctrl up} ; CB/IBM 887 - ; ; !f::Send {LCtrl down}f{Ctrl up} ; CB/IBM 888 - ; ; !g::Send {LCtrl down}g{Ctrl up} ; CB/IBM 889 - ; ; !h::Send {LCtrl down}h{Ctrl up} ; CB/IBM 890 - ; ; !i::Send {LCtrl down}i{Ctrl up} ; CB/IBM 891 - ; ; !j::Send {LCtrl down}j{Ctrl up} ; CB/IBM 892 - ; ; !k::Send {LCtrl down}k{Ctrl up} ; CB/IBM 893 - ; ; !l::Send {LCtrl down}l{Ctrl up} ; CB/IBM 894 - ; ; !m::Send {LCtrl down}m{Ctrl up} ; CB/IBM 895 - ; ; !n::Send {LCtrl down}n{Ctrl up} ; CB/IBM 896 - ; ; !o::Send {LCtrl down}o{Ctrl up} ; CB/IBM 897 - ; ; !p::Send {LCtrl down}p{Ctrl up} ; CB/IBM 898 - ; ; !q::Send {LCtrl down}q{Ctrl up} ; CB/IBM 899 - ; ; !r::Send {LCtrl down}r{Ctrl up} ; CB/IBM 900 - ; ; !s::Send {LCtrl down}s{Ctrl up} ; CB/IBM 901 - ; ; !t::Send {LCtrl down}t{Ctrl up} ; CB/IBM 902 - ; ; !u::Send {LCtrl down}u{Ctrl up} ; CB/IBM 903 - ; ; !v::Send {LCtrl down}v{Ctrl up} ; CB/IBM 904 - ; ; !w::Send {LCtrl down}w{Ctrl up} ; CB/IBM 905 - ; ; !x::Send {LCtrl down}x{Ctrl up} ; CB/IBM 906 - ; ; !y::Send {LCtrl down}y{Ctrl up} ; CB/IBM 907 - ; ; !z::Send {LCtrl down}z{Ctrl up} ; CB/IBM 908 - #If 909 - #If 910 - 911 - ReleaseModifiers: 912 - Send {RCtrl up} 913 - Send {LCtrl up} 914 - Send {RAlt up} 915 - Send {LAlt up} 916 - Send {RWin up} 917 - Send {LWin up} 918 - Send {RShift up} 919 - Send {LShift up} 920 - return 921 - 922 - ; ############################################################################################################### 923 - ; ### Special character insertion like Apple/macOS Option key methods, mapping to Unicode input method 924 - ; ### Common symbols available with Option+key or Shift+Option+key, accented keys with Option+Key1, then Key2 925 - ; ############################################################################################################### 926 - 927 - ; Shortcut to activate Option key special character scheme 928 - ^+!o::Gosub, toggle_optspecialchars 929 - 930 - ; Function (subroutine?) for activation by tray menu item or keyboard shortcut 931 - toggle_optspecialchars: 932 - optspecialchars:=!optspecialchars ; Toggle value of optspecialchars variable on/off 933 - if (optspecialchars = 1) { 934 - Menu, Tray, Check, OptSpecialChars Shift+Opt+Cmd+O 935 - MsgBox, 0, ALERT, % "Option key special character entry scheme is now ENABLED.`n`n" 936 - . "WARNING: This will interfere with many Alt and Alt-Shift shortcuts.`n`n" 937 - . "Disable from tray menu or with Shift+Opt+Cmd+O." 938 - return 939 - } 940 - if (optspecialchars = 0) { 941 - Menu, Tray, Uncheck, OptSpecialChars Shift+Opt+Cmd+O 942 - MsgBox, 0, ALERT, Option key special character entry scheme is now DISABLED. 943 - return 944 - } 945 - return 946 - 947 - ; #IfWinNotActive ahk_group remotes 948 - #If !WinActive("ahk_group remotes") && optspecialchars = 1 949 - 950 - ; ###### NUMBER KEYS ROW ###### 951 - 952 - ; Dead_Keys_Accent_Grave 953 - ; ### SC029 is ` (Grave key above Tab) 954 - ; Grave accent: Option+`, then key to accent 955 - $!SC029:: 956 - ; Use Apple "dead keys" Option key method to attach accents to next character typed 957 - ; Grave accent activated by Option+` (Alt plus scan code SC029, or !SC029) 958 - StringCaseSense, On 959 - ; watch next input string 960 - Input, UserInput, L1 961 - Switch UserInput { 962 - Case Esc: Return ; Watch for Escape key, cancel dead keys sequence 963 - Case "a": Send, {U+00E0} ; à {U+00E0} (Alt+0224) 964 - Case "e": Send, {U+00E8} ; è {U+00E8} (Alt+0232) 965 - Case "i": Send, {U+00EC} ; ì {U+00EC} (Alt+0236) 966 - Case "o": Send, {U+00F2} ; ò {U+00F2} (Alt+0242) 967 - Case "u": Send, {U+00F9} ; ù {U+00F9} (Alt+0249) 968 - Case "A": Send, {U+00C0} ; À {U+00C0} (Alt+0192) 969 - Case "E": Send, {U+00C8} ; È {U+00C8} (Alt+0200) 970 - Case "I": Send, {U+00CC} ; Ì {U+00CC} (Alt+0204) 971 - Case "O": Send, {U+00D2} ; Ò {U+00D2} (Alt+0210) 972 - Case "U": Send, {U+00D9} ; Ù {U+00D9} (Alt+0217) 973 - Default: Send, %UserInput% ; No match? Send input through. 974 - } 975 - Return 976 - 977 - ; ### SC029 is ` (Grave key above Tab) 978 - $!+SC029::Send, {U+0060} ; Grave Accent diacritic (non-combining) {U+0060}: ` (Alt+96) 979 - $!1::Send, {U+00A1} ; Inverted Exclamation Mark {U+00A1}: ¡ (Alt+0161) 980 - $!+1::Send, {U+2044} ; Fraction Slash, solidus (U+2044): ⁄ (Alt+8260) [Needs Unicode] 981 - $!2::Send, {U+2122} ; Trade Mark Sign Emoji {U+2122}: ™ (Alt+0153) 982 - $!+2::Send, {U+20AC} ; Euro currency symbol {U+20AC}: € (Alt+0128) 983 - $!3::Send, {U+00A3} ; British Pound currency symbol {U+00A3}: £ (Alt+0163) 984 - $!+3::Send, {U+2039} ; Single Left-Pointing Angle Quotation mark {U+2039}: (Alt+0139) 985 - $!4::Send, {U+00A2} ; Cent currency symbol {U+00A2}: ¢ (Alt+0162) 986 - $!+4::Send, {U+203A} ; Single Right-Pointing Angle Quotation mark (U+203A): (Alt+0155) 987 - $!5::Send, {U+221E} ; Infinity mathematical symbol {U+221E}: ∞ (Alt+236) 988 - $!+5::Send, {U+FB01} ; fi latin small ligature: fi (U+FB01) (Alt+64257) [Needs Unicode] 989 - $!6::Send, {U+00A7} ; Section symbol {U+00A7}: § (Alt+0167) 990 - $!+6::Send, {U+FB02} ; fl small ligature: (U+FB02) (Alt+64258) [Needs Unicode.] 991 - $!7::Send, {U+00B6} ; Paragraph mark (Pilcrow) symbol {U+00B6}: ¶ (Alt+0182) 992 - $!+7::Send, {U+2021} ; Double dagger (cross) symbol {U+2021}: ‡ (Alt+0135) 993 - $!8::Send, {U+2022} ; Bullet point symbol {U+2022}: • (Alt+0149) 994 - $!+8::Send, {U+00B0} ; Degree symbol {U+00B0}: ° (Alt+0176) 995 - $!9::Send, {U+00AA} ; Feminine Ordinal Indicator symbol {U+00AA}: ª (Alt+0170) 996 - $!+9::Send, {U+00B7} ; Middle Dot (interpunct/middot) symbol {U+00B7}: · (Alt+0183) 997 - $!0::Send, {U+00BA} ; Masculine Ordinal Indicator symbol {U+00BA}: º (Alt+0186) 998 - $!+0::Send, {U+201A} ; Single low-9 quotation mark {U+201A}: ‚ (Alt+0130) 999 - $!-::Send, {U+2013} ; En Dash symbol {U+2013}: – (Alt+0150) 1000 - $!+-::Send, {U+2014} ; Em Dash symbol {U+2014}: — (Alt+0151) 1001 - $!=::Send, {U+2260} ; Not Equal To symbol (U+2260): ≠ (Alt+8800) [Needs Unicode] 1002 - $!+=::Send, {U+00B1} ; Plus Minus symbol {U+00B1}: ± (Alt+0177) 1003 - 1004 - 1005 - ; ###### LETTER AND PUNCTUATION KEYS ###### [ in QWERTY order ] 1006 - 1007 - ; ############## 1008 - ; ### 1st row: Tab-key row [ qwertyuiop[]\ ] [ QWERTYUIOP{}| ] 1009 - 1010 - $!q::Send, {U+0153} ; Small oe (oethel) ligature {U+0153}: œ (Alt+0156) 1011 - $!+q::Send, {U+0152} ; Capital OE (Oethel) ligature {U+0152}: Œ (Alt+0140) 1012 - $!w::Send, {U+2211} ; N-Ary Summation (sigma) notation (U+2211}: ∑ [Needs Unicode] 1013 - $!+w::Send, {U+201E} ; Double Low-9 Quotation mark {U+201E}: „ (Alt+0132) 1014 - 1015 - ; Dead_Keys_Accent_Acute 1016 - ; Acute accent: Option+e, then key to accent 1017 - $!e:: 1018 - ; Use Apple "dead keys" Option key method to attach accents to next character typed 1019 - ; Acute accent activated by Option+e (logical Alt+e) 1020 - StringCaseSense, On 1021 - ; watch next input string 1022 - Input, UserInput, L1 1023 - Switch UserInput { 1024 - Case Esc: Return ; Watch for Escape key, cancel dead keys sequence 1025 - Case "a": Send, {U+00E1} ; á {U+00E1} (Alt+0225) 1026 - Case "e": Send, {U+00E9} ; é {U+00E9} (Alt+0233) 1027 - Case "i": Send, {U+00ED} ; í {U+00ED} (Alt+0237) 1028 - Case "o": Send, {U+00F3} ; ó {U+00F3} (Alt+0243) 1029 - Case "u": Send, {U+00FA} ; ú {U+00FA} (Alt+0250) 1030 - Case "A": Send, {U+00C1} ; Á {U+00C1} (Alt+0193) 1031 - Case "E": Send, {U+00C9} ; É {U+00C9} (Alt+0201) 1032 - Case "I": Send, {U+00CD} ; Í {U+00CD} (Alt+0205) 1033 - Case "O": Send, {U+00D3} ; Ó {U+00D3} (Alt+0211) 1034 - Case "U": Send, {U+00DA} ; Ú {U+00DA} (Alt+0218) 1035 - Default: Send, %UserInput% ; No match? Send input through. 1036 - } 1037 - Return 1038 - 1039 - $!+e::Send, {U+00B4} ; Acute accent diacritic (non-combining) {U+00B4}: ´ (Alt+0180) 1040 - $!r::Send, {U+00AE} ; Registered Trade Mark Sign {U+00AE}: ® (Alt+0174) 1041 - $!+r::Send, {U+2030} ; Per mille symbol {U+2030}: ‰ (Alt+0137) 1042 - $!t::Send, {U+2020} ; Simple dagger (cross) symbol {U+2020}: † (Alt+0134) 1043 - $!+t::Send, {U+02C7} ; Caron/hacek diacritic (non-combining) (U+02C7): ˇ (Alt+0134) 1044 - $!y::Send, {U+00A5} ; Yen currency symbol {U+00A5}: ¥ (Alt+0165) 1045 - $!+y::Send, {U+00C1} ; Latin Capital Letter a with Acute (U+00C1): Á (Alt+0193) 1046 - 1047 - ; Dead_Keys_Accent_Umlaut 1048 - ; Umlaut/Diaeresis accent: Option+u, then key to accent 1049 - $!u:: 1050 - ; Use Apple "dead keys" Option key method to attach accents to next character typed 1051 - ; Umlaut/Diaeresis accent activated by Option+u (logical Alt+u) 1052 - StringCaseSense, On 1053 - ; watch next input string 1054 - Input, UserInput, L1 1055 - Switch UserInput { 1056 - Case Esc: Return ; Watch for Escape key, cancel dead keys sequence 1057 - Case "a": Send, {U+00E4} ; ä {U+00E4} (Alt+0228) 1058 - Case "e": Send, {U+00EB} ; ë {U+00EB} (Alt+0235) 1059 - Case "i": Send, {U+00EF} ; ï {U+00EF} (Alt+0239) 1060 - Case "o": Send, {U+00F6} ; ö {U+00F6} (Alt+0246) 1061 - Case "u": Send, {U+00FC} ; ü {U+00FC} (Alt+0252) 1062 - Case "y": Send, {U+00FF} ; ÿ {U+00FF} (Alt+0255) 1063 - Case "A": Send, {U+00C4} ; Ä {U+00C4} (Alt+0196) 1064 - Case "E": Send, {U+00CB} ; Ë {U+00CB} (Alt+0203) 1065 - Case "I": Send, {U+00CF} ; Ï {U+00CF} (Alt+0207) 1066 - Case "O": Send, {U+00D6} ; Ö {U+00D6} (Alt+0214) 1067 - Case "U": Send, {U+00DC} ; Ü {U+00DC} (Alt+0220) 1068 - Case "Y": Send, {U+0178} ; Ÿ {U+0178} (Alt+0159) 1069 - Default: Send, %UserInput% ; No match? Send input through. 1070 - } 1071 - Return 1072 - 1073 - $!+u::Send, {U+00A8} ; Umlaut/Diaeresis diacritic (non-combining) {U+00A8}: (Alt+0168) 1074 - 1075 - ; Dead_Keys_Accent_Circumflex 1076 - ; Circumflex accent: Option+i, then key to accent 1077 - $!i:: 1078 - ; Use Apple "dead keys" Option key method to attach accents to next character typed 1079 - ; Circumflex accent activated by Option+i (logical Alt+i) 1080 - StringCaseSense, On 1081 - ; watch next input string 1082 - Input, UserInput, L1 1083 - Switch UserInput { 1084 - Case Esc: Return ; Watch for Escape key, cancel dead keys sequence 1085 - Case "a": Send, {U+00E2} ; â {U+00E2} (Alt+0226) 1086 - Case "e": Send, {U+00EA} ; ê {U+00EA} (Alt+0234) 1087 - Case "i": Send, {U+00EE} ; î {U+00EE} (Alt+0238) 1088 - Case "o": Send, {U+00F4} ; ô {U+00F4} (Alt+0244) 1089 - Case "u": Send, {U+00FB} ; û {U+00FB} (Alt+0251) 1090 - Case "A": Send, {U+00C2} ;  {U+00C2} (Alt+0194) 1091 - Case "E": Send, {U+00CA} ; Ê {U+00CA} (Alt+0202) 1092 - Case "I": Send, {U+00CE} ; Î {U+00CE} (Alt+0206) 1093 - Case "O": Send, {U+00D4} ; Ô {U+00D4} (Alt+0212) 1094 - Case "U": Send, {U+00DB} ; Û {U+00DB} (Alt+0219) 1095 - Default: Send, %UserInput% ; No match? Send input through. 1096 - } 1097 - Return 1098 - 1099 - $!+i::Send, {U+02C6} ; Modifier Letter Circumflex Accent (U+02C6): ˆ (Alt+0137) 1100 - $!o::Send, {U+00F8} ; Latin Small Letter o with Stroke {U+00F8}: ø (Alt+0248) 1101 - $!+o::Send, {U+00D8} ; Latin Capital Letter O with Stroke {U+00D8}: Ø (Alt+0216) 1102 - $!p::Send, {U+03C0} ; Greek Small Letter Pi {U+03C0}: π (Alt+227) 1103 - $!+p::Send, {U+220F} ; N-Ary Product mathematical symbol (U+220F): ∏ [Needs Unicode] 1104 - $![::Send, {U+201C} ; Left Double Quotation Mark {U+201C}: “ (Alt+0147) 1105 - $!+[::Send, {U+201D} ; Right Double Quotation Mark {U+201D}: ” (Alt+8) 1106 - $!]::Send, {U+2018} ; Left Single Quotation Mark {U+2018}: ‘ (Alt+0145) 1107 - $+!]::Send, {U+2019} ; Right Single Quotation Mark {U+2019}: ’ (Alt+0146) 1108 - $!\::Send, {U+00AB} ; LEFT-POINTING DOUBLE ANGLE QUOTATION MARK {U+00AB}: « (Alt+0171) 1109 - $!+\::Send, {U+00BB} ; RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK {U+00BB}: » (Alt+0187) 1110 - 1111 - 1112 - ; ############## 1113 - ; ### 2nd row: Caps Lock row [ asdfghjkl;' ] [ ASDFGHJKL:" ] 1114 - 1115 - $!a::Send, {U+00E5} ; Small Letter a with Ring Above {U+00E5}: å (Alt+0229) 1116 - $!+a::Send, {U+00C5} ; Capital Letter A with Ring Above {U+00C5}: Å (Alt+0197) 1117 - $!s::Send, {U+00DF} ; German Eszett/beta (Sharfes/Sharp S) {U+00DF}: ß (Alt+0223) 1118 - $!+s::Send, {U+00CD} ; Latin Capital Letter I with Acute {U+00CD}: Í (Alt+0205) 1119 - $!d::Send, {U+2202} ; Partial Differential mathematical symbol {U+2202}: ∂ (Alt+2202) [Needs Unicode] 1120 - $!+d::Send, {U+00CE} ; Latin Capital Letter I with Circumflex {U+00CE}: Î (Alt+0206) 1121 - $!f::Send, {U+0192} ; Function/florin currency symbol {U+0192}: ƒ (Alt+159) 1122 - $!+f::Send, {U+00CF} ; Latin Capital Letter I with Diaeresis {U+00CF}: Ï (Alt+0207) 1123 - 1124 - ; ####################################################################### 1125 - ; ## Problem: Option+g (Win+g) brings up Windows XBox Game Bar! 1126 - ; ## To remove/disable paste this text in PowerShell (without quotes): 1127 - ; ## "Get-AppxPackage Microsoft.XboxGamingOverlay | Remove-AppxPackage" 1128 - ; ####################################################################### 1129 - $!g::Send, {U+00A9} ; Copyright Sign {U+00A9}: © (Alt+0169) 1130 - $!+g::Send, {U+02DD} ; Double Acute Accent diacritic (non-combining) {U+02DD}: ˝ [Needs Unicode] 1131 - $!h::Send, {U+02D9} ; Dot Above diacritic (non-combining) {U+02D9}: ˙ [Needs Unicode] 1132 - $!+h::Send, {U+00D3} ; Latin Capital Letter O with Acute {U+00D3}: Ó (Alt+0211) 1133 - $!j::Send, {U+2206} ; Increment, laplace operator symbol {U+2206}: ∆ [Needs Unicode] 1134 - $!+j::Send, {U+00D4} ; Latin Capital Letter O with Circumflex {U+00D4}: Ô (Alt+0212) 1135 - $!k::Send, {U+02DA} ; Ring Above diacritic (non-combining) {U+02DA}: ˚ [Needs Unicode] (NOT degree sign/symbol) 1136 - 1137 - ; Apple logo {U+F8FF}:  [Unicode Private Use Area, req's Baskerville Old Face font] 1138 - ; $!+k::Send, {U+F8FF} ; This Unicode address only works with Mac fonts 1139 - $!+k:: 1140 - Send, {U+F000} ; Change font of inserted character (may be invisible) to Baskerville Old Face 1141 - apple_logo_alert:=1 ; Set to zero to disable, one to enable (default is enabled) 1142 - if (apple_logo_alert=1) { 1143 - MsgBox, 0, ALERT, % "ALERT: Change the font of the inserted character!`n`n" 1144 - . "Apple logo character requires the Baskerville Old Face font.`n`n`n" 1145 - . "Note 1: The character has been inserted but may be INVISIBLE`n" 1146 - . " (i.e., non-printing) in its current font.`n`n`n" 1147 - . "Note 2: The inserted character will probably NOT be portable`n" 1148 - . " to a Mac document/font. Use only for print/PDF `n" 1149 - . " purposes on PC.`n`n`n" 1150 - . "Note 3: Search for apple_logo_alert in kinto.ahk config and `n" 1151 - . " set it to zero to disable this MsgBox.`n`n`n" 1152 - } 1153 - return 1154 - 1155 - ; ####################################################################### 1156 - ; ## Option+L works, but will also trigger the Win+L screen locking. 1157 - ; ## The screen locking shortcut can only be disabled in the registry. 1158 - ; ####################################################################### 1159 - $!l::Send, {U+00AC} ; Not Sign angled dash symbol {U+00AC}: ¬ (Alt+170) 1160 - $!+l::Send, {U+00D2} ; Latin Capital Letter O with Grave {U+00D2}: Ò (Alt+0210) 1161 - $!;::Send, {U+2026} ; Horizontal elipsis {U+2026}: … (Alt+0133) 1162 - $!+;::Send, {U+00DA} ; Latin Capital Letter U with Acute {U+00DA}: Ú (Alt+0218) 1163 - 1164 - ; ####################################################################### 1165 - ; ## SC028 is single-quote key scan code 1166 - ; ####################################################################### 1167 - $!SC028::Send, {U+00E6} ; Small ae ligature {U+00E6}: æ (Alt+0230) 1168 - $!+SC028::Send, {U+00C6} ; Capital AE ligature {U+00C6}: Æ (Alt+0198) 1169 - 1170 - 1171 - ; ############## 1172 - ; ### 3rd row: Shift-Keys row [ zxcvbnm,./ ] [ ZXCVBNM<>? ] 1173 - 1174 - $!z::Send, {U+03A9} ; Greek Capital Letter Omega symbol {U+03A9} Ω (Alt+234) 1175 - $!+z::Send, {U+00B8} ; Spacing Cedilla diacritic symbol (non-combining) {U+00B8}: ¸ (Alt+0184) 1176 - $!x::Send, {U+2248} ; Almost Equal To symbol (U+2248): ≈ (Alt+247) 1177 - $!+x::Send, {U+02DB} ; Ogonek diacritic (non-combining) (U+02DB): ˛ [Needs Unicode] 1178 - $!c::Send, {U+00E7} ; Small Letter c with Cedilla {U+00E7}: ç (Alt+0231) 1179 - $!+c::Send, {U+00C7} ; Capital Letter C with Cedilla {U+00C7}: Ç (Alt+0199) 1180 - $!v::Send, {U+221A} ; Square Root radical sign (U+221A): √ (Alt+251) 1181 - $!+v::Send, {U+25CA} ; Lozenge (diamond) shape symbol (U+25CA): ◊ [Needs Unicode] 1182 - $!b::Send, {U+222B} ; Integral mathematical symbol (U+222B): ∫ [Needs Unicode] 1183 - $!+b::Send, {U+0131} ; Latin Small Letter Dotless i (U+0131): ı [Needs Unicode] 1184 - 1185 - ; Dead_Keys_Accent_Tilde 1186 - ; Tilde accent: Option+n, then key to accent 1187 - $!n:: 1188 - ; Use Apple "dead keys" Option key method to attach accents to next character typed 1189 - ; Tilde accent activated by Option+n (logical Alt+n) 1190 - StringCaseSense, On 1191 - ; watch next input string 1192 - Input, UserInput, L1 1193 - Switch UserInput { 1194 - Case Esc: Return ; Watch for Escape key, cancel dead keys sequence 1195 - Case "a": Send, {U+00E3} ; ã {U+00E3} (Alt+0227) 1196 - Case "n": Send, {U+00F1} ; ñ {U+00F1} (Alt+0241) 1197 - Case "o": Send, {U+00F5} ; õ {U+00F5} (Alt+0245) 1198 - Case "A": Send, {U+00C3} ; à {U+00C3} (Alt+0195) 1199 - Case "N": Send, {U+00D1} ; Ñ {U+00D1} (Alt+0209) 1200 - Case "O": Send, {U+00D5} ; Õ {U+00D5} (Alt+0213) 1201 - Default: Send, %UserInput% ; No match? Send input through. 1202 - } 1203 - Return 1204 - 1205 - $!+n::Send, {U+02DC} ; Small Tilde character (U+02DC): ˜ (Alt+0152) 1206 - $!m::Send, {U+00B5} ; Micro (mu) symbol {U+00B5}: µ (Alt+0181) 1207 - $!+m::Send, {U+00C2} ; Latin Capital Letter a with Circumflex (U+00C2):  (Alt+0194) 1208 - $!,::Send, {U+2264} ; Less than or equal to symbol {U+2264}: ≤ (Alt+243) 1209 - $!+,::Send, {U+00AF} ; Macron/overline/apl overbar (non-combining) (U+00AF): ¯ (Alt+0175) 1210 - $!.::Send, {U+2265} ; Greater than or equal to symbol {U+2265}: ≥ (Alt+242) 1211 - $!+.::Send, {U+02D8} ; Breve diacritic (non-combining) {U+02D8}: ˘ [Needs Unicode] 1212 - $!/::Send, {U+00F7} ; Obelus/Division symbol {U+00F7}: ÷ (Alt+0247) 1213 - $!+/::Send, {U+00BF} ; Inverted Question Mark {U+00BF}: ¿ (Alt+0191) 1214 - 1215 - #If ; ### END of special character insertion with Option(Alt) key
.ssh/vscode_config

This is a binary file and will not be displayed.

+4 -1
.vimrc
··· 81 81 autocmd FileType info nmap <buffer> go <Plug>(InfoGoto) 82 82 augroup END 83 83 84 - 85 84 " Augroups, must be before `syntax on` 86 85 " TODO maybe disable this for vscode-nvim 87 86 augroup CustomTodo ··· 143 142 " let g:airline_extensions = [] 144 143 let g:airline_highlighting_cache = 1 145 144 let g:airline#extensions#whitespace#enabled = 1 145 + 146 146 let g:airline#extensions#tabline#enabled = 1 147 + let g:airline#extensions#tabline#fnamemod = ':p:~' 148 + 149 + let g:airline#extensions#tabline#show_buffers = 1 147 150 endif 148 151 149 152 " Code from:
+1 -5
.vscode/argv.json
··· 8 8 { 9 9 // Use software rendering instead of hardware accelerated rendering. 10 10 // This can help in cases where you see rendering issues in VS Code. 11 - "disable-hardware-acceleration": false, 12 - 13 - // Enabled by default by VS Code to resolve color issues in the renderer 14 - // See https://github.com/microsoft/vscode/issues/51791 for details 15 - "disable-color-correct-rendering": true, 11 + // "disable-hardware-acceleration": true, 16 12 17 13 // Allows to disable crash reporting. 18 14 // Should restart the app if the value is changed.
+449
Documents/AutoHotkey/Default.ahk2
··· 1 + ; @region Autorun 2 + 3 + #SingleInstance force 4 + #Warn All, OutputDebug 5 + 6 + Persistent(true) 7 + KeyHistory(150) 8 + 9 + OnExit(ReleaseModifiers) 10 + 11 + SetNumLockState("AlwaysOn") 12 + SetCapsLockState("AlwaysOff") 13 + 14 + ; Remove the "show desktop" button: https://superuser.com/a/1526926 15 + showDesktopControl := "TrayShowDesktopButtonWClass1" 16 + shellTray := "ahk_class Shell_TrayWnd" 17 + while true { 18 + try { 19 + ControlHide(showDesktopControl, shellTray) 20 + } catch Error { 21 + ; Sometimes it won't exist yet at startup so just wait + try again 22 + Sleep(1000) 23 + } else { 24 + break 25 + } 26 + } 27 + 28 + AHK_NOTIFYICON := 0x404 ; WM_USER + 4 29 + WM_MOUSEFIRST := 0x0200 30 + WM_MOUSEMOVE := 0x0200 31 + WM_LBUTTONDOWN := 0x0201 32 + WM_LBUTTONUP := 0x0202 33 + WM_LBUTTONDBLCLK := 0x0203 34 + WM_RBUTTONDOWN := 0x0204 35 + WM_RBUTTONUP := 0x0205 36 + WM_RBUTTONDBLCLK := 0x0206 37 + WM_MBUTTONDOWN := 0x0207 38 + WM_MBUTTONUP := 0x0208 39 + WM_MBUTTONDBLCLK := 0x0209 40 + WM_MOUSEWHEEL := 0x020A 41 + WM_MOUSEHWHEEL := 0x020E 42 + 43 + ; https://www.autohotkey.com/boards/viewtopic.php?t=9501 44 + OnMessage(AHK_NOTIFYICON, HandleTrayMsg) 45 + ResetMenuItems() 46 + 47 + ; Match title by contains, rather than starts-with 48 + SetTitleMatchMode(2) 49 + 50 + ; @region Groups 51 + 52 + ; Lots of apps I don't use are omitted 53 + GroupAdd("terminal", "ahk_exe powershell.exe") 54 + GroupAdd("terminal", "ahk_exe WindowsTerminal.exe") 55 + GroupAdd("terminal", "ahk_exe Cmd.exe") 56 + 57 + GroupAdd("posix", "ahk_exe WindowsTerminal.exe") 58 + 59 + GroupAdd("ExcPaste", "ahk_exe Cmd.exe") 60 + 61 + GroupAdd("editor", "ahk_exe Code.exe") 62 + 63 + GroupAdd("browser", "ahk_exe chrome.exe") 64 + GroupAdd("browser", "ahk_exe firefox.exe") 65 + GroupAdd("browser", "ahk_exe msedge.exe") 66 + 67 + GroupAdd("vscode", "ahk_exe Code.exe") 68 + 69 + GroupAdd("vstudio", "ahk_exe devenv.exe") 70 + 71 + ; @endregion 72 + 73 + ; @endregion 74 + 75 + ; @region Bindings 76 + 77 + ; NOTE: CapsLock should not be needed with SharpKeys rebind 78 + 79 + ; NOTE: winkey shortcuts can be disabled with https://superuser.com/q/1755857/1228483 80 + 81 + ; @region Kinto-like 82 + 83 + ;; Basic remap 84 + 85 + ; NOTE: SharpKeys handles these remaps, it seems to simplify things: 86 + ; Win->Alt 87 + ; Alt->RCtrl (cmd key) 88 + ; RCtrl->Win ("plain" windows key) 89 + 90 + ; Suppress menubar toggling on release; RAlt can still be used 91 + ~LAlt up::Send("{Blind}{vkFF}") 92 + 93 + ;; word/line navigation support 94 + 95 + ; TODO: file explorer, only when in an edit box 96 + $!Backspace::SendBlind("^{Backspace}") 97 + $!Delete::SendBlind("^{Delete}") 98 + 99 + ; wordwise support 100 + $!Left::SendBlind("^{Left}") 101 + $!+Left::SendBlind("^+{Left}") 102 + $!Right::SendBlind("^{Right}") 103 + $!+Right::SendBlind("^+{Right}") 104 + 105 + ; linewise support 106 + $>^Left::SendBlind("{Home}") 107 + $>^+Left::SendBlind("+{Home}") 108 + $>^Right::SendBlind("{End}") 109 + $>^+Right::SendBlind("+{End}") 110 + ; See below for vscode/terminal version of line deletion 111 + 112 + ;; Virtual desktops/spaces emulation 113 + $<^Left::^#Left 114 + $<^Right::^#Right 115 + $<^Up::#Tab 116 + 117 + ; Mainly used for vscode / terminal "move pane" commands (on macOS, ctrl+cmd+left) 118 + $<^>^Left::^#!Left 119 + $<^>^Right::^#!Right 120 + 121 + ; Maximize / snap 122 + $<^>^+Left::#Left 123 + $<^>^+Right::#Right 124 + $<^>^!Up::WinMaximize("A") ; always maximize unlike Win+Up which toggles 125 + $^>m::WinMinimize("A") 126 + 127 + ; Media keys (ported from BTT) 128 + $<^+Left::Media_Prev 129 + $<^+Right::Media_Next 130 + $<^+Space::Media_Play_Pause 131 + 132 + ; Spotify volume might be doable with 133 + ; https://gist.github.com/jcsteh/7ccbc6f7b1b7eb85c1c14ac5e0d65195 134 + ; Like Song too although I could probably also reuse like_spotify_song.py 135 + 136 + ; return 137 + !Enter:: 138 + { 139 + if (GetKeyState("RAlt", "P")) { 140 + Send("{Insert}") 141 + } 142 + else { 143 + Send("{Alt down}{Enter}{Alt up}") 144 + } 145 + } 146 + 147 + ; Close Apps 148 + ^q::Send("!{F4}") 149 + 150 + ; Spotlight emulation (PowerToys Run) 151 + $>^Space::!Space 152 + 153 + ; Task manager (like force quit dialog) 154 + ^!Esc::^+Esc 155 + 156 + ;; AltTab fixes 157 + 158 + ; for window-switcher, to avoid e.g. terminal in vscode 159 + $>^`::!` 160 + 161 + $>^Tab::{ 162 + ; It would be nice to use plain AltTab here, but there's apparently no way to 163 + ; make it so ^+Tab invokes ShiftAltTab. So manually implemented here we go: 164 + Send("{Alt down}{Tab}") 165 + ; For some reason, this can leave alt down when ctrl is released very quickly. 166 + ; It seems like maybe a KeyWait issue, but idk? 167 + KeyWait("RCtrl") 168 + Send("{Alt up}") 169 + } 170 + 171 + ; Random keybind that I rarely use except Stretchly, but it opens the start menu 172 + ; so just binding to avoid any surprises from that. 173 + >^Esc::#Esc 174 + 175 + ;; #HotIf directives 176 + ; NOTE: All shortcuts after this point take precedence over global shortcuts above 177 + 178 + ; For some reason these are taking precedence over more-specific #HotIf 179 + ; so just manually disabling for vscode/terminal 180 + #HotIf not WinActive("ahk_group vscode") and not WInActive("ahk_group terminal") 181 + $^Backspace::SendBlind("+{Home}{Backspace}") 182 + $^Delete::SendBlind("+{End}{Delete}") 183 + #HotIf 184 + 185 + #HotIf WinActive("ahk_class MultitaskingViewFrame") 186 + ; not sure why this is needed but it makes things work properly... 187 + $~RCtrl up::{ 188 + Send("{Blind!^}{LAlt up}") 189 + } 190 + 191 + ; Release alt if cancelled or finished 192 + ~*Esc::Send("{Blind}{Alt up}") 193 + ~*MButton::Send("{Blind}{Alt up}") 194 + ~*Enter::Send("{Blind}{Alt up}") 195 + #HotIf 196 + 197 + #HotIf MouseIsOverTaskbarApp() 198 + ; Make clicking apps in the taskbar more like macOS. Individual windows can 199 + ; still be selected by just hovering, then clicking. Is this the best way to 200 + ; deal with this? idk, but it seems to work, sometimes... 201 + 202 + ; A simple LButton::^LButton seemed not to work how I expected but this does: 203 + LButton::{ 204 + if KeyWait("LButton", "T0.2") { 205 + SendBlind("^{LButton}") 206 + } else { 207 + ; handle drag without sending ctrl 208 + SendBlind("{LButton down}") 209 + KeyWait("LButton") 210 + SendBlind("{LButton up}") 211 + } 212 + } 213 + #HotIf 214 + 215 + ; @endregion 216 + 217 + ; @region Per-app 218 + 219 + ;; File explorer 220 + ; TODO maybe also do some of these for ahk_class #32770 (file dialog) 221 + #HotIf WinActive("ahk_class CabinetWClass ahk_exe explorer.exe") 222 + ^i::Send("!{Enter}") ; Cmd+i: Get Info / Properties 223 + ^r::Send("{F5}") ; Cmd+R: Refresh view (Not actually a Finder shortcut? But works in Linux file browsers too.) 224 + ^1::Send("^+2") ; Cmd+1: View as Icons 225 + ^2::Send("^+6") ; Cmd+2: View as List (Detailed) 226 + ^3::Send("^+5") ; Cmd+3: View as List (Compact) 227 + ^4::Send("^+1") ; Cmd+4: View as Gallery 228 + ^Up::Send("!{Up}") ; Cmd+Up: Up to parent folder 229 + ^Left::Send("!{Left}") ; Cmd+Left: Go to prior location in history 230 + ^Right::Send("!{Right}") ; Cmd+Right: Go to next location in history 231 + ^Down::{ 232 + ; Cmd-Down: Navigate into the selected directory 233 + for window in ComObject("Shell.Application").Windows 234 + if WinActive() = window.hwnd 235 + for item in window.document.SelectedItems { 236 + window.Navigate(item.Path) 237 + return 238 + } 239 + } 240 + ^[::Send("!{Left}") ; Cmd+Left_Brace: Go to prior location in history 241 + ^]::Send("!{Right}") ; Cmd+Right_Brace: Go to next location in history 242 + ^+o::Send("^{Enter}") ; Cmd+Shift+o: Open in new window (tabs not available) 243 + $>^Delete::Send("{Delete}") ; Cmd+Delete: Delete / Send to Trash 244 + $>^Backspace::Send("{Delete}") ; Cmd+backspace: Delete / Send to Trash 245 + ^d::return ; Block the unusual Explorer "delete" shortcut of Ctrl+D, used for "bookmark" in similar apps 246 + 247 + ; Use Enter key to rename (F2), unless focus is inside a text input field. 248 + $Enter::{ 249 + fc := ControlGetClassNN(ControlGetFocus("A")) 250 + if (fc ~= "i)(Edit|Search|Notify|Windows\.UI\.Core\.CoreWindow1|SysTreeView321)") 251 + Send("{Enter}") 252 + else 253 + Send("{F2}") 254 + } 255 + ; TODO: make these play nice with e.g. linewise delete 256 + ; $BackSpace::{ 257 + ; ; Backspace (without Cmd): Block Backspace key with error beep, unless inside text input field 258 + ; fc := ControlGetClassNN(ControlGetFocus("A")) 259 + ; if NOT (fc ~= "i)(Edit|Search|Notify|Windows\.UI\.Core\.CoreWindow1)") 260 + ; Send("{BackSpace}") 261 + ; else 262 + ; Bell() 263 + ; } 264 + ; $Delete::{ 265 + ; ; Delete (without Cmd): Block Delete key with error beep, unless inside text input field 266 + ; fc := ControlGetClassNN(ControlGetFocus("A")) 267 + ; if (fc ~= "i)(Edit|Search|Notify|Windows\.UI\.Core\.CoreWindow1)") 268 + ; Send("{Delete}") 269 + ; else 270 + ; Bell() 271 + ; } 272 + 273 + Tab::{ 274 + ; Auto-completion - move to the next suggestion when in a text box 275 + fc := ControlGetClassNN(ControlGetFocus("A")) 276 + if (fc ~= "i)(Edit|Search)") 277 + Send("{Down}") 278 + else { 279 + Send("{Tab}") 280 + } 281 + } 282 + 283 + ; PowerToys Peek (like Quick Look) 284 + Space::^Space 285 + 286 + #HotIf 287 + 288 + #HotIf WinActive("ahk_exe PowerToys.Peek.UI.exe") 289 + Space::^Space 290 + #HotIf 291 + 292 + ;; VSCode 293 + #HotIf WinActive("ahk_group vscode") 294 + ; Send meta key instead of ctrl for commonly used shortcuts that I've already bound in macOS 295 + ; Most require modifier(s) to be recognized by vscode instead of intercepted by windows 296 + 297 + ; Basic completion/code actions 298 + $!Space::^Space 299 + $>^.::^. 300 + 301 + ; Reveal in sidebar 302 + $<^>^r::^#r 303 + 304 + ; find + replace 305 + $>^f::^#f 306 + $>^r::^!#r 307 + 308 + ; toggle regex search (needed to undo above ^r binding) 309 + ; although apparently alt+r by itself is enough... let's use that 310 + $>^!r::^!r 311 + 312 + ; copy + paste 313 + $>^c::#!c 314 + $>^v::#!v 315 + 316 + ; focus comments view (needed to undo above ^c binding) 317 + $>^+c::^+c 318 + 319 + ; set file language 320 + $>^l::^!l 321 + ; change indent size 322 + $>^+l::^+l 323 + 324 + ; Go to symbol in workspace 325 + $<^>^p::^!p 326 + #HotIf 327 + 328 + ;; Terminals 329 + #HotIf WinActive("ahk_group vscode") OR WinActive("ahk_group terminal") 330 + ; linewise deletion supported by readline/in-app bindings 331 + $>^Backspace::^+Backspace 332 + $>^Delete::^+Delete 333 + #HotIf 334 + 335 + ;; Browsers 336 + #HotIf WinActive("ahk_group browser") 337 + #HotIf 338 + 339 + ;; Slack 340 + #HotIf WinActive("ahk_exe Slack.exe") 341 + ; History navigation 342 + ^[::!Left 343 + ^]::!Right 344 + #HotIf 345 + 346 + ;; KeepassXC 347 + #HotIf WinActive("ahk_exe KeePassXC.exe") 348 + #HotIf 349 + 350 + ; @endregion 351 + 352 + ; @endregion 353 + 354 + ; @region Helpers 355 + 356 + Exit() { 357 + ReleaseModifiers() 358 + ExitApp() 359 + } 360 + 361 + ReloadScript() { 362 + ReleaseModifiers() 363 + Sleep(100) 364 + Reload() 365 + ; See help for reload 366 + Sleep(1000) 367 + ; MsgBox,,, The script could not be reloaded. 368 + return 369 + } 370 + 371 + ReleaseModifiers(args*) { 372 + for Each, Modifier in [ 373 + "LShift", 374 + "RShift", 375 + "LControl", 376 + "RControl", 377 + "LWin", 378 + "RWin", 379 + "LAlt", 380 + "RAlt", 381 + ] 382 + if GetKeyState(Modifier) And !GetKeyState(Modifier, "P") 383 + Send("{" Modifier " Up}") 384 + } 385 + 386 + /** 387 + * @description Sends a key sequence with {Blind!#^+} to suppress all modifiers 388 + * but retain other Blind functionality e.g. held modifiers 389 + */ 390 + SendBlind(keys) { 391 + Send("{Blind!#^+}" . keys) 392 + } 393 + 394 + Bell() { 395 + SoundPlay(A_WinDir "\Media\Windows Ding.wav") 396 + } 397 + 398 + MouseIsOverTaskbarApp() { 399 + ListLines(false) 400 + winID := -1 401 + hoveredControl := "" 402 + try { 403 + MouseGetPos(, , &winID, &hoveredControl) 404 + } catch { 405 + ; this randomly happens sometimes idk, maybe a bug 406 + return false 407 + } 408 + 409 + exists := WinExist(shellTray . " ahk_id " . winID) 410 + matches := hoveredControl == "MSTaskListWClass1" 411 + ListLines(true) 412 + return exists and matches 413 + } 414 + 415 + HandleTrayMsg(wParam, lParam, msg, hwnd) { 416 + ListLines(false) 417 + if (lParam == WM_RBUTTONUP) { 418 + ResetMenuItems() 419 + if (GetKeyState("Shift", "P")) { 420 + A_TrayMenu.Add() 421 + A_TrayMenu.AddStandard() 422 + A_TrayMenu.Delete("E&xit") ; remove the builtin exit in favor of custom 423 + } 424 + ; We don't need to Show() the menu here, since that's the default action 425 + ; Unclear if there's a way to suppress that but this works for now 426 + } 427 + ListLines(true) 428 + } 429 + 430 + ResetMenuItems() { 431 + A_TrayMenu.Delete() 432 + 433 + A_TrayMenu.Add("Reload", (args*) => ReloadScript()) 434 + A_TrayMenu.Add("History", (args*) => KeyHistory()) 435 + A_TrayMenu.Add("Exit", (args*) => Exit()) 436 + 437 + A_TrayMenu.Default := "Reload" 438 + } 439 + 440 + IsControlKindActive(className) { 441 + FocusedHwnd := ControlGetFocus("A") 442 + try { 443 + return className == WinGetClass(FocusedHwnd) 444 + } catch Error { 445 + return false 446 + } 447 + } 448 + 449 + ; @endregion