mirror of
https://codeberg.org/vlw/dotfiles.git
synced 2025-11-05 09:22:42 +01:00
Compare commits
No commits in common. "f0bf01386b0cb9c20eb6f35c76e6a80023feeb3e" and "b43ef009d61e25e9e8a619082776685dccc63f8e" have entirely different histories.
f0bf01386b
...
b43ef009d6
3 changed files with 0 additions and 47 deletions
|
|
@ -83,18 +83,6 @@ gitf () {
|
||||||
gitf w
|
gitf w
|
||||||
;;
|
;;
|
||||||
|
|
||||||
# Checkout [and create] a git branch (defaults to "master")
|
|
||||||
"b")
|
|
||||||
local branch="${2:-master}"
|
|
||||||
|
|
||||||
if git show-ref --verify --quiet refs/heads/"$branch"; then
|
|
||||||
git checkout $branch
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
git checkout -b $branch
|
|
||||||
;;
|
|
||||||
|
|
||||||
# Clear local branches that have no upstream on remote (cleanup)
|
# Clear local branches that have no upstream on remote (cleanup)
|
||||||
"c")
|
"c")
|
||||||
git fetch -p && git branch -vv | awk '/: gone]/{print $1}' | xargs git branch -D
|
git fetch -p && git branch -vv | awk '/: gone]/{print $1}' | xargs git branch -D
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
[
|
[
|
||||||
"alefragnani.bookmarks",
|
|
||||||
"demartini.vscode-idiomatic-css-comments-snippets",
|
"demartini.vscode-idiomatic-css-comments-snippets",
|
||||||
"hangxingliu.vscode-nginx-conf-hint",
|
"hangxingliu.vscode-nginx-conf-hint",
|
||||||
"ms-python.debugpy",
|
"ms-python.debugpy",
|
||||||
|
|
|
||||||
|
|
@ -27,39 +27,5 @@
|
||||||
{
|
{
|
||||||
"key": "ctrl+shift+h",
|
"key": "ctrl+shift+h",
|
||||||
"command": "-workbench.action.replaceInFiles"
|
"command": "-workbench.action.replaceInFiles"
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "shift+alt+oem_5",
|
|
||||||
"command": "bookmarks.toggle",
|
|
||||||
"when": "editorTextFocus"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "ctrl+alt+k",
|
|
||||||
"command": "-bookmarks.toggle",
|
|
||||||
"when": "editorTextFocus"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "shift+alt+1",
|
|
||||||
"command": "bookmarks.jumpToNext",
|
|
||||||
"when": "editorTextFocus"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "ctrl+alt+l",
|
|
||||||
"command": "-bookmarks.jumpToNext",
|
|
||||||
"when": "editorTextFocus"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "shift+alt+2",
|
|
||||||
"command": "bookmarks.jumpToPrevious",
|
|
||||||
"when": "editorTextFocus"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "ctrl+alt+j",
|
|
||||||
"command": "-bookmarks.jumpToPrevious",
|
|
||||||
"when": "editorTextFocus"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "shift+alt+3",
|
|
||||||
"command": "bookmarks.clear"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
Loading…
Add table
Reference in a new issue