This commit is contained in:
2022-10-19 10:52:44 +08:00
parent f6cc9300a6
commit 7526662168
16 changed files with 2894 additions and 855 deletions

View File

@@ -5,9 +5,9 @@
"todoist-sync-plugin", "todoist-sync-plugin",
"obsidian-columns", "obsidian-columns",
"obsidian-tasks-plugin", "obsidian-tasks-plugin",
"obsidian-git",
"oz-image-plugin", "oz-image-plugin",
"periodic-notes", "periodic-notes",
"obsidian-kanban", "obsidian-kanban",
"obsidian-mind-map" "obsidian-mind-map",
"obsidian-git"
] ]

View File

@@ -1,5 +1,5 @@
{ {
"folder": "01. 個人/01. Daily", "folder": "01. 個人/01. Daily",
"format": "YYYY-MM-DD(ddd)", "format": "YYYY-MM-DD(ddd)",
"template": "04. 資料收集/99. templates/日記" "template": "05. 資料收集/99. templates/日記"
} }

View File

@@ -2,19 +2,19 @@
"commitMessage": "vault backup: {{date}}", "commitMessage": "vault backup: {{date}}",
"autoCommitMessage": "vault backup: {{date}}", "autoCommitMessage": "vault backup: {{date}}",
"commitDateFormat": "YYYY-MM-DD HH:mm:ss", "commitDateFormat": "YYYY-MM-DD HH:mm:ss",
"autoSaveInterval": 10, "autoSaveInterval": 3,
"autoPushInterval": 0, "autoPushInterval": 0,
"autoPullInterval": 0, "autoPullInterval": 0,
"autoPullOnBoot": true, "autoPullOnBoot": false,
"disablePush": false, "disablePush": false,
"pullBeforePush": true, "pullBeforePush": true,
"disablePopups": false, "disablePopups": false,
"listChangedFilesInMessageBody": true, "listChangedFilesInMessageBody": false,
"showStatusBar": true, "showStatusBar": true,
"updateSubmodules": false, "updateSubmodules": false,
"syncMethod": "merge", "syncMethod": "merge",
"customMessageOnAutoBackup": false, "customMessageOnAutoBackup": false,
"autoBackupAfterFileChange": false, "autoBackupAfterFileChange": true,
"treeStructure": false, "treeStructure": false,
"refreshSourceControl": true, "refreshSourceControl": true,
"basePath": "", "basePath": "",

File diff suppressed because it is too large Load Diff

View File

@@ -4,5 +4,5 @@
"description": "Backup your vault with Git.", "description": "Backup your vault with Git.",
"isDesktopOnly": false, "isDesktopOnly": false,
"js": "main.js", "js": "main.js",
"version": "2.4.1" "version": "2.8.0"
} }

View File

@@ -1,469 +1,474 @@
@keyframes loading { @keyframes loading {
0% { 0% {
transform: rotate(0deg); transform: rotate(0deg);
} }
100% { 100% {
transform: rotate(360deg); transform: rotate(360deg);
} }
}
.workspace-leaf-content[data-type='git-view'] .view-content {
padding: 0;
} }
.loading>svg { .loading>svg {
animation: 2s linear infinite loading; animation: 2s linear infinite loading;
transform-origin: 50% 50%; transform-origin: 50% 50%;
display: inline-block; display: inline-block;
} }
.obsidian-git-center { .obsidian-git-center {
margin: auto; margin: auto;
width: 50%; text-align: center;
width: 50%;
} }
.obsidian-git-textarea { .obsidian-git-textarea {
display: block; display: block;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
} }
.obsidian-git-center-button { .obsidian-git-center-button {
display: block; display: block;
margin: 20px auto; margin: 20px auto;
} }
.tooltip.mod-left { .tooltip.mod-left {
overflow-wrap: break-word; overflow-wrap: break-word;
} }
.tooltip.mod-right { .tooltip.mod-right {
overflow-wrap: break-word; overflow-wrap: break-word;
} }
.obsidian-git-shortcuts { .obsidian-git-shortcuts {
margin: 10px; margin: 10px;
} }
.diff-err { .diff-err {
height: 100%; height: 100%;
display: flex; display: flex;
justify-content: center; justify-content: center;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
} }
.diff-err-sign { .diff-err-sign {
font-size: 2em; font-size: 2em;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-d-none { .workspace-leaf-content[data-type="diff-view"] .d2h-d-none {
display: none; display: none;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-wrapper { .workspace-leaf-content[data-type="diff-view"] .d2h-wrapper {
text-align: left; text-align: left;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-header { .workspace-leaf-content[data-type="diff-view"] .d2h-file-header {
background-color: var(--background-primary); background-color: var(--background-primary);
border-bottom: 1px solid var(--interactive-accent); border-bottom: 1px solid var(--interactive-accent);
font-family: var(--font-monospace); font-family: var(--font-monospace);
height: 35px; height: 35px;
padding: 5px 10px; padding: 5px 10px;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-header, .workspace-leaf-content[data-type="diff-view"] .d2h-file-header,
.workspace-leaf-content[data-type="diff-view"] .d2h-file-stats { .workspace-leaf-content[data-type="diff-view"] .d2h-file-stats {
display: -webkit-box; display: -webkit-box;
display: -ms-flexbox; display: -ms-flexbox;
display: flex; display: flex;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-stats { .workspace-leaf-content[data-type="diff-view"] .d2h-file-stats {
font-size: 14px; font-size: 14px;
margin-left: auto; margin-left: auto;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-lines-added { .workspace-leaf-content[data-type="diff-view"] .d2h-lines-added {
border: 1px solid #b4e2b4; border: 1px solid #b4e2b4;
border-radius: 5px 0 0 5px; border-radius: 5px 0 0 5px;
color: #399839; color: #399839;
padding: 2px; padding: 2px;
text-align: right; text-align: right;
vertical-align: middle; vertical-align: middle;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-lines-deleted { .workspace-leaf-content[data-type="diff-view"] .d2h-lines-deleted {
border: 1px solid #e9aeae; border: 1px solid #e9aeae;
border-radius: 0 5px 5px 0; border-radius: 0 5px 5px 0;
color: #c33; color: #c33;
margin-left: 1px; margin-left: 1px;
padding: 2px; padding: 2px;
text-align: left; text-align: left;
vertical-align: middle; vertical-align: middle;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-name-wrapper { .workspace-leaf-content[data-type="diff-view"] .d2h-file-name-wrapper {
-webkit-box-align: center; -webkit-box-align: center;
-ms-flex-align: center; -ms-flex-align: center;
align-items: center; align-items: center;
display: -webkit-box; display: -webkit-box;
display: -ms-flexbox; display: -ms-flexbox;
display: flex; display: flex;
font-size: 15px; font-size: 15px;
width: 100%; width: 100%;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-name { .workspace-leaf-content[data-type="diff-view"] .d2h-file-name {
overflow-x: hidden; overflow-x: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-wrapper { .workspace-leaf-content[data-type="diff-view"] .d2h-file-wrapper {
border: 1px solid var(--background-modifier-border); border: 1px solid var(--background-modifier-border);
border-radius: 3px; border-radius: 3px;
margin-bottom: 1em; margin-bottom: 1em;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse { .workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse {
-webkit-box-pack: end; -webkit-box-pack: end;
-ms-flex-pack: end; -ms-flex-pack: end;
-webkit-box-align: center; -webkit-box-align: center;
-ms-flex-align: center; -ms-flex-align: center;
align-items: center; align-items: center;
border: 1px solid var(--background-modifier-border); border: 1px solid var(--background-modifier-border);
border-radius: 3px; border-radius: 3px;
cursor: pointer; cursor: pointer;
display: none; display: none;
font-size: 12px; font-size: 12px;
justify-content: flex-end; justify-content: flex-end;
padding: 4px 8px; padding: 4px 8px;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse.d2h-selected { .workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse.d2h-selected {
background-color: #c8e1ff; background-color: #c8e1ff;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse-input { .workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse-input {
margin: 0 4px 0 0; margin: 0 4px 0 0;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-diff-table { .workspace-leaf-content[data-type="diff-view"] .d2h-diff-table {
border-collapse: collapse; border-collapse: collapse;
font-family: Menlo, Consolas, monospace; font-family: Menlo, Consolas, monospace;
font-size: 13px; font-size: 13px;
width: 100%; width: 100%;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-files-diff { .workspace-leaf-content[data-type="diff-view"] .d2h-files-diff {
width: 100%; width: 100%;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-diff { .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff {
overflow-y: hidden; overflow-y: hidden;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-side-diff { .workspace-leaf-content[data-type="diff-view"] .d2h-file-side-diff {
display: inline-block; display: inline-block;
margin-bottom: -8px; margin-bottom: -8px;
margin-right: -4px; margin-right: -4px;
overflow-x: scroll; overflow-x: scroll;
overflow-y: hidden; overflow-y: hidden;
width: 50%; width: 50%;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line { .workspace-leaf-content[data-type="diff-view"] .d2h-code-line {
padding: 0 8em; padding: 0 8em;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line, .workspace-leaf-content[data-type="diff-view"] .d2h-code-line,
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line { .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line {
display: inline-block; display: inline-block;
-webkit-user-select: none; -webkit-user-select: none;
-moz-user-select: none; -moz-user-select: none;
-ms-user-select: none; -ms-user-select: none;
user-select: none; user-select: none;
white-space: nowrap; white-space: nowrap;
width: 100%; width: 100%;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line { .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line {
padding: 0 4.5em; padding: 0 4.5em;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line-ctn { .workspace-leaf-content[data-type="diff-view"] .d2h-code-line-ctn {
word-wrap: normal; word-wrap: normal;
background: none; background: none;
display: inline-block; display: inline-block;
padding: 0; padding: 0;
-webkit-user-select: text; -webkit-user-select: text;
-moz-user-select: text; -moz-user-select: text;
-ms-user-select: text; -ms-user-select: text;
user-select: text; user-select: text;
vertical-align: middle; vertical-align: middle;
white-space: pre; white-space: pre;
width: 100%; width: 100%;
} }
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-line del, .theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-line del,
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line del { .theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line del {
background-color: #ffb6ba; background-color: #ffb6ba;
} }
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-line del, .theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-line del,
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line del { .theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line del {
background-color: #8d232881; background-color: #8d232881;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line del, .workspace-leaf-content[data-type="diff-view"] .d2h-code-line del,
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins, .workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins,
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line del, .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line del,
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line ins { .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line ins {
border-radius: 0.2em; border-radius: 0.2em;
display: inline-block; display: inline-block;
margin-top: -1px; margin-top: -1px;
text-decoration: none; text-decoration: none;
vertical-align: middle; vertical-align: middle;
} }
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins, .theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins,
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line ins { .theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line ins {
background-color: #97f295; background-color: #97f295;
text-align: left; text-align: left;
} }
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins, .theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins,
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line ins { .theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line ins {
background-color: #1d921996; background-color: #1d921996;
text-align: left; text-align: left;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line-prefix { .workspace-leaf-content[data-type="diff-view"] .d2h-code-line-prefix {
word-wrap: normal; word-wrap: normal;
background: none; background: none;
display: inline; display: inline;
padding: 0; padding: 0;
white-space: pre; white-space: pre;
} }
.workspace-leaf-content[data-type="diff-view"] .line-num1 { .workspace-leaf-content[data-type="diff-view"] .line-num1 {
float: left; float: left;
} }
.workspace-leaf-content[data-type="diff-view"] .line-num1, .workspace-leaf-content[data-type="diff-view"] .line-num1,
.workspace-leaf-content[data-type="diff-view"] .line-num2 { .workspace-leaf-content[data-type="diff-view"] .line-num2 {
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
overflow: hidden; overflow: hidden;
padding: 0 0.5em; padding: 0 0.5em;
text-overflow: ellipsis; text-overflow: ellipsis;
width: 3.5em; width: 3.5em;
} }
.workspace-leaf-content[data-type="diff-view"] .line-num2 { .workspace-leaf-content[data-type="diff-view"] .line-num2 {
float: right; float: right;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber { .workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber {
background-color: var(--background-primary); background-color: var(--background-primary);
border: solid var(--background-modifier-border); border: solid var(--background-modifier-border);
border-width: 0 1px; border-width: 0 1px;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
color: var(--text-muted); color: var(--text-muted);
cursor: pointer; cursor: pointer;
display: inline-block; display: inline-block;
position: absolute; position: absolute;
text-align: right; text-align: right;
width: 7.5em; width: 7.5em;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber:after { .workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber:after {
content: "\200b"; content: "\200b";
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber { .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber {
background-color: var(--background-primary); background-color: var(--background-primary);
border: solid var(--background-modifier-border); border: solid var(--background-modifier-border);
border-width: 0 1px; border-width: 0 1px;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
color: var(--text-muted); color: var(--text-muted);
cursor: pointer; cursor: pointer;
display: inline-block; display: inline-block;
overflow: hidden; overflow: hidden;
padding: 0 0.5em; padding: 0 0.5em;
position: absolute; position: absolute;
text-align: right; text-align: right;
text-overflow: ellipsis; text-overflow: ellipsis;
width: 4em; width: 4em;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-diff-tbody tr { .workspace-leaf-content[data-type="diff-view"] .d2h-diff-tbody tr {
position: relative; position: relative;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber:after { .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber:after {
content: "\200b"; content: "\200b";
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-emptyplaceholder, .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-emptyplaceholder,
.workspace-leaf-content[data-type="diff-view"] .d2h-emptyplaceholder { .workspace-leaf-content[data-type="diff-view"] .d2h-emptyplaceholder {
background-color: var(--background-primary); background-color: var(--background-primary);
border-color: var(--background-modifier-border); border-color: var(--background-modifier-border);
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line-prefix, .workspace-leaf-content[data-type="diff-view"] .d2h-code-line-prefix,
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber, .workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber,
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber, .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber,
.workspace-leaf-content[data-type="diff-view"] .d2h-emptyplaceholder { .workspace-leaf-content[data-type="diff-view"] .d2h-emptyplaceholder {
-webkit-user-select: none; -webkit-user-select: none;
-moz-user-select: none; -moz-user-select: none;
-ms-user-select: none; -ms-user-select: none;
user-select: none; user-select: none;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber, .workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber,
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber { .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber {
direction: rtl; direction: rtl;
} }
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-del { .theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-del {
background-color: #fee8e9; background-color: #fee8e9;
border-color: #e9aeae; border-color: #e9aeae;
} }
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-ins { .theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-ins {
background-color: #dfd; background-color: #dfd;
border-color: #b4e2b4; border-color: #b4e2b4;
} }
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-del { .theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-del {
background-color: #521b1d83; background-color: #521b1d83;
border-color: #691d1d73; border-color: #691d1d73;
} }
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-ins { .theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-ins {
background-color: rgba(30, 71, 30, 0.5); background-color: rgba(30, 71, 30, 0.5);
border-color: #13501381; border-color: #13501381;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-info { .workspace-leaf-content[data-type="diff-view"] .d2h-info {
background-color: var(--background-primary); background-color: var(--background-primary);
border-color: var(--background-modifier-border); border-color: var(--background-modifier-border);
color: var(--text-normal); color: var(--text-normal);
} }
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-del.d2h-change { .theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-del.d2h-change {
background-color: #fdf2d0; background-color: #fdf2d0;
} }
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-del.d2h-change { .theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-del.d2h-change {
background-color: #55492480; background-color: #55492480;
} }
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-ins.d2h-change { .theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-ins.d2h-change {
background-color: #ded; background-color: #ded;
} }
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-ins.d2h-change { .theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-ins.d2h-change {
background-color: rgba(37, 78, 37, 0.418); background-color: rgba(37, 78, 37, 0.418);
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper { .workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper {
margin-bottom: 10px; margin-bottom: 10px;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper a { .workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper a {
color: #3572b0; color: #3572b0;
text-decoration: none; text-decoration: none;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper a:visited { .workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper a:visited {
color: #3572b0; color: #3572b0;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-header { .workspace-leaf-content[data-type="diff-view"] .d2h-file-list-header {
text-align: left; text-align: left;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-title { .workspace-leaf-content[data-type="diff-view"] .d2h-file-list-title {
font-weight: 700; font-weight: 700;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-line { .workspace-leaf-content[data-type="diff-view"] .d2h-file-list-line {
display: -webkit-box; display: -webkit-box;
display: -ms-flexbox; display: -ms-flexbox;
display: flex; display: flex;
text-align: left; text-align: left;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list { .workspace-leaf-content[data-type="diff-view"] .d2h-file-list {
display: block; display: block;
list-style: none; list-style: none;
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list>li { .workspace-leaf-content[data-type="diff-view"] .d2h-file-list>li {
border-bottom: 1px solid var(--background-modifier-border); border-bottom: 1px solid var(--background-modifier-border);
margin: 0; margin: 0;
padding: 5px 10px; padding: 5px 10px;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list>li:last-child { .workspace-leaf-content[data-type="diff-view"] .d2h-file-list>li:last-child {
border-bottom: none; border-bottom: none;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-switch { .workspace-leaf-content[data-type="diff-view"] .d2h-file-switch {
cursor: pointer; cursor: pointer;
display: none; display: none;
font-size: 10px; font-size: 10px;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-icon { .workspace-leaf-content[data-type="diff-view"] .d2h-icon {
fill: currentColor; fill: currentColor;
margin-right: 10px; margin-right: 10px;
vertical-align: middle; vertical-align: middle;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-deleted { .workspace-leaf-content[data-type="diff-view"] .d2h-deleted {
color: #c33; color: #c33;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-added { .workspace-leaf-content[data-type="diff-view"] .d2h-added {
color: #399839; color: #399839;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-changed { .workspace-leaf-content[data-type="diff-view"] .d2h-changed {
color: #d0b44c; color: #d0b44c;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-moved { .workspace-leaf-content[data-type="diff-view"] .d2h-moved {
color: #3572b0; color: #3572b0;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-tag { .workspace-leaf-content[data-type="diff-view"] .d2h-tag {
background-color: var(--background-primary); background-color: var(--background-primary);
display: -webkit-box; display: -webkit-box;
display: -ms-flexbox; display: -ms-flexbox;
display: flex; display: flex;
font-size: 10px; font-size: 10px;
margin-left: 5px; margin-left: 5px;
padding: 0 2px; padding: 0 2px;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-deleted-tag { .workspace-leaf-content[data-type="diff-view"] .d2h-deleted-tag {
border: 2px solid #c33; border: 2px solid #c33;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-added-tag { .workspace-leaf-content[data-type="diff-view"] .d2h-added-tag {
border: 1px solid #399839; border: 1px solid #399839;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-changed-tag { .workspace-leaf-content[data-type="diff-view"] .d2h-changed-tag {
border: 1px solid #d0b44c; border: 1px solid #d0b44c;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-moved-tag { .workspace-leaf-content[data-type="diff-view"] .d2h-moved-tag {
border: 1px solid #3572b0; border: 1px solid #3572b0;
} }

View File

@@ -194,7 +194,7 @@ a.external-link {
} }
.nav-folder-title::before { .nav-folder-title::before {
content: '💼'; content: '📁';
margin-right: 0.3em; margin-right: 0.3em;
} }
@@ -207,8 +207,7 @@ a.external-link {
} }
.nav-file-title::before { .nav-file-title::before {
/*content: '📄';*/ content: '📄';
content: '\E801';
margin-right: 0.3em; margin-right: 0.3em;
} }

View File

@@ -13,24 +13,50 @@
"state": { "state": {
"type": "markdown", "type": "markdown",
"state": { "state": {
"file": "00. Inbox/00. Inbox/猴子都會的AI繪圖軟體安裝教學.md", "file": "05. 資料收集/Tool Setup/Software/Windows 10 Setup.md",
"mode": "source", "mode": "source",
"source": true "source": true
} }
} }
}, },
{ {
"id": "67d6babe83bb7f0b", "id": "d6d91c541006ee95",
"type": "leaf", "type": "leaf",
"state": { "state": {
"type": "kanban", "type": "markdown",
"state": { "state": {
"file": "00. Inbox/02. Kanban TODO - Me.md" "file": "00. Inbox/01. TODO.md",
"mode": "source",
"source": true
}
}
},
{
"id": "1b1f377d09410f18",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "01. 個人/01. Daily/2021/01/2021-01-17(Sun).md",
"mode": "preview",
"source": true
}
}
},
{
"id": "7457240a4e7a5f8a",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "01. 個人/01. Daily/2022-10-18(週二).md",
"mode": "source",
"source": true
} }
} }
} }
], ],
"currentTab": 1 "currentTab": 3
} }
], ],
"direction": "vertical" "direction": "vertical"
@@ -88,7 +114,7 @@
"state": { "state": {
"type": "backlink", "type": "backlink",
"state": { "state": {
"file": "00. Inbox/02. Kanban TODO - Me.md", "file": "01. 個人/01. Daily/2022-10-18(週二).md",
"collapseAll": false, "collapseAll": false,
"extraContext": false, "extraContext": false,
"sortOrder": "alphabetical", "sortOrder": "alphabetical",
@@ -105,7 +131,7 @@
"state": { "state": {
"type": "outline", "type": "outline",
"state": { "state": {
"file": "00. Inbox/02. Kanban TODO - Me.md" "file": "01. 個人/01. Daily/2022-10-18(週二).md"
} }
} }
} }
@@ -131,22 +157,22 @@
} }
], ],
"direction": "horizontal", "direction": "horizontal",
"width": 243 "width": 319.5
}, },
"ribbon": { "ribbon": {
"mostRecentAction": "" "mostRecentAction": ""
}, },
"active": "67d6babe83bb7f0b", "active": "7457240a4e7a5f8a",
"lastOpenFiles": [ "lastOpenFiles": [
"00. Inbox/02. Kanban TODO - Logitech.md", "00. Inbox/00. Inbox/Coding style.md",
"00. Inbox/02. Kanban TODO - Me.md", "01. 個人/01. Daily/2021/01/2021-01-17(Sun).md",
"04. Programming/演算法.md", "03. 專注Study/Android/Android programming.md",
"00. Inbox/00. Inbox/猴子都會的AI繪圖軟體安裝教學.md", "01. 個人/01. Daily/2021/05/2021-05-22(週六).md",
"04. Programming/FFMPEG/FFMpeg.md", "01. 個人/01. Daily/2019/2019-09-12(週四).md",
"04. Programming/FFMPEG/01. Setup.md", "01. 個人/01. Daily/2020/05/2020-05-16(週六).md",
"04. Programming/FFMPEG/00. Introduction.md", "01. 個人/01. Daily/2021/09/2021-09-02(週四).md",
"00. Inbox/01. TODO.md", "01. 個人/01. Daily/2020/05/2020-05-19(週二).md",
"03. 專注Study/C++/lambda.md", "01. 個人/01. Daily/2021/09/2021-09-09(週四).md",
"04. Programming/OpenCV.md" "02. 工作/01. Logitech/TestCam.md"
] ]
} }

View File

@@ -0,0 +1,8 @@
## Common Rule
### LowerCamel case
Variables and functions start with lower camel case. e.g.
```cpp
int myName = 0;
void doSomething(int argNum1);
```

View File

@@ -0,0 +1,61 @@
時間20:13:42
### TAG
### All TODOs
```tasks
not done
path does not include 2021
path does not include 2022/01
path does not include 2022/02
path does not include 2022/03
path does not include 2022/04
path does not include 02. PARA/04. Archives歸檔
path does not include 001. Kong
group by folder
group by filename
group by heading
```
---
### Doing TODOs
```tasks
not done
has start date
happens before tomorrow
path does not include 2021
path does not include 2022/01
path does not include 2022/02
path does not include 2022/03
path does not include 2022/04
path does not include 02. PARA/04. Archives歸檔
path does not include 001. Kong
group by folder
group by filename
group by heading
```
---
### 新增TODO
#### 私事
#### 公事
### 今日回顧
#職場
今天終於聽到台灣的裁員消息是CP&G那邊的人也挺資深的少徐大幾年而已。依照徐大的說法他跟錯老闆與做事沒有價值。進一步詢問他做的是FPGA的工作也就是用FPGA來驗證鍵盤滑鼠我說這看起來不像是沒有價值的事情阿徐大說有價值但是現階段沒有必須性。恩好吧。總之他可以在一個月內找其他部門依靠不然就只能離職了。
不得不抱怨一下和徐大講話真的是有點累徐大在看訊息好像都看最後一行似的永遠都只會回最後一行的問題其他問題都會被忽略。要是多個問題就要一個一個問速度就會變得很慢。另外徐大野很喜歡先說一聲Hi然後等你回應再說他的需求這變成你沒法在第一時間去處理事情又多了一見懸宕的事而且可能在你回應之後他也無法馬上回應一來一往就耗掉很多時間。
#自律
今天上班不算很認真一直拖到下午才開始寫FFMPEG的encode class明天要正常一點。
律定一下自己,把以下這些事習慣化:
- 讀一篇summit
- 背單字
- 看書
- 寫日記
先四個就好!

View File

@@ -0,0 +1,58 @@
時間21:38:53
### TAG
### All TODOs
```tasks
not done
path does not include 2021
path does not include 2022/01
path does not include 2022/02
path does not include 2022/03
path does not include 2022/04
path does not include 02. PARA/04. Archives歸檔
path does not include 001. Kong
group by folder
group by filename
group by heading
```
---
### Doing TODOs
```tasks
not done
has start date
happens before tomorrow
path does not include 2021
path does not include 2022/01
path does not include 2022/02
path does not include 2022/03
path does not include 2022/04
path does not include 02. PARA/04. Archives歸檔
path does not include 001. Kong
group by folder
group by filename
group by heading
```
---
### 新增TODO
#### 私事
#### 公事
### 今日回顧
睿睿忘記帶聯絡簿去學校。
下午跟徐大開會他要把CameraView的一部分code抽出去變成library。這部份在工程上是很合理的。但我的心裡上卻隱約有點不太舒服說不上來為什麼。
想一想,或許是因為......我覺得......我沒有受重視的感覺吧。雖然徐大會口頭上說:你精心刻的東西怎麼樣阿,這樣的好東西我們應該讓它可以被看到阿,之類的。
但我總覺的徐大會有意無意的忽略我做的東西,也許是還沒發現其用處,不知道該怎麼用它處理他吧,我不知道,就是一種感覺,不是很正面的。
另外一點還是關於部門的定位讓我很沒有安全感吧應該說我對於我在Karthik面前沒有曝光度這點讓我感到沒有安全感我不覺的Karthik把我看作他的人馬我目前只是依附在徐大之下而已。是不是應該大膽一點做些什麼來增加曝光度呢會不會引起反效果呢 #職場
媽媽打電話來問罷罷的保單,爸爸手部的脂肪瘤要開刀,有比較有效的自費凝膠可以用,所以醫生問說爸爸是不是有實支實付的保單可以請領,很可惜爸爸沒有保這個。
明天要記得問一下爸爸的開刀時間。 #家庭
這兩天都有寫日記但是都沒有聽summit明天開始要聽summit然後背單字。 #自律

File diff suppressed because it is too large Load Diff

View File

@@ -325,4 +325,7 @@
}, },
} }
``` ```
## 參考
- [VSCode 是什么](https://geek-docs.com/vscode/vscode-tutorials/what-is-vscode.html)

View File

@@ -0,0 +1,191 @@
### Install tools
#### 先安裝
- 手動安裝[Google Drive](https://www.google.com/drive/download/),以取得本檔案。
#### 自動安裝
1. 安裝[Chocolatey](https://chocolatey.org/)用Administrator身份打開powershell輸入下列指令
```
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
```
2. 用安裝常用的工具
```
choco install 7zip vscode hxd sublimetext4 androidstudio intellijidea-community git winmerge freefilesync freedownloadmanager gsudo firacode cascadiacode sourcecodepro delta --yes
```
列表:
- 7zip
- vscode
- hxd
- [sublimetext4](https://community.chocolatey.org/packages/sublimetext4/4.0.0.412100)
- androidstudio
- [intellijidea-community](https://chocolatey.org/packages/intellijidea-community)
- git
- winmerge
- [freefilesync](https://chocolatey.org/packages/freefilesync)
- [freedownloadmanager](https://chocolatey.org/packages/FreeDownloadManager)
- [gsudo](https://community.chocolatey.org/packages/gsudo)
- [firacode](https://community.chocolatey.org/packages/FiraCode)
- [cascadiacode](https://community.chocolatey.org/packages/cascadiacode)
- [sourcecodepro](https://community.chocolatey.org/packages/SourceCodePro)
- [delta](https://community.chocolatey.org/packages/delta)
#### 手動安裝
1. Google drive
2. Google drive(Logitech)
3. Python 3.6.3
4. Python 3.9
6. Visual Studio 2017
7. Visual Studio 2019
8. Office 365
9. Lightroom
10. [Enpass](https://www.enpass.io/)
11. [ShareX](https://getsharex.com/)
12. [win32diskimager](https://sourceforge.net/projects/win32diskimager/)
13. [卡巴斯基](https://www.kaspersky.com.tw/)
14. 字型
- [Caskaydia](\\diskstation\share\Tools\字型\Caskaydia Cove Nerd Font\)
#### Portable App
1. Aegisub portable
2. Audacity 2.3.3
3. Cheat Engine 7.0
4. cmder v1.3.12
5. ConEmu
6. ConvertZZ.1.0.0.3
7. CrystalDiskMark 6.0.1 x64
8. EzMeta
9. ffmpeg-2020-09-20-full_build
10. FileZillaPortable
11. Geek Uninstaller 1.4.7
12. HxDPortable
13. ImgBurnPortable
14. IntelliJ IDEA
15. JDownloader 2.0
16. PhraseExpress
17. Process Explorer 16.21
18. Q-Dir 9.01
19. Rufus
20. Sandboxie
21. [Speccy](https://www.ccleaner.com/speccy)
22. [ThunderbirdPortable](https://portableapps.com/apps/internet/thunderbird_portable)
23. [WindowGrid 1.3.11](http://windowgrid.net/)
24. [wiztree_3_35_portable](https://wiztreefree.com/download)
### Upgrade
#### Upgrade by Chocolately
```
choco upgrade all -y
```
### Setup
#### Setup doskey in **Command Prompt**
1. 切換到`Document`資料夾。
2. 建立`cmdinit.cmd`,內容如下:
```
@echo off
doskey sl="C:\Program Files\Sublime Text 3\sublime_text.exe"
doskey ll=dir
doskey rrp="cd C:\Python363\lib\site-packages\RobotRun" $T C:
doskey rra=cd "G:\My Drive\codes\Projects\RobotRunApplications" $T G:
doskey gpull=git pull origin master
doskey gpush=git push origin master
doskey gs=git status
doskey gd=git diff
doskey e.=explorer.exe .
```
#### Setup bashrc in **Git bash**
1. 打開`~/.bashrc`
2. 內容如下:
```bash
export PATH="/c/Users/ahuang11/AppData/Local/Android/Sdk/platform-tools:$PATH"
##----- Android -----
alias adb="/c/EasyAVEngine/Tools/Android/ADB/adb.exe"
alias ad='adb devices'
alias fastboot='/c/EasyAVEngine/Tools/Android/ADB/fastboot.exe'
alias fd='fastboot devices'
##----- Logitech coding -----
alias rrp='cd /c/Python363/lib/site-packages/RobotRun'
alias rra='cd /c/RobotRun'
alias rrd='cd /g/My\ Drive/codes/Projects/RobotRunDocs'
alias rro='cd /c/RobotRun/Output'
alias prj='cd /c/Users/awinh/OneDrive/codes/Logitech/project'
alias coderrp='cd "/c/Python363/lib/site-packages/RobotRun" ; code "/c/Python363/lib/site-packages/RobotRun"'
alias coderra='cd "/c/RobotRun"; code "/c/RobotRun"'
alias coderras='code "/d/GoogleDriveLogi/codes/Projects/RobotRunAutoServer"'
##----- Awin coding -----
alias codes='cd /c/Users/awinh/OneDrive/codes'
alias ctest='code "/g/My Drive/codes/test"'
alias jn='C:/Python310/Scripts/jupyter notebook'
alias ipy='C:/Python310/Scripts/ipython'
##----- ELF -----
alias hugo='~/OneDrive/文件/BLOG/Hugo/bin/0.98_extend/hugo.exe'
##----- MISC -----
alias sl="/c/Program\ Files/Sublime\ Text/subl.exe"
alias e.='explorer.exe .'
alias blog="cd ~/OneDrive/文件/BLOG/Hugo/Sites/blog.awin.one"
alias ffmpeg="/c/Users/awinh/OneDrive/codes/CommonLib/RobotRunCommonLib/ffmpeg-n5.0-latest-win64-lgpl-shared-5.0/bin/ffmpeg.exe"
alias ob="cd ~/OneDrive/文件/Obsidian/Main"
##----- Connection -----
alias gods='ssh awin@192.168.1.11'
alias gorp320='ssh pi@192.168.1.20'
alias gopve='ssh root@192.168.1.21'
##----- Git -----
alias gs="git status"
alias gd="git diff"
alias gpull='git pull origin master'
alias gpush='git push origin master'
alias gpushmain='git push origin main'
alias gc='git clone'
alias gclogi='git clone --config user.name="Awin Huang" --config user.email=ahuang11@logitech.com $@'
##----- Python enviroment swich -----
alias pyv='echo PY_PYTHON=$PY_PYTHON'
function set_py() {
echo "Original Python verison is \"$PY_PYTHON\""
export PY_PYTHON=$1
echo " New Python verison is \"$PY_PYTHON\""
if [ ! -z "$2" ]
then
py "${@:2}"
fi
}
function py36() {
set_py "3.6.3" "$@"
}
function py310() {
set_py "3.10" "$@"
}
```
#### Setup Windows Terminal
1. 開啟Windows Terminal。
2.`ctrl + ,`打開設定,之後參考[[Windows Terminal]]。
#### 恢復右鍵選單
- 以admin身份打開PowerShell執行 `reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve`
- 要恢復Windows 11的右鍵選單則是執行`reg delete "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}" /f`
##### 來源
- [How to open the full right-click menu by default on Windows 11](https://www.xda-developers.com/how-to-open-full-right-click-menu-by-default-windows-11/)
#### Setup WSL2
- [[安裝筆記] Windows 10 安裝 Linux 子系統 (WSL2) | Kenmingの鮮思維](http://www.kenming.idv.tw/note_window10_install_wsl2/)
- [[安裝筆記] Windows 10 WSL 2 安裝 Docker Desktop (含更改 Docker Image 路徑) | Kenmingの鮮思維](http://www.kenming.idv.tw/win10_wsl2_install_docker-desktop/)
#### 其他細節
- [【教學】Windows 11 系統優化](https://ofeyhong.pixnet.net/blog/post/225581177)
-

View File

@@ -27,133 +27,346 @@ unset THEME
## Settings.json ## Settings.json
```json ```json
// This file was initially generated by Windows Terminal 1.6.10571.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
// This file was initially generated by Windows Terminal 1.2.2381.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{ {
"$help": "https://aka.ms/terminal-documentation",
"$schema": "https://aka.ms/terminal-profiles-schema", "$schema": "https://aka.ms/terminal-profiles-schema",
"actions":
"defaultProfile": "{00000000-0000-0000-ba54-000000000002}", [
// You can add more global application settings here.
// To learn more about global settings, visit https://aka.ms/terminal-global-settings
// If enabled, selections are automatically copied to your clipboard.
"copyOnSelect": false,
// If enabled, formatted data is also copied to your clipboard
"copyFormatting": false,
// Start position
"initialCols": 205,
"initialRows": 30,
"initialPosition": "15,400", // x,y
// A profile specifies a command to execute paired with information about how it should look and feel.
// Each one of them will appear in the 'New Tab' dropdown,
// and can be invoked from the commandline with `wt.exe -p xxx`
// To learn more about profiles, visit https://aka.ms/terminal-profile-settings
"profiles":
{
"defaults":
{ {
// Put settings here that you want to apply to all profiles. "command":
{
"action": "prevTab"
},
"keys": "ctrl+pgup"
}, },
"list": {
"command":
{
"action": "copy",
"singleLine": false
},
"keys": "ctrl+c"
},
{
"command":
{
"action": "splitPane",
"split": "right"
},
"keys": "ctrl+shift+e"
},
{
"command": "find",
"keys": "ctrl+shift+f"
},
{
"command": "paste",
"keys": "ctrl+v"
},
{
"command":
{
"action": "splitPane",
"split": "auto",
"splitMode": "duplicate"
},
"keys": "alt+shift+d"
},
{
"command": "toggleFullscreen",
"keys": "alt+x"
},
{
"command":
{
"action": "newTab"
},
"keys": "ctrl+t"
},
{
"command": "closePane",
"keys": "ctrl+w"
},
{
"command":
{
"action": "splitPane",
"split": "down"
},
"keys": "ctrl+shift+o"
},
{
"command":
{
"action": "nextTab"
},
"keys": "ctrl+pgdn"
}
],
"copyFormatting": "none",
"copyOnSelect": false,
// Start position
"initialCols": 234,
"initialRows": 30,
"initialPosition": "16,950", // x,y
"defaultProfile": "{00000000-0000-0000-ba54-000000000002}",
"profiles":
{
"defaults": {},
"list":
[ [
{ {
// Make changes here to the powershell.exe profile.
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"name": "Windows PowerShell",
"commandline": "powershell.exe",
"hidden": false
},
{
"guid": "{41dd7a51-f0e1-4420-a2ec-1a7130b7e950}",
"name": "Windows PowerShell(Administrator)",
"commandline": "gsudo.exe powershell.exe",
"hidden": false, "hidden": false,
"colorScheme": "Solarized Dark", "name": "Windows PowerShell"
"fontFace": "Fira Code", },
"icon" : "C:\\Users\\awinh\\OneDrive\\圖片\\icon\\console_red.png" {
"colorScheme": "Solarized Dark",
"commandline": "gsudo.exe powershell.exe",
"font":
{
"face": "Fira Code"
},
"guid": "{41dd7a51-f0e1-4420-a2ec-1a7130b7e950}",
"hidden": false,
"icon": "C:\\Users\\awinh\\OneDrive\\\u5716\u7247\\icon\\console_red.png",
"name": "Windows PowerShell(Administrator)"
}, },
{ {
// Make changes here to the cmd.exe profile.
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}", "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"name": "Command Prompt", "hidden": false,
"commandline": "cmd.exe", "name": "Command Prompt"
"hidden": false
}, },
{ {
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}", "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
"name": "Azure Cloud Shell",
"source": "Windows.Terminal.Azure",
"hidden": false, "hidden": false,
"name": "Azure Cloud Shell",
"source": "Windows.Terminal.Azure"
}, },
{ {
"guid": "{00000000-0000-0000-ba54-000000000002}",
"name" : "Bash",
"commandline": "%PROGRAMFILES%/git/usr/bin/bash.exe -i -l", "commandline": "%PROGRAMFILES%/git/usr/bin/bash.exe -i -l",
"icon": "%PROGRAMFILES%/Git/mingw64/share/git/git-for-windows.ico",
"startingDirectory" : "D:\\GoogleDrive\\codes",
"font": "font":
{ {
"face": "CaskaydiaCove NF", "face": "CaskaydiaCove NF",
"size": 12 "size": 12
}, },
"historySize" : 9000, "guid": "{00000000-0000-0000-ba54-000000000002}",
}, "historySize": 9000,
"icon": "%PROGRAMFILES%/Git/mingw64/share/git/git-for-windows.ico",
"name": "Bash",
"startingDirectory": "C:\\Users\\awinh\\OneDrive\\codes"
}
] ]
}, },
"schemes":
// Add custom color schemes to this array.
// To learn more about color schemes, visit https://aka.ms/terminal-color-schemes
"schemes": [],
// Add custom keybindings to this array.
// To unbind a key combination from your defaults.json, set the command to "unbound".
// To learn more about keybindings, visit https://aka.ms/terminal-keybindings
"keybindings":
[ [
// Copy and paste are bound to Ctrl+Shift+C and Ctrl+Shift+V in your defaults.json. {
// These two lines additionally bind them to Ctrl+C and Ctrl+V. "background": "#0C0C0C",
// To learn more about selection, visit https://aka.ms/terminal-selection "black": "#0C0C0C",
{ "command": {"action": "copy", "singleLine": false }, "keys": "ctrl+c" }, "blue": "#0037DA",
{ "command": "paste", "keys": "ctrl+v" }, "brightBlack": "#767676",
"brightBlue": "#3B78FF",
// Press Ctrl+Shift+F to open the search box "brightCyan": "#61D6D6",
{ "command": "find", "keys": "ctrl+shift+f" }, "brightGreen": "#16C60C",
"brightPurple": "#B4009E",
// Press Alt+Shift+D to open a new pane. "brightRed": "#E74856",
// - "split": "auto" makes this pane open in the direction that provides the most surface area. "brightWhite": "#F2F2F2",
// - "splitMode": "duplicate" makes the new pane use the focused pane's profile. "brightYellow": "#F9F1A5",
// To learn more about panes, visit https://aka.ms/terminal-panes "cursorColor": "#FFFFFF",
{ "command": { "action": "splitPane", "split": "auto", "splitMode": "duplicate" }, "keys": "alt+shift+d" }, "cyan": "#3A96DD",
// Full screen "foreground": "#CCCCCC",
{ "command": "toggleFullscreen", "keys": "alt+x" }, "green": "#13A10E",
// Open new default tab "name": "Campbell",
{ "command": "newTab", "keys": "ctrl+t" }, "purple": "#881798",
// Close current pane "red": "#C50F1F",
{ "command": "closePane", "keys": "ctrl+w" }, "selectionBackground": "#FFFFFF",
// Split pane in vertical "white": "#CCCCCC",
{ "command": { "action": "splitPane", "split": "vertical"}, "keys": "ctrl+shift+E" }, "yellow": "#C19C00"
// Split pane in horizontal },
{ "command": { "action": "splitPane", "split": "horizontal"}, "keys": "ctrl+shift+O" }, {
// Goto next tab "background": "#012456",
{ "command": "nextTab", "keys": "ctrl+pagedown" }, "black": "#0C0C0C",
// Goto previous tab "blue": "#0037DA",
{ "command": "prevTab", "keys": "ctrl+pageup" }, "brightBlack": "#767676",
"brightBlue": "#3B78FF",
"brightCyan": "#61D6D6",
"brightGreen": "#16C60C",
"brightPurple": "#B4009E",
"brightRed": "#E74856",
"brightWhite": "#F2F2F2",
"brightYellow": "#F9F1A5",
"cursorColor": "#FFFFFF",
"cyan": "#3A96DD",
"foreground": "#CCCCCC",
"green": "#13A10E",
"name": "Campbell Powershell",
"purple": "#881798",
"red": "#C50F1F",
"selectionBackground": "#FFFFFF",
"white": "#CCCCCC",
"yellow": "#C19C00"
},
{
"background": "#282C34",
"black": "#282C34",
"blue": "#61AFEF",
"brightBlack": "#5A6374",
"brightBlue": "#61AFEF",
"brightCyan": "#56B6C2",
"brightGreen": "#98C379",
"brightPurple": "#C678DD",
"brightRed": "#E06C75",
"brightWhite": "#DCDFE4",
"brightYellow": "#E5C07B",
"cursorColor": "#FFFFFF",
"cyan": "#56B6C2",
"foreground": "#DCDFE4",
"green": "#98C379",
"name": "One Half Dark",
"purple": "#C678DD",
"red": "#E06C75",
"selectionBackground": "#FFFFFF",
"white": "#DCDFE4",
"yellow": "#E5C07B"
},
{
"background": "#FAFAFA",
"black": "#383A42",
"blue": "#0184BC",
"brightBlack": "#4F525D",
"brightBlue": "#61AFEF",
"brightCyan": "#56B5C1",
"brightGreen": "#98C379",
"brightPurple": "#C577DD",
"brightRed": "#DF6C75",
"brightWhite": "#FFFFFF",
"brightYellow": "#E4C07A",
"cursorColor": "#4F525D",
"cyan": "#0997B3",
"foreground": "#383A42",
"green": "#50A14F",
"name": "One Half Light",
"purple": "#A626A4",
"red": "#E45649",
"selectionBackground": "#FFFFFF",
"white": "#FAFAFA",
"yellow": "#C18301"
},
{
"background": "#002B36",
"black": "#002B36",
"blue": "#268BD2",
"brightBlack": "#073642",
"brightBlue": "#839496",
"brightCyan": "#93A1A1",
"brightGreen": "#586E75",
"brightPurple": "#6C71C4",
"brightRed": "#CB4B16",
"brightWhite": "#FDF6E3",
"brightYellow": "#657B83",
"cursorColor": "#FFFFFF",
"cyan": "#2AA198",
"foreground": "#839496",
"green": "#859900",
"name": "Solarized Dark",
"purple": "#D33682",
"red": "#DC322F",
"selectionBackground": "#FFFFFF",
"white": "#EEE8D5",
"yellow": "#B58900"
},
{
"background": "#FDF6E3",
"black": "#002B36",
"blue": "#268BD2",
"brightBlack": "#073642",
"brightBlue": "#839496",
"brightCyan": "#93A1A1",
"brightGreen": "#586E75",
"brightPurple": "#6C71C4",
"brightRed": "#CB4B16",
"brightWhite": "#FDF6E3",
"brightYellow": "#657B83",
"cursorColor": "#002B36",
"cyan": "#2AA198",
"foreground": "#657B83",
"green": "#859900",
"name": "Solarized Light",
"purple": "#D33682",
"red": "#DC322F",
"selectionBackground": "#FFFFFF",
"white": "#EEE8D5",
"yellow": "#B58900"
},
{
"background": "#000000",
"black": "#000000",
"blue": "#3465A4",
"brightBlack": "#555753",
"brightBlue": "#729FCF",
"brightCyan": "#34E2E2",
"brightGreen": "#8AE234",
"brightPurple": "#AD7FA8",
"brightRed": "#EF2929",
"brightWhite": "#EEEEEC",
"brightYellow": "#FCE94F",
"cursorColor": "#FFFFFF",
"cyan": "#06989A",
"foreground": "#D3D7CF",
"green": "#4E9A06",
"name": "Tango Dark",
"purple": "#75507B",
"red": "#CC0000",
"selectionBackground": "#FFFFFF",
"white": "#D3D7CF",
"yellow": "#C4A000"
},
{
"background": "#FFFFFF",
"black": "#000000",
"blue": "#3465A4",
"brightBlack": "#555753",
"brightBlue": "#729FCF",
"brightCyan": "#34E2E2",
"brightGreen": "#8AE234",
"brightPurple": "#AD7FA8",
"brightRed": "#EF2929",
"brightWhite": "#EEEEEC",
"brightYellow": "#FCE94F",
"cursorColor": "#000000",
"cyan": "#06989A",
"foreground": "#555753",
"green": "#4E9A06",
"name": "Tango Light",
"purple": "#75507B",
"red": "#CC0000",
"selectionBackground": "#FFFFFF",
"white": "#D3D7CF",
"yellow": "#C4A000"
},
{
"background": "#000000",
"black": "#000000",
"blue": "#000080",
"brightBlack": "#808080",
"brightBlue": "#0000FF",
"brightCyan": "#00FFFF",
"brightGreen": "#00FF00",
"brightPurple": "#FF00FF",
"brightRed": "#FF0000",
"brightWhite": "#FFFFFF",
"brightYellow": "#FFFF00",
"cursorColor": "#FFFFFF",
"cyan": "#008080",
"foreground": "#C0C0C0",
"green": "#008000",
"name": "Vintage",
"purple": "#800080",
"red": "#800000",
"selectionBackground": "#FFFFFF",
"white": "#C0C0C0",
"yellow": "#808000"
}
] ]
} }
``` ```