Skip to content

Commit

Permalink
Merge pull request #327 from sschlesier/patch-1
Browse files Browse the repository at this point in the history
Explain how to customise the merge tool
  • Loading branch information
twpayne authored Jun 6, 2019
2 parents a4aaed0 + 1abbee1 commit 74da6c3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/HOWTO.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
* [Import archives](#import-archives)
* [Export archives](#export-archives)
* [Use a non-git version control system](#use-a-non-git-version-control-system)
* [Use a merge tool other than vimdiff](#use-a-merge-tool-other-than-vimdiff)

## Use a hosted repo to manage your dotfiles across multiple machines

Expand Down Expand Up @@ -489,3 +490,13 @@ The source VCS command is used in the chezmoi commands `init`, `source`, and
`update`, and support for VCSes other than git is limited but easy to add. If
you'd like to see your VCS better supported, please [open an issue on
Github](https://github.com/twpayne/chezmoi/issues/new).

## Use a merge tool other than vimdiff

By default, chezmoi uses vimdiff, but you can use any merge tool of your choice.
In your config file, specify the command and args to use. For example, to use
neovim's diff mode specify:

[merge]
command = "nvim"
args = "-d"

0 comments on commit 74da6c3

Please sign in to comment.