diff --git a/.config/sway/config b/.config/sway/config index 1054a60..e43e5e7 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -9,7 +9,7 @@ # Logo key. Use Mod1 for Alt. set $wm_mod Mod4+Control set $launch Mod4+Alt -# WASD direction keys, video game style +# Home row direction keys, like vim set $left a set $down s set $up w diff --git a/.gitconfig b/.gitconfig index d269033..e0d1e54 100644 --- a/.gitconfig +++ b/.gitconfig @@ -1,15 +1,12 @@ [init] defaultBranch = trunk [alias] - # keep-sorted start + co = checkout br = branch ci = commit - co = checkout - disclaim = !git-disclaim - resign = !git-resign - sign = commit --amend --no-edit --gpg-sign st = status - # keep-sorted end + sign = commit --amend --no-edit --gpg-sign + resign = !git-resign [remote] pushDefault = . [git-sync] diff --git a/.local/bin/git-disclaim b/.local/bin/git-disclaim deleted file mode 100755 index 79ee234..0000000 --- a/.local/bin/git-disclaim +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -author_name="$(git show --no-patch --format='%an' HEAD)" -author_email="$(git show --no-patch --format='%ae' HEAD)" -GIT_AUTHOR_NAME="${author_name}" GIT_AUTHOR_EMAIL="${author_email}" GIT_COMMITTER_NAME="${author_name}" GIT_COMMITTER_EMAIL="${author_email}" git commit --amend --author "${author_name} <${author_email}>" --no-edit --no-verify