layout for gnu stow
This commit is contained in:
@ -50,57 +50,57 @@
|
|||||||
"command": "workbench.files.action.focusFilesExplorer"
|
"command": "workbench.files.action.focusFilesExplorer"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "cmd+n",
|
"key": "ctrl+n",
|
||||||
"command": "explorer.newFile",
|
"command": "explorer.newFile",
|
||||||
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
|
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "cmd+d",
|
"key": "ctrl+d",
|
||||||
"command": "explorer.newFolder",
|
"command": "explorer.newFolder",
|
||||||
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
|
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
|
||||||
},
|
},
|
||||||
// ----------------- 3. SYMBOL MANAGEMENT ----------------
|
// ----------------- 3. SYMBOL MANAGEMENT ----------------
|
||||||
{
|
{
|
||||||
"key": "shift+cmd+r",
|
"key": "shift+ctrl+r",
|
||||||
"command": "editor.action.rename",
|
"command": "editor.action.rename",
|
||||||
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly"
|
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "shift+cmd+i",
|
"key": "shift+ctrl+i",
|
||||||
"command": "editor.action.peekImplementation",
|
"command": "editor.action.peekImplementation",
|
||||||
"when": "editorHasImplementationProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
|
"when": "editorHasImplementationProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "shift+cmd+d",
|
"key": "shift+ctrl+d",
|
||||||
"command": "editor.action.revealDefinition",
|
"command": "editor.action.revealDefinition",
|
||||||
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
|
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
|
||||||
},
|
},
|
||||||
// ------------- 4. VARIOUS EDITOR SHORTCUTS -------------
|
// ------------- 4. VARIOUS EDITOR SHORTCUTS -------------
|
||||||
{
|
{
|
||||||
"key": "cmd+d",
|
"key": "ctrl+d",
|
||||||
"command": "editor.action.copyLinesDownAction",
|
"command": "editor.action.copyLinesDownAction",
|
||||||
"when": "editorTextFocus && !editorReadonly"
|
"when": "editorTextFocus && !editorReadonly"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "cmd+t",
|
"key": "ctrl+t",
|
||||||
"command": "workbench.action.createTerminalEditor"
|
"command": "workbench.action.createTerminalEditor"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "cmd+u",
|
"key": "ctrl+u",
|
||||||
"command": "workbench.action.showAllSymbols"
|
"command": "workbench.action.showAllSymbols"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "cmd+r",
|
"key": "ctrl+r",
|
||||||
"command": "editor.action.startFindReplaceAction",
|
"command": "editor.action.startFindReplaceAction",
|
||||||
"when": "editorFocus && findInputFocussed"
|
"when": "editorFocus && findInputFocussed"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "shift+cmd+w",
|
"key": "shift+ctrl+w",
|
||||||
"command": "workbench.action.closeAllGroups"
|
"command": "workbench.action.closeAllGroups"
|
||||||
},
|
},
|
||||||
// ----------------- 4. REMOVED SHORTCUTS ----------------
|
// ----------------- 4. REMOVED SHORTCUTS ----------------
|
||||||
{
|
{
|
||||||
"key": "cmd+d",
|
"key": "ctrl+d",
|
||||||
"command": "-editor.action.addSelectionToNextFindMatch",
|
"command": "-editor.action.addSelectionToNextFindMatch",
|
||||||
"when": "editorFocus"
|
"when": "editorFocus"
|
||||||
},
|
},
|
||||||
@ -110,28 +110,28 @@
|
|||||||
"when": "editorTextFocus && !editorReadonly"
|
"when": "editorTextFocus && !editorReadonly"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "cmd+t",
|
"key": "ctrl+t",
|
||||||
"command": "-workbench.action.showAllSymbols"
|
"command": "-workbench.action.showAllSymbols"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "cmd+u",
|
"key": "ctrl+u",
|
||||||
"command": "-cursorUndo",
|
"command": "-cursorUndo",
|
||||||
"when": "textInputFocus"
|
"when": "textInputFocus"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "cmd+k down",
|
"key": "ctrl+k down",
|
||||||
"command": "-workbench.action.moveActiveEditorGroupDown"
|
"command": "-workbench.action.moveActiveEditorGroupDown"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "cmd+k left",
|
"key": "ctrl+k left",
|
||||||
"command": "-workbench.action.moveActiveEditorGroupLeft"
|
"command": "-workbench.action.moveActiveEditorGroupLeft"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "cmd+k right",
|
"key": "ctrl+k right",
|
||||||
"command": "-workbench.action.moveActiveEditorGroupRight"
|
"command": "-workbench.action.moveActiveEditorGroupRight"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "cmd+k up",
|
"key": "ctrl+k up",
|
||||||
"command": "-workbench.action.moveActiveEditorGroupUp"
|
"command": "-workbench.action.moveActiveEditorGroupUp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -150,20 +150,20 @@
|
|||||||
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly"
|
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "shift+cmd+r",
|
"key": "shift+ctrl+r",
|
||||||
"command": "-rerunSearchEditorSearch",
|
"command": "-rerunSearchEditorSearch",
|
||||||
"when": "inSearchEditor"
|
"when": "inSearchEditor"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "shift+cmd+w",
|
"key": "shift+ctrl+w",
|
||||||
"command": "-workbench.action.closeWindow"
|
"command": "-workbench.action.closeWindow"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "cmd+k shift+cmd+w",
|
"key": "ctrl+k shift+ctrl+w",
|
||||||
"command": "-workbench.action.closeAllGroups"
|
"command": "-workbench.action.closeAllGroups"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "shift+cmd+d",
|
"key": "shift+ctrl+d",
|
||||||
"command": "-workbench.view.debug",
|
"command": "-workbench.view.debug",
|
||||||
"when": "viewContainer.workbench.view.debug.enabled"
|
"when": "viewContainer.workbench.view.debug.enabled"
|
||||||
},
|
},
|
||||||
@ -173,26 +173,26 @@
|
|||||||
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
|
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "shift+cmd+[Comma] cmd+i",
|
"key": "shift+ctrl+[Comma] ctrl+i",
|
||||||
"command": "-testing.toggleInlineTestOutput"
|
"command": "-testing.toggleInlineTestOutput"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "shift+cmd+i",
|
"key": "shift+ctrl+i",
|
||||||
"command": "-workbench.action.quickchat.toggle",
|
"command": "-workbench.action.quickchat.toggle",
|
||||||
"when": "hasChatProvider"
|
"when": "hasChatProvider"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "shift+cmd+[Comma] shift+cmd+i",
|
"key": "shift+ctrl+[Comma] shift+ctrl+i",
|
||||||
"command": "-testing.toggleInlineCoverage",
|
"command": "-testing.toggleInlineCoverage",
|
||||||
"when": "testing.isTestCoverageOpen"
|
"when": "testing.isTestCoverageOpen"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "cmd+f12",
|
"key": "ctrl+f12",
|
||||||
"command": "-editor.action.goToImplementation",
|
"command": "-editor.action.goToImplementation",
|
||||||
"when": "editorHasImplementationProvider && editorTextFocus && !isInEmbeddedEditor"
|
"when": "editorHasImplementationProvider && editorTextFocus && !isInEmbeddedEditor"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "shift+cmd+f12",
|
"key": "shift+ctrl+f12",
|
||||||
"command": "-editor.action.peekImplementation",
|
"command": "-editor.action.peekImplementation",
|
||||||
"when": "editorHasImplementationProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
|
"when": "editorHasImplementationProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
|
||||||
},
|
},
|
||||||
@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Appearance
|
// Appearance
|
||||||
"workbench.colorTheme": "Monokai Pro (Filter Octagon)",
|
"workbench.colorTheme": "Monokai Pro",
|
||||||
"workbench.iconTheme": "Monokai Pro (Filter Octagon) Icons",
|
"workbench.iconTheme": "Monokai Pro Icons",
|
||||||
"editor.fontFamily": "Fira Code, Menlo, Monaco, 'Courier New', monospace",
|
"editor.fontFamily": "Fira Code, Menlo, Monaco, 'Courier New', monospace",
|
||||||
"editor.fontSize": 18,
|
"editor.fontSize": 18,
|
||||||
"editor.fontWeight": "normal",
|
"editor.fontWeight": "normal",
|
||||||
@ -11,6 +11,7 @@
|
|||||||
"editor.minimap.renderCharacters": false,
|
"editor.minimap.renderCharacters": false,
|
||||||
"editor.suggestSelection": "first",
|
"editor.suggestSelection": "first",
|
||||||
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
|
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
|
||||||
|
"window.titleBarStyle": "custom",
|
||||||
//
|
//
|
||||||
// Excluded files and directories
|
// Excluded files and directories
|
||||||
"files.exclude": {
|
"files.exclude": {
|
||||||
155
.config/gSnap/layouts.json
Normal file
155
.config/gSnap/layouts.json
Normal file
@ -0,0 +1,155 @@
|
|||||||
|
{
|
||||||
|
"workspaces": [
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"current": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"current": 3
|
||||||
|
}
|
||||||
|
],
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"current": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"current": 3
|
||||||
|
}
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"definitions": [
|
||||||
|
{
|
||||||
|
"name": "None",
|
||||||
|
"type": 0,
|
||||||
|
"length": 100,
|
||||||
|
"items": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Default Monitor 0",
|
||||||
|
"type": 0,
|
||||||
|
"length": 100,
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"length": 33.358974358974365,
|
||||||
|
"items": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"length": 66.64102564102564,
|
||||||
|
"items": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name" : "Default Monitor 1",
|
||||||
|
"type" : 1,
|
||||||
|
"length": 100,
|
||||||
|
"items" : [
|
||||||
|
{
|
||||||
|
"length": 38
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"length" : 62
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "2 Column Split",
|
||||||
|
"type": 0,
|
||||||
|
"length": 100,
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"type": 1,
|
||||||
|
"length": 50,
|
||||||
|
"items": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": 1,
|
||||||
|
"length": 50,
|
||||||
|
"items": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "3 Column",
|
||||||
|
"type": 0,
|
||||||
|
"length": 100,
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"type": 1,
|
||||||
|
"length": 33,
|
||||||
|
"items": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": 1,
|
||||||
|
"length": 34,
|
||||||
|
"items": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": 1,
|
||||||
|
"length": 33,
|
||||||
|
"items": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "3 Column (Focused)",
|
||||||
|
"type": 0,
|
||||||
|
"length": 100,
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"type": 1,
|
||||||
|
"length": 25,
|
||||||
|
"items": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": 1,
|
||||||
|
"length": 50,
|
||||||
|
"items": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": 1,
|
||||||
|
"length": 25,
|
||||||
|
"items": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "3 Columns (Custom)",
|
||||||
|
"type": 0,
|
||||||
|
"length": 100,
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"type": 1,
|
||||||
|
"length": 42,
|
||||||
|
"items": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": 1,
|
||||||
|
"length": 16,
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"type": 0,
|
||||||
|
"length": 33,
|
||||||
|
"items": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": 0,
|
||||||
|
"length": 34,
|
||||||
|
"items": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": 0,
|
||||||
|
"length": 33,
|
||||||
|
"items": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": 1,
|
||||||
|
"length": 42,
|
||||||
|
"items": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@ -70,7 +70,7 @@ DISABLE_UNTRACKED_FILES_DIRTY="true"
|
|||||||
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
|
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
|
||||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||||
# Add wisely, as too many plugins slow down shell startup.
|
# Add wisely, as too many plugins slow down shell startup.
|
||||||
plugins=(git zsh-autosuggestions macos pip pyenv docker autojump colorize copyfile brew)
|
plugins=(git zsh-autosuggestions macos pip pyenv docker colorize copyfile brew)
|
||||||
|
|
||||||
source $ZSH/oh-my-zsh.sh
|
source $ZSH/oh-my-zsh.sh
|
||||||
|
|
||||||
@ -100,11 +100,20 @@ fi
|
|||||||
# alias zshconfig="mate ~/.zshrc"
|
# alias zshconfig="mate ~/.zshrc"
|
||||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||||
|
|
||||||
|
# pyenv stuff
|
||||||
export PYENV_ROOT="$HOME/.pyenv"
|
export PYENV_ROOT="$HOME/.pyenv"
|
||||||
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
|
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
|
||||||
eval "$(pyenv init -)"
|
eval "$(pyenv init -)"
|
||||||
eval "$(pyenv virtualenv-init -)"
|
eval "$(pyenv virtualenv-init -)"
|
||||||
|
|
||||||
|
# Reboot to Windows
|
||||||
|
reboot_windows()
|
||||||
|
{
|
||||||
|
windows_title=$(grep -i windows /boot/grub/grub.cfg | cut -d "'" -f 2)
|
||||||
|
sudo grub-reboot "$windows_title" && sudo reboot
|
||||||
|
}
|
||||||
|
alias reboot-windows='reboot_windows'
|
||||||
|
|
||||||
# Command aliases
|
# Command aliases
|
||||||
alias py=python3
|
alias py=python3
|
||||||
alias ll="ls -lah"
|
alias ll="ls -lah"
|
||||||
@ -124,6 +133,7 @@ alias home="cd ~"
|
|||||||
alias userchrome="$EDITOR /Users/paul/Library/Application\ Support/Firefox/Profiles/k37hu3wo.default-release/chrome/userChrome.css"
|
alias userchrome="$EDITOR /Users/paul/Library/Application\ Support/Firefox/Profiles/k37hu3wo.default-release/chrome/userChrome.css"
|
||||||
alias kw='echo Current Week: $((10#$(date +"%V")))'
|
alias kw='echo Current Week: $((10#$(date +"%V")))'
|
||||||
alias wol=wakeonlan
|
alias wol=wakeonlan
|
||||||
|
alias ge=gnome-extensions
|
||||||
|
|
||||||
# Python tkinter stuff
|
# Python tkinter stuff
|
||||||
export PATH="/usr/local/opt/tcl-tk/bin:$PATH"
|
export PATH="/usr/local/opt/tcl-tk/bin:$PATH"
|
||||||
@ -142,19 +152,23 @@ alias mount-ds='[ -e "/Volumes/pauls-dateien" ] || open "smb://paul@192.168.193.
|
|||||||
|
|
||||||
# vscode shortcuts
|
# vscode shortcuts
|
||||||
alias ma="code --folder-uri=vscode-remote://ssh-remote+sralab/home/2021/pau.aumann/ma"
|
alias ma="code --folder-uri=vscode-remote://ssh-remote+sralab/home/2021/pau.aumann/ma"
|
||||||
alias ws="code ~/Code/wasteside-v2"
|
alias ws="code ~/code/wasteside"
|
||||||
|
|
||||||
# iTerm2 integration
|
# iTerm2 integration
|
||||||
source ~/.iterm2_shell_integration.zsh
|
# source ~/.iterm2_shell_integration.zsh
|
||||||
|
|
||||||
# history
|
# history
|
||||||
HISTFILE=~/.histfile
|
HISTFILE=~/.histfile
|
||||||
HISTSIZE=10000
|
HISTSIZE=10000
|
||||||
SAVEHIST=10000
|
SAVEHIST=10000
|
||||||
|
|
||||||
|
# reload "blur my shell"
|
||||||
|
alias blur-my-shell="gnome-extensions disable blur-my-shell@aunetx && gnome-extensions enable blur-my-shell@aunetx"
|
||||||
|
alias bms=blur-my-shell
|
||||||
|
|
||||||
# zoxide
|
# zoxide
|
||||||
eval "$(zoxide init --cmd cd zsh)"
|
eval "$(zoxide init --cmd cd zsh)"
|
||||||
|
|
||||||
# SDKMAN & Java
|
# SDKMAN & Java
|
||||||
export SDKMAN_DIR="$HOME/.sdkman"
|
export SDKMAN_DIR="$HOME/.sdkman"
|
||||||
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
|
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
|
||||||
Reference in New Issue
Block a user