Add VSCodium config and setup

This commit is contained in:
Christian Baer 2020-09-23 15:15:03 +02:00
parent 1438ab75b3
commit 9af146a1ca
6 changed files with 34 additions and 4 deletions

View File

@ -0,0 +1,5 @@
anseki.vscode-color
arcticicestudio.nord-visual-studio-code
CoenraadS.bracket-pair-colorizer-2
dendron.dendron-markdown-preview-enhanced
Yummygum.city-lights-icon-vsc

View File

View File

@ -0,0 +1,13 @@
{
"editor.tabSize": 2,
"diffEditor.ignoreTrimWhitespace": false,
"editor.fontFamily": "Source Code Pro",
"editor.fontSize": 14,
"editor.wordWrap": "on",
"workbench.startupEditor": "newUntitledFile",
"workbench.fontAliasing": "auto",
"terminal.external.osxExec": "iTerm.app",
"workbench.colorTheme": "Nord",
"workbench.preferredDarkColorTheme": "Nord",
"workbench.iconTheme": "city-lights-icons-vsc"
}

View File

@ -33,6 +33,7 @@ yabai -m config window_gap 10
yabai -m rule --add app="^Systemeinstellungen$" manage=off yabai -m rule --add app="^Systemeinstellungen$" manage=off
yabai -m rule --add app="^Todoist$" manage=off yabai -m rule --add app="^Todoist$" manage=off
yabai -m rule --add app="^Fantastical$" manage=off
YABAI_CERT=yabai-cert sh -c "$(curl -fsSL "https://git.io/update-yabai")" & YABAI_CERT=yabai-cert sh -c "$(curl -fsSL "https://git.io/update-yabai")" &
sudo yabai --uninstall-sa sudo yabai --uninstall-sa

View File

@ -118,6 +118,7 @@ cask "typora"
cask "virtualbox" cask "virtualbox"
cask "virtualbox-extension-pack" cask "virtualbox-extension-pack"
cask "vlc" cask "vlc"
cask "vscodium"
cask "wireshark" cask "wireshark"
## Mac AppStore ## Mac AppStore

View File

@ -240,15 +240,25 @@ find $MAC_NATIVEFIERTMP -depth 2 -name "*.app" -exec cp -rf {} /Applications \;
rm -rf $MAC_NATIVEFIERTMP rm -rf $MAC_NATIVEFIERTMP
echo ">>> Setting up Atom" echo ">>> Setting up Atom"
apm install --packages-file ~/.atom/pkg.list apm install --packages-file ${HOME}/.atom/pkg.list
echo ">>> Setting up VSCodium"
mkdir -p "${HOME}/Library/Application Support/VSCodium/User"
# Link config files from ~/.config to ~/Library
ln -sf "${HOME}/.config/VSCodium/User/settings.json" "${HOME}/Library/Application Support/VSCodium/User/settings.json"
ln -sf "${HOME}/.config/VSCodium/User/keybindings.json" "${HOME}/Library/Application Support/VSCodium/User/keybindings.json"
# Install extensions
cat ${HOME}/.config/VSCodium/User/vscode-extensions.list | xargs -L 1 code --install-extension
echo ">>> Setting up Pandoc environment" echo ">>> Setting up Pandoc environment"
eval "$(/usr/libexec/path_helper)" eval "$(/usr/libexec/path_helper)"
cabal install pandoc-include pandoc-include-code pandoc-plantuml-diagrams cabal install pandoc-include pandoc-include-code pandoc-plantuml-diagrams
## Set up BitBar ## Set up BitBar
defaults write com.matryer.BitBar pluginsDirectory "~/.config/BitBar/" defaults write com.matryer.BitBar pluginsDirectory "${HOME}/.config/BitBar/"
## Set zsh from brew as default shell ## Set zsh from brew as default shell
echo ">>> Setting /usr/local/bin/zsh as default shell for $USER" echo ">>> Setting /usr/local/bin/zsh as default shell for ${USER}"
sudo chsh -s /usr/local/bin/zsh $USER sudo chsh -s /usr/local/bin/zsh ${USER}