Add quick bind to run git-sync-all shell command (async)
This commit is contained in:
parent
dc2974b180
commit
3837871ed9
|
@ -33,6 +33,13 @@
|
|||
(keymap-global-set "<mouse-8>" #'previous-buffer)
|
||||
(keymap-global-set "<mouse-9>" #'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)
|
||||
|
|
Loading…
Reference in a new issue