Skip to content

Commit

Permalink
Tweaks and aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
statico committed Nov 12, 2024
1 parent 8345aac commit d04ad02
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitconfig.base
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
am = commit --amend --no-edit
ama = commit --amend --no-edit -a
b = branch
bi = bisect
bnew = checkout -b
ci = commit
cia = commit --amend
Expand Down
4 changes: 4 additions & 0 deletions .vscode-mac.keybindings.json
Original file line number Diff line number Diff line change
Expand Up @@ -396,5 +396,9 @@
{
"key": "ctrl+cmd+r",
"command": "typescript.restartTsServer"
},
{
"key": "ctrl+shift+cmd+o",
"command": "git.closeAllUnmodifiedEditors"
}
]
7 changes: 4 additions & 3 deletions .vscode-mac.settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"rest-client.fontSize": 13,
"scrolloff.scrolloff": 10,
"search.exclude": {
"**/*.{png,jpeg,jpg,svg}": true,
"**/*.{png,jpeg,jpg}": true,
"**/*.js.snap": true,
"**/*.ts.snap": true,
"**/yaml.lock": true
Expand Down Expand Up @@ -168,7 +168,7 @@
"git.openRepositoryInParentFolders": "never",
"editor.showFoldingControls": "never",
"editor.guides.indentation": false,
"editor.lineNumbers": "off",
"editor.lineNumbers": "on",
"update.showReleaseNotes": false,
"editor.fontSize": 15,
"explorer.autoRevealExclude": {
Expand Down Expand Up @@ -216,5 +216,6 @@
"window.density.editorTabHeight": "compact",
"typescript.tsserver.maxTsServerMemory": 15000,
"typescript.tsserver.log": "off",
"typescript.tsserver.web.typeAcquisition.enabled": false
"typescript.tsserver.web.typeAcquisition.enabled": false,
"terminal.integrated.scrollback": 100000
}
3 changes: 3 additions & 0 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ alias aag='agg'
alias agg='_agg () { rg --group $@ | less }; _agg'
alias aurl='adb shell am start -a "android.intent.action.VIEW" -d'
alias bc='bc -l'
alias co-='git checkout -'
alias com='git checkout main'
alias cr2lf="perl -pi -e 's/\x0d/\x0a/gs'"
alias curlheaders='curl -s -D- -o/dev/null'
Expand All @@ -140,6 +141,7 @@ alias gap='clear; git add --all --patch'
alias gb='git branch'
alias gbd='git branch -d'
alias gbl='git branch -v -a'
alias gc-='git checkout -'
alias gca='git commit --amend'
alias gcane='git commit --amend --no-edit'
alias gcanes='gcane --gpg-sign'
Expand All @@ -157,6 +159,7 @@ alias gdw='git diff -w'
alias gf='git fetch'
alias gfa='git fetch --all'
alias gfix='git rebase -i HEAD~10'
alias gfix2='git rebase -i HEAD~30'
alias gfixup='git rebase -i HEAD~10'
alias gfrb='git fetch && git rebase origin/main'
alias gfrbc='grbc'
Expand Down

0 comments on commit d04ad02

Please sign in to comment.