Update dotfiles for london.

This commit is contained in:
Gabriel Simmer 2021-04-27 22:00:50 +01:00
parent c39560add5
commit d7433cc15a
7 changed files with 181 additions and 11 deletions

3
.gitignore vendored
View file

@ -1,3 +0,0 @@
# Can be fetched from https://dbrand.com/icons/wallpapers
wallpapers/black.png
wallpapers/red.png

View file

@ -5,7 +5,27 @@
"command": ["pipenv", "run", "pyls"],
"scopes": ["source.python"],
"syntaxes": ["Packages/Python/Python.sublime-syntax", "Packages/MagicPython/grammars/MagicPython.tmLanguage", "Packages/Djaneiro/Syntaxes/Python Django.tmLanguage"],
"languageId": "python"
}
}
"languageId": "python",
},
"LSP-typescript":
{
"enabled": false,
},
"LSP-bash":
{
"enabled": false,
},
"LSP-yaml":
{
"enabled": false,
},
"LSP-pyright":
{
"enabled": false,
},
"LSP-intelephense":
{
"enabled": false,
},
},
}

View file

@ -0,0 +1,16 @@
// These settings override both User and Default settings for the Markdown syntax
{
"auto_complete": false,
"ignored_packages": ["Vintage", "Emmet", "SublimeCodeIntel"],
"draw_centered": true,
"spell_check": true,
"tab_completion": false,
"auto_complete_triggers": [],
"word_wrap": true,
"line_numbers": false,
"gutter": false,
"wrap_width": 80,
"word_wrap": true,
"scroll_past_end": true
}

View file

@ -7,6 +7,8 @@
"installed_packages":
[
"Bats",
"COBOL Syntax",
"Discord Rich Presence",
"Dockerfile Syntax Highlighting",
"Emmet",
"GitGutter",
@ -14,6 +16,8 @@
"JSX",
"LSP",
"LSP-bash",
"LSP-intelephense",
"LSP-pyright",
"LSP-typescript",
"LSP-yaml",
"Markdown Extended",
@ -21,9 +25,10 @@
"Rust Enhanced",
"SideBarEnhancements",
"SublimeCodeIntel",
"Terminus",
"Terraform",
"Theme - Monokai Pro",
"TOML",
"TypeScript"
]
"TypeScript",
],
}

View file

@ -6,7 +6,7 @@
"ignored_packages":
[
"Rust",
"Vintage"
"Vintage",
],
"monokai_pro_file_icons": true,
"monokai_pro_highlight_open_folders": true,
@ -18,6 +18,8 @@
[
80
],
"scroll_past_end": false,
"theme": "Monokai Pro (Filter Spectrum).sublime-theme"
"theme": "Monokai Pro (Filter Spectrum).sublime-theme",
"mini_diff": "auto",
"hardware_acceleration": "opengl",
"themed_title_bar": true,
}

View file

@ -0,0 +1,89 @@
local wezterm = require 'wezterm';
return {
automatically_reload_config = true,
font = wezterm.font("IBM Plex Mono"),
window_close_confirmation = "NeverPrompt",
font_size = 12,
initial_cols = 120,
initial_rows = 35,
colors = {
-- The default text color
foreground = "#f7f1ff",
-- The default background color
background = "#222222",
-- Overrides the cell background color when the current cell is occupied by the
-- cursor and the cursor style is set to Block
cursor_bg = "#8b888f",
-- Overrides the text color when the current cell is occupied by the cursor
cursor_fg = "#f7f1ff",
-- Specifies the border color of the cursor when the cursor style is set to Block,
-- of the color of the vertical or horizontal bar when the cursor style is set to
-- Bar or Underline.
cursor_border = "#8b888f",
-- the foreground color of selected text
selection_fg = "#363537",
-- the background color of selected text
selection_bg = "#69676c",
-- The color of the scrollbar "thumb"; the portion that represents the current viewport
scrollbar_thumb = "#222222",
-- The color of the split lines between panes
split = "#fce566",
tab_bar = {
-- The color of the strip that goes along the top of the window
background = "#222222",
-- The active tab is the one that has focus in the window
active_tab = {
-- The color of the background area for the tab
bg_color = "#f7f1ff",
-- The color of the text for the tab
fg_color = "#69676c",
-- Specify whether you want "Half", "Normal" or "Bold" intensity for the
-- label shown for this tab.
-- The default is "Normal"
intensity = "Normal",
-- Specify whether you want "None", "Single" or "Double" underline for
-- label shown for this tab.
-- The default is "None"
underline = "None",
-- Specify whether you want the text to be italic (true) or not (false)
-- for this tab. The default is false.
italic = false,
-- Specify whether you want the text to be rendered with strikethrough (true)
-- or not for this tab. The default is false.
strikethrough = false,
},
-- Inactive tabs are the tabs that do not have focus
inactive_tab = {
bg_color = "#69676c",
fg_color = "#f7f1ff",
-- The same options that were listed under the `active_tab` section above
-- can also be used for `inactive_tab`.
},
-- You can configure some alternate styling when the mouse pointer
-- moves over inactive tabs
inactive_tab_hover = {
bg_color = "#69676c",
fg_color = "#f7f1ff",
italic = true,
-- The same options that were listed under the `active_tab` section above
-- can also be used for `inactive_tab_hover`.
}
}
}
}

41
london/.zshrc Normal file
View file

@ -0,0 +1,41 @@
# 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/gsimmer/.oh-my-zsh"
ZSH_THEME="frisk"
# Uncomment the following line to change how often to auto-update (in days).
# export UPDATE_ZSH_DAYS=13
# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"
plugins=(git fzf zsh-autosuggestions)
source $ZSH/oh-my-zsh.sh
# User configuration
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
export GOPATH="/home/gsimmer/Projects/go"
export PATH="/home/gsimmer/.local/bin:$GOPATH/bin:$PATH"
# Starship init.
#eval "$(starship init zsh)"
# aliases for various Rust-based utils.
if [ $(which exa) != 'exa not found' ]; then
alias ls=exa
fi
if [ $(which bat) != 'bat not found' ]; then
alias cat=bat
fi
if [ $(which rg) != 'rg not found' ]; then
alias grep=rg
fi
source /usr/share/nvm/init-nvm.sh
eval "$(pyenv init -)"