Skip to content

Commit

Permalink
Cleaner VSCode terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
serverwentdown committed Jun 12, 2023
1 parent ec02028 commit 77d9969
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .config/Code/User/keybindings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
"key": "ctrl+[Backquote]",
"command": "workbench.action.focusFirstEditorGroup"
}
]
]
18 changes: 15 additions & 3 deletions .config/Code/User/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
},
"workbench.startupEditor": "none",
"terminal.integrated.scrollback": 10000,
"terminal.integrated.smoothScrolling": true,
"editor.fontFamily": "'Fira Code', 'Droid Sans Mono', 'monospace', monospace",
"editor.inlayHints.fontSize": 12,
"editor.lineHeight": 1.3,
Expand All @@ -20,6 +21,8 @@
"editor.rulers": [
80,
],
"editor.smoothScrolling": true,
"editor.cursorSmoothCaretAnimation": "on",
"files.autoSave": "afterDelay",
"files.autoSaveDelay": 10000,
"files.exclude": {
Expand Down Expand Up @@ -60,7 +63,8 @@
"b",
],
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.toggleSidebarVisibility",
//"workbench.files.action.focusFilesExplorer",
],
},
{
Expand All @@ -69,7 +73,7 @@
"$",
],
"commands": [
"workbench.action.terminal.focusTabs",
"terminal.focus",
],
},
],
Expand All @@ -93,7 +97,6 @@
"go.inlayHints.constantValues": true,
"go.inlayHints.rangeVariableTypes": true,
"go.coverageDecorator": {
"type": "gutter",
"coveredHighlightColor": "rgba(64,128,64,0.1)",
"uncoveredHighlightColor": "rgba(128,64,64,0.1)",
"coveredBorderColor": "rgba(64,128,64,0.1)",
Expand All @@ -102,4 +105,13 @@
"uncoveredGutterStyle": "slashred"
},
"go.coverOnSave": true,
"powermode.enabled": true,
"powermode.shake.enabled": false,
"powermode.explosions.customExplosions": [
"/home/ambrose/Documents/sparkles.gif",
],
"powermode.explosions.maxExplosions": 1,
"powermode.explosions.frequency": 1,
"powermode.explosions.backgroundMode": "mask",
"powermode.combo.location": "off",
}
5 changes: 5 additions & 0 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,11 @@ setup_prompt() {
if [[ $prompt_compact == true ]]; then
prompt_vi=$'%F{'"$prompt_color_always_base3"$'}$zle_vi_mode_%f'
fi
case "$TERM_PROGRAM" in
vscode)
prompt_vcs=
;;
esac
prompt_trunc=$'%50<..<'
RPROMPT="$prompt_history$prompt_user"
PROMPT="$prompt_title$prompt_vi$prompt_trunc$prompt_vcs$prompt_directory "
Expand Down

0 comments on commit 77d9969

Please sign in to comment.