vscode: Use tabs per default, XDG & gitignore
Use tabs instead of spaces per default. (VSCodium will still respect the indentation used in the file) Stop vscode from writing files in HOME. Since only the settings.json is versioned in this repo but the full folder is symlinked: Ignore all other files that will be written. (TODO: Only symlink file)
This commit is contained in:
@@ -20,4 +20,5 @@
|
||||
],
|
||||
"workbench.activityBar.visible": false,
|
||||
"workbench.colorTheme": "One Dark Pro",
|
||||
}
|
||||
"editor.insertSpaces": false,
|
||||
}
|
||||
|
||||
@@ -25,6 +25,9 @@ export ANDROID_EMULATOR_HOME="$XDG_DATA_HOME"/android/
|
||||
export ADB_VENDOR_KEY="$XDG_CONFIG_HOME"/android
|
||||
export ANDROID_SDK_HOME="$XDG_CONFIG_HOME"/android
|
||||
|
||||
export VSCODE_PORTABLE="$XDG_DATA_HOME"/vscode
|
||||
export VSCODE_EXTENSIONS="$XDG_DATA_HOME"/vscode/extensions
|
||||
|
||||
# Other environment variables
|
||||
if [[ ! "$PATH" =~ "$HOME/\.local/bin" ]]; then
|
||||
export PATH="$HOME/.local/bin${PATH:+:$PATH}"
|
||||
|
||||
3
.gitignore
vendored
3
.gitignore
vendored
@@ -13,6 +13,9 @@
|
||||
# Ignore installation backups
|
||||
/existing-*.tar.gz
|
||||
|
||||
/.config/VSCodium
|
||||
!/.config/VSCodium/User/settings.json
|
||||
|
||||
/.config/git/github.config
|
||||
/.config/git/gitlab.config
|
||||
/.config/git/user.config
|
||||
|
||||
Reference in New Issue
Block a user