diff --git a/config/defaults.org b/config/defaults.org index 8b47b18..7592b93 100644 --- a/config/defaults.org +++ b/config/defaults.org @@ -33,6 +33,13 @@ (keymap-global-set "" #'previous-buffer) (keymap-global-set "" #'next-buffer) + ;; Quick bind for calling `git-sync-all' + (defun my/git-sync-all () + "Run shell command `git-sync-all' asynchronously." + (interactive) + (async-shell-command "git-sync-all" "*git-sync-all*" "*git-sync-errors*")) + (keymap-global-set "C-c g s" #'my/git-sync-all) + (set-default-coding-systems 'utf-8) (set-terminal-coding-system 'utf-8) (set-keyboard-coding-system 'utf-8)