Add shortcut function to call sync-git
This commit is contained in:
parent
c2bf3dfa4d
commit
ebdd268882
|
@ -1621,6 +1621,13 @@ Configure email with iCalendar event support, to integrate with
|
|||
;; Scratch buffer shortcut
|
||||
(keymap-global-set "C-c w x" #'scratch-buffer)
|
||||
|
||||
;; Shortcut to call `sync-git'
|
||||
(when (executable-find "sync-git" nil)
|
||||
(defun my/sync-git ()
|
||||
"Call `sync-git' shell script"
|
||||
(interactive)
|
||||
(shell-command "sync-git")))
|
||||
|
||||
;; Config file shortcut
|
||||
(defun my/open-config-file ()
|
||||
"Open Emacs config file."
|
||||
|
|
Loading…
Reference in a new issue