Skip to content

Instantly share code, notes, and snippets.

@fmoliveira
Forked from ChristopherBiscardi/.yabairc
Created January 16, 2023 23:36
Show Gist options
  • Save fmoliveira/47d2e2d6b5ac608f199ec2e7a34c0ba8 to your computer and use it in GitHub Desktop.
Save fmoliveira/47d2e2d6b5ac608f199ec2e7a34c0ba8 to your computer and use it in GitHub Desktop.
What VSCode theme is that? youtube video
# the scripting-addition must be loaded manually if
# you are running yabai on macOS Big Sur. Uncomment
# the following line to have the injection performed
# when the config is executed during startup.
#
# for this to work you must configure sudo such that
# it will be able to run the command without password
sudo yabai --load-sa
yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa"
# .. more yabai startup stuff
yabai -m config layout bsp
yabai -m config top_padding 16
yabai -m config bottom_padding 16
yabai -m config left_padding 16
yabai -m config right_padding 16
yabai -m config window_gap 8
yabai -m config window_shadow off
alias s = git status -sb
alias g = git
alias ga = git add
alias gaa = git add --all
alias gapa = git add --patch
alias gau = git add --update
alias gb = git branch
alias gba = git branch -a
alias gbd = git branch -d
alias gbl = git blame -b -w
alias gbnm = git branch --no-merged
alias gbr = git branch --remote
alias gbs = git bisect
alias gbsb = git bisect bad
alias gbsg = git bisect good
alias gbsr = git bisect reset
alias gbss = git bisect start
alias gc = git commit -v
alias gc! = git commit -v --amend
alias gca = git commit -v -a
alias gca! = git commit -v -a --amend
alias gcam = git commit -a -m
alias gcan! = git commit -v -a --no-edit --amend
alias gcans! = git commit -v -a -s --no-edit --amend
alias gcb = git checkout -b
alias gcd = git checkout develop
alias gcf = git config --list
alias gcl = git clone --recursive
alias gclean = git clean -fd
alias gcm = git checkout master
alias gcmsg = git commit -m
alias gcn! = git commit -v --no-edit --amend
alias gco = git checkout
alias gcount = git shortlog -sn
alias gcp = git cherry-pick
alias gcpa = git cherry-pick --abort
alias gcpc = git cherry-pick --continue
alias gcs = git commit -S
alias gcsm = git commit -s -m
alias gd = git diff
alias gdca = git diff --cached
alias gdt = git diff-tree --no-commit-id --name-only -r
alias gdw = git diff --word-diff
alias gf = git fetch
alias gfa = git fetch --all --prune
alias gfo = git fetch origin
alias gg = git gui citool
alias gga = git gui citool --amend
alias ggpull = git pull origin (git_current_branch)
alias ggpur = ggu
alias ggpush = git push origin (git_current_branch)
alias ggsup = git branch --set-upstream-to=origin/(git_current_branch)
alias ghh = git help
alias gignore = git update-index --assume-unchanged
alias gk = gitk --all --branches
alias gke = gitk --all (git log -g --pretty=%h)
alias gl = git pull
alias glg = git log --stat
alias glgg = git log --graph
alias glgga = git log --graph --decorate --all
alias glgm = git log --graph --max-count=10
alias glgp = git log --stat -p
alias glo = git log --oneline --decorate
alias globurl = noglob urlglobber
alias glog = git log --oneline --decorate --graph
alias gloga = git log --oneline --decorate --graph --all
alias glol = git log --graph --pretty=\%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset\ --abbrev-commit
alias glola = git log --graph --pretty=\%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset\ --abbrev-commit --all
alias glp = _git_log_prettily
alias glum = git pull upstream master
alias gm = git merge
alias gmom = git merge origin/master
alias gmt = git mergetool --no-prompt
alias gmtvim = git mergetool --no-prompt --tool=vimdiff
alias gmum = git merge upstream/master
alias gp = git push
alias gpd = git push --dry-run
alias gpoat = git push origin --all && git push origin --tags
alias gpristine = git reset --hard && git clean -dfx
alias gpsup = git push --set-upstream origin (git_current_branch)
alias gpu = git push upstream
alias gpv = git push -v
alias gr = git remote
alias gra = git remote add
alias grb = git rebase
alias grba = git rebase --abort
alias grbc = git rebase --continue
alias grbi = git rebase -i
alias grbm = git rebase master
alias grbs = git rebase --skip
alias grep = grep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn}
alias grh = git reset HEAD
alias grhh = git reset HEAD --hard
alias grmv = git remote rename
alias grrm = git remote remove
alias grset = git remote set-url
alias grt = cd (git rev-parse --show-toplevel || echo ".")
alias gru = git reset --
alias grup = git remote update
alias grv = git remote -v
alias gsb = git status -sb
alias gsd = git svn dcommit
alias gsi = git submodule init
alias gsps = git show --pretty=short --show-signature
alias gsr = git svn rebase
alias gss = git status -s
alias gst = git status
alias gsta = git stash save
alias gstaa = git stash apply
alias gstc = git stash clear
alias gstd = git stash drop
alias gstl = git stash list
alias gstp = git stash pop
alias gsts = git stash show --text
alias gsu = git submodule update
alias gts = git tag -s
alias gtv = (git tag | sort -V)
alias gunignore = git update-index --no-assume-unchanged
alias gup = git pull --rebase
alias gupv = git pull --rebase -v
alias gwch = git whatchanged -p --abbrev-commit --pretty=medium
{
"explorer.confirmDragAndDrop": false,
"workbench.colorTheme": "Night Owl",
"workbench.colorCustomizations": {
"terminal.background": "#01111e"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.formatOnSave": true,
"breadcrumbs.enabled": false,
"go.useLanguageServer": true,
"editor.multiCursorModifier": "alt",
"editor.renderLineHighlight": "gutter",
"editor.cursorStyle": "underline-thin",
"editor.fontFamily": "\"Meslo LG L DZ for Powerline\", serif, Menlo, Monaco, 'Courier New', monospace",
"editor.minimap.enabled": false,
"editor.wordBasedSuggestions": false,
"editor.quickSuggestionsDelay": 5000,
"editor.hover.enabled": false,
"editor.quickSuggestions": {
"comments": "off",
"strings": "off",
"other": "off"
},
"editor.parameterHints.enabled": false,
"explorer.confirmDelete": false,
"editor.overviewRulerBorder": false,
"editor.scrollbar.verticalScrollbarSize": 0,
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.renderWhitespace": "none",
"window.title": " ",
"editor.scrollbar.horizontal": "hidden",
"editor.scrollbar.vertical": "hidden",
"workbench.sideBar.location": "right",
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"security.workspace.trust.enabled": false,
"rust-analyzer.inlayHints.maxLength": null,
"rust-analyzer.server.extraEnv": {
"DATABASE_URL": "mysql://127.0.0.1:3306"
},
"rust-analyzer.inlayHints.enable": true,
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"workbench.tree.renderIndentGuides": "none",
"editor.guides.indentation": false,
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"workbench.statusBar.visible": false,
"workbench.activityBar.visible": false,
"workbench.layoutControl.enabled": false,
"zenMode.centerLayout": false,
// "window.titleBarStyle": "native",
// "customizeUI.titleBar": "",
"customizeUI.stylesheet": {
".actions-container[aria-label='Editor actions']": "display: none !important;",
".editor-actions": "outline: none !important;"
},
"json.schemas": [],
"aws.profile": "profile:rust-adventure",
"editor.inlayHints.enabled": "off",
"rust-analyzer.imports.granularity.enforce": true,
"editor.suggest.showMethods": true,
"editor.suggest.preview": true,
"editor.acceptSuggestionOnEnter": "on",
"editor.snippetSuggestions": "top",
"wgsl-analyzer.server.path": "/Users/chris/.cargo/bin/wgsl_analyzer",
"wgsl-analyzer.inlayHints.enabled": true,
"wgsl-analyzer.inlayHints.typeHints": true,
"wgsl-analyzer.inlayHints.parameterHints": true,
"wgsl-analyzer.inlayHints.structLayoutHints": false,
"wgsl-analyzer.inlayHints.typeVerbosity": "compact",
"wgsl-analyzer.customImports": {
"bevy_pbr::clustered_forward": "file:///Users/chris/github/bevyengine/bevy/crates/bevy_pbr/src/render/clustered_forward.wgsl",
"bevy_pbr::mesh_bindings": "file:///Users/chris/github/bevyengine/bevy/crates/bevy_pbr/src/render/mesh_bindings.wgsl",
"bevy_pbr::mesh_functions": "file:///Users/chris/github/bevyengine/bevy/crates/bevy_pbr/src/render/mesh_functions.wgsl",
"bevy_pbr::mesh_types": "file:///Users/chris/github/bevyengine/bevy/crates/bevy_pbr/src/render/mesh_types.wgsl",
"bevy_pbr::mesh_vertex_output": "file:///Users/chris/github/bevyengine/bevy/crates/bevy_pbr/src/render/mesh_vertex_output.wgsl",
"bevy_pbr::mesh_view_bindings": "file:///Users/chris/github/bevyengine/bevy/crates/bevy_pbr/src/render/mesh_view_bindings.wgsl",
"bevy_pbr::mesh_view_types": "file:///Users/chris/github/bevyengine/bevy/crates/bevy_pbr/src/render/mesh_view_types.wgsl",
"bevy_pbr::pbr_bindings": "file:///Users/chris/github/bevyengine/bevy/crates/bevy_pbr/src/render/pbr_bindings.wgsl",
"bevy_pbr::pbr_functions": "file:///Users/chris/github/bevyengine/bevy/crates/bevy_pbr/src/render/pbr_functions.wgsl",
"bevy_pbr::lighting": "file:///Users/chris/github/bevyengine/bevy/crates/bevy_pbr/src/render/pbr_lighting.wgsl",
"bevy_pbr::pbr_types": "file:///Users/chris/github/bevyengine/bevy/crates/bevy_pbr/src/render/pbr_types.wgsl",
"bevy_pbr::shadows": "file:///Users/chris/github/bevyengine/bevy/crates/bevy_pbr/src/render/shadows.wgsl",
"bevy_pbr::skinning": "file:///Users/chris/github/bevyengine/bevy/crates/bevy_pbr/src/render/skinning.wgsl",
"bevy_pbr::utils": "file:///Users/chris/github/bevyengine/bevy/crates/bevy_pbr/src/render/utils.wgsl",
"bevy_sprite::mesh2d_bindings": "file:///Users/chris/github/bevyengine/bevy/crates/bevy_sprite/src/mesh2d/mesh2d_bindings.wgsl",
"bevy_sprite::mesh2d_functions": "file:///Users/chris/github/bevyengine/bevy/crates/bevy_sprite/src/mesh2d/mesh2d_functions.wgsl",
"bevy_sprite::mesh2d_types": "file:///Users/chris/github/bevyengine/bevy/crates/bevy_sprite/src/mesh2d/mesh2d_types.wgsl",
"bevy_sprite::mesh2d_vertex_output": "file:///Users/chris/github/bevyengine/bevy/crates/bevy_sprite/src/mesh2d/mesh2d_vertex_output.wgsl",
"bevy_sprite::mesh2d_view_bindings": "file:///Users/chris/github/bevyengine/bevy/crates/bevy_sprite/src/mesh2d/mesh2d_view_bindings.wgsl",
"bevy_sprite::mesh2d_view_types": "file:///Users/chris/github/bevyengine/bevy/crates/bevy_sprite/src/mesh2d/mesh2d_view_types.wgsl",
"bevy_shader_utils::perlin_noise_2d": "file:///Users/chris/github/rust-adventure/bevy-examples/libs/bevy_shader_utils/shaders/perlin_noise_2d.wgsl",
"bevy_shader_utils::perlin_noise_3d": "file:///Users/chris/github/rust-adventure/bevy-examples/libs/bevy_shader_utils/shaders/perlin_noise_3d.wgsl",
"bevy_shader_utils::simplex_noise_2d": "file:///Users/chris/github/rust-adventure/bevy-examples/libs/bevy_shader_utils/shaders/simplex_noise_2d.wgsl",
"bevy_shader_utils::simplex_noise_3d": "file:///Users/chris/github/rust-adventure/bevy-examples/libs/bevy_shader_utils/shaders/simplex_noise_3d.wgsl",
"bevy_shader_utils::voro_noise_2d": "file:///Users/chris/github/rust-adventure/bevy-examples/libs/bevy_shader_utils/shaders/voro_noise_2d.wgsl",
"bevy_shader_utils::fbm": "file:///Users/chris/github/rust-adventure/bevy-examples/libs/bevy_shader_utils/shaders/fbm.wgsl"
},
"wgsl-analyzer.preprocessor.shaderDefs": [
"VERTEX_UVS",
"VERTEX_TANGENTS",
"VERTEX_COLORS",
"SKINNED",
"STANDARDMATERIAL_NORMAL_MAP"
],
"editor.experimental.stickyScroll.enabled": false,
"window.zoomLevel": 6
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment