Initial commit
This commit is contained in:
commit
f5cd11a30e
3 changed files with 254 additions and 0 deletions
128
.zshrc
Normal file
128
.zshrc
Normal file
|
@ -0,0 +1,128 @@
|
||||||
|
# If you come from bash you might have to change your $PATH.
|
||||||
|
# export PATH=$HOME/bin:/usr/local/bin:$PATH
|
||||||
|
|
||||||
|
# Path to your oh-my-zsh installation.
|
||||||
|
export ZSH="/home/thomas/.oh-my-zsh"
|
||||||
|
|
||||||
|
alias vim="nvim"
|
||||||
|
alias cat="bat"
|
||||||
|
# Set name of the theme to load --- if set to "random", it will
|
||||||
|
# load a random theme each time oh-my-zsh is loaded, in which case,
|
||||||
|
# to know which specific one was loaded, run: echo $RANDOM_THEME
|
||||||
|
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
|
||||||
|
ZSH_THEME=spaceship
|
||||||
|
|
||||||
|
# ZSH_THEME=geoffgarside
|
||||||
|
SPACESHIP_PACKAGE_SHOW=true
|
||||||
|
SPACESHIP_TIME_SHOW=true
|
||||||
|
SPACESHIP_NODE_SHOW=false
|
||||||
|
SPACESHIP_PACKAGE_SYMBOL=""
|
||||||
|
SPACESHIP_PACKAGE_COLOR="#e08009"
|
||||||
|
SPACESHIP_GIT_BRANCH_COLOR="#00aae0"
|
||||||
|
SPACESHIP_DIR_COLOR="#18e000"
|
||||||
|
SPACESHIP_TIME_COLOR="#bde000"
|
||||||
|
SPACESHIP_EXEC_TIME_SHOW=true
|
||||||
|
|
||||||
|
# Set list of themes to pick from when loading at random
|
||||||
|
# Setting this variable when ZSH_THEME=random will cause zsh to load
|
||||||
|
# a theme from this variable instead of looking in $ZSH/themes/
|
||||||
|
# If set to an empty array, this variable will have no effect.
|
||||||
|
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
|
||||||
|
|
||||||
|
# Uncomment the following line to use case-sensitive completion.
|
||||||
|
# CASE_SENSITIVE="true"
|
||||||
|
|
||||||
|
# Uncomment the following line to use hyphen-insensitive completion.
|
||||||
|
# Case-sensitive completion must be off. _ and - will be interchangeable.
|
||||||
|
# HYPHEN_INSENSITIVE="true"
|
||||||
|
|
||||||
|
# Uncomment the following line to disable bi-weekly auto-update checks.
|
||||||
|
# DISABLE_AUTO_UPDATE="true"
|
||||||
|
|
||||||
|
# Uncomment the following line to automatically update without prompting.
|
||||||
|
# DISABLE_UPDATE_PROMPT="true"
|
||||||
|
|
||||||
|
# Uncomment the following line to change how often to auto-update (in days).
|
||||||
|
# export UPDATE_ZSH_DAYS=13
|
||||||
|
|
||||||
|
# Uncomment the following line if pasting URLs and other text is messed up.
|
||||||
|
# DISABLE_MAGIC_FUNCTIONS="true"
|
||||||
|
|
||||||
|
# Uncomment the following line to disable colors in ls.
|
||||||
|
# DISABLE_LS_COLORS="true"
|
||||||
|
|
||||||
|
# Uncomment the following line to disable auto-setting terminal title.
|
||||||
|
# DISABLE_AUTO_TITLE="true"
|
||||||
|
|
||||||
|
# Uncomment the following line to enable command auto-correction.
|
||||||
|
# ENABLE_CORRECTION="true"
|
||||||
|
|
||||||
|
# Uncomment the following line to display red dots whilst waiting for completion.
|
||||||
|
# Caution: this setting can cause issues with multiline prompts (zsh 5.7.1 and newer seem to work)
|
||||||
|
# See https://github.com/ohmyzsh/ohmyzsh/issues/5765
|
||||||
|
# COMPLETION_WAITING_DOTS="true"
|
||||||
|
|
||||||
|
# Uncomment the following line if you want to disable marking untracked files
|
||||||
|
# under VCS as dirty. This makes repository status check for large repositories
|
||||||
|
# much, much faster.
|
||||||
|
# DISABLE_UNTRACKED_FILES_DIRTY="true"
|
||||||
|
|
||||||
|
# Uncomment the following line if you want to change the command execution time
|
||||||
|
# stamp shown in the history command output.
|
||||||
|
# You can set one of the optional three formats:
|
||||||
|
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
|
||||||
|
# or set a custom format using the strftime function format specifications,
|
||||||
|
# see 'man strftime' for details.
|
||||||
|
# HIST_STAMPS="mm/dd/yyyy"
|
||||||
|
|
||||||
|
# Would you like to use another custom folder than $ZSH/custom?
|
||||||
|
# ZSH_CUSTOM=/path/to/new-custom-folder
|
||||||
|
|
||||||
|
# Which plugins would you like to load?
|
||||||
|
# Standard plugins can be found in $ZSH/plugins/
|
||||||
|
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
|
||||||
|
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||||
|
# Add wisely, as too many plugins slow down shell startup.
|
||||||
|
plugins=(git zsh-syntax-highlighting)
|
||||||
|
|
||||||
|
source $ZSH/oh-my-zsh.sh
|
||||||
|
|
||||||
|
# User configuration
|
||||||
|
|
||||||
|
# Prompt on new line
|
||||||
|
prompt_end() {
|
||||||
|
if [[ -n $CURRENT_BG ]]; then
|
||||||
|
echo -n " %{%k%F{$CURRENT_BG}%}$SEGMENT_SEPARATOR"
|
||||||
|
else
|
||||||
|
echo -n "%{%k%}"
|
||||||
|
fi
|
||||||
|
echo -n "\n%{%F{$CURRENT_BG}%}$SEGMENT_SEPARATOR%{%f%}"
|
||||||
|
CURRENT_BG=''
|
||||||
|
}
|
||||||
|
|
||||||
|
# export MANPATH="/usr/local/man:$MANPATH"
|
||||||
|
|
||||||
|
# You may need to manually set your language environment
|
||||||
|
# export LANG=en_US.UTF-8
|
||||||
|
|
||||||
|
# Preferred editor for local and remote sessions
|
||||||
|
# if [[ -n $SSH_CONNECTION ]]; then
|
||||||
|
# export EDITOR='vim'
|
||||||
|
# else
|
||||||
|
# export EDITOR='mvim'
|
||||||
|
# fi
|
||||||
|
|
||||||
|
# Compilation flags
|
||||||
|
# export ARCHFLAGS="-arch x86_64"
|
||||||
|
|
||||||
|
# Set personal aliases, overriding those provided by oh-my-zsh libs,
|
||||||
|
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
|
||||||
|
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
|
||||||
|
# For a full list of active aliases, run `alias`.
|
||||||
|
#
|
||||||
|
# Example aliases
|
||||||
|
# alias zshconfig="mate ~/.zshrc"
|
||||||
|
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||||
|
BROWSER=/usr/bin/google-chrome-stable
|
||||||
|
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
|
||||||
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
39
vscode/keybindings.json
Normal file
39
vscode/keybindings.json
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
// Place your key bindings in this file to override the defaults
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"key": "ctrl+h",
|
||||||
|
"command": "workbench.action.navigateLeft"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "ctrl+l",
|
||||||
|
"command": "workbench.action.navigateRight"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "ctrl+k",
|
||||||
|
"command": "workbench.action.navigateUp"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "ctrl+j",
|
||||||
|
"command": "workbench.action.navigateDown"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "ctrl+m",
|
||||||
|
"command": "workbench.action.previousEditor"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "ctrl+n",
|
||||||
|
"command": "workbench.action.nextEditor"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "ctrl+f",
|
||||||
|
"command": "actions.find"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "ctrl+oem_8",
|
||||||
|
"command": "workbench.action.toggleSidebarVisibility"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "ctrl+b",
|
||||||
|
"command": "-workbench.action.toggleSidebarVisibility"
|
||||||
|
}
|
||||||
|
]
|
87
vscode/settings.json
Normal file
87
vscode/settings.json
Normal file
|
@ -0,0 +1,87 @@
|
||||||
|
{
|
||||||
|
"editor.fontFamily": "Jetbrains Mono",
|
||||||
|
"editor.fontLigatures": true,
|
||||||
|
"editor.fontSize": 12,
|
||||||
|
"editor.fontWeight": 400,
|
||||||
|
"editor.formatOnPaste": false,
|
||||||
|
"editor.wordWrap": "on",
|
||||||
|
"terminal.integrated.fontFamily": "Jetbrains Mono",
|
||||||
|
"terminal.integrated.fontSize": 12,
|
||||||
|
"terminal.integrated.fontWeight": "500",
|
||||||
|
"debug.console.fontFamily": "Jetbrains Mono",
|
||||||
|
"debug.console.fontSize": 12,
|
||||||
|
"editor.cursorBlinking": "smooth",
|
||||||
|
"files.trimFinalNewlines": true,
|
||||||
|
"vim.statusBarColorControl": false,
|
||||||
|
"vim.leader": "/",
|
||||||
|
"vim.useSystemClipboard": true,
|
||||||
|
"vim.highlightedyank.enable": true,
|
||||||
|
"vim.highlightedyank.color": "#18e00040",
|
||||||
|
"todo-tree.highlights.defaultHighlight": {
|
||||||
|
"icon": "flame",
|
||||||
|
"type": "text",
|
||||||
|
"foreground": "#e0800980",
|
||||||
|
"gutterIcon": true,
|
||||||
|
"opacity": 50,
|
||||||
|
"iconColour": "#e08009"
|
||||||
|
},
|
||||||
|
|
||||||
|
"markdown-preview-github-styles.colorTheme": "light",
|
||||||
|
"liveServer.settings.donotShowInfoMsg": true,
|
||||||
|
"workbench.iconTheme": "material-icon-theme",
|
||||||
|
"explorer.confirmDragAndDrop": false,
|
||||||
|
"terminal.integrated.defaultProfile.windows": "Ubuntu (WSL)",
|
||||||
|
"[jsonc]": {
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
|
},
|
||||||
|
"workbench.list.smoothScrolling": true,
|
||||||
|
"editor.tokenColorCustomizations": {
|
||||||
|
"textMateRules": [
|
||||||
|
{
|
||||||
|
"scope": "comment",
|
||||||
|
"settings": {
|
||||||
|
"fontStyle": "italic"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"scope": "meta.object-literal.key.js",
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#2f7e25"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"workbench.colorCustomizations": {
|
||||||
|
"scrollbar.shadow": "#ffffff00"
|
||||||
|
},
|
||||||
|
"editor.smoothScrolling": true,
|
||||||
|
"editor.bracketPairColorization.enabled": true,
|
||||||
|
"[html]": {
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
|
},
|
||||||
|
"editor.minimap.enabled": true,
|
||||||
|
"[json]": {
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
|
},
|
||||||
|
"[javascript]": {
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
|
},
|
||||||
|
"[typescript]": {
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
|
},
|
||||||
|
"[javascriptreact]": {
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
|
},
|
||||||
|
"terminal.integrated.tabs.enabled": false,
|
||||||
|
"npm.enableRunFromFolder": true,
|
||||||
|
"security.workspace.trust.untrustedFiles": "open",
|
||||||
|
"gitlens.advanced.messages": {
|
||||||
|
"suppressGitMissingWarning": true
|
||||||
|
},
|
||||||
|
"[shellscript]": {
|
||||||
|
"editor.defaultFormatter": "foxundermoon.shell-format"
|
||||||
|
},
|
||||||
|
"workbench.colorTheme": "Alien Blood ",
|
||||||
|
"workbench.startupEditor": "none",
|
||||||
|
"editor.formatOnSave": true
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue