Add function and keybinding to ediff current dotfile with template
This commit is contained in:
parent
e4d6b5505c
commit
0996eb8733
|
@ -507,6 +507,12 @@ argument takes the kindows rotate backwards."
|
|||
(interactive)
|
||||
(find-file-existing (dotspacemacs/location)))
|
||||
|
||||
(defun ediff-dotfile-and-template ()
|
||||
"ediff the current `dotfile' with the template"
|
||||
(interactive)
|
||||
(ediff-files (dotspacemacs/location)
|
||||
(concat dotspacemacs-template-directory ".spacemacs.template")))
|
||||
|
||||
(defun find-spacemacs-file ()
|
||||
(interactive)
|
||||
"Edit the `file' in the spacemacs base directory, in the current window."
|
||||
|
|
|
@ -105,6 +105,7 @@ Ensure that helm is required before calling FUNC."
|
|||
"fes" 'find-spacemacs-file
|
||||
"fec" 'find-contrib-file
|
||||
"fed" 'find-dotfile
|
||||
"feD" 'ediff-dotfile-and-template
|
||||
"feR" 'dotspacemacs/sync-configuration-layers
|
||||
"fev" 'spacemacs/display-and-copy-version
|
||||
"fF" 'ido-find-file
|
||||
|
|
Loading…
Reference in New Issue