From 6298e9826476f438a3c174142d21a82cc00360a6 Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Thu, 10 Aug 2023 08:05:35 +0200 Subject: [PATCH] update doc --- docs/config/config-file.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/config/config-file.md b/docs/config/config-file.md index 5754516a3..763177f42 100644 --- a/docs/config/config-file.md +++ b/docs/config/config-file.md @@ -227,6 +227,17 @@ provided they *would have* been ignored by an earlier ignore pattern (dotdrop wi case). This feature allows to, for example, ignore all files within a certain directory, except for a particular one (See examples below). +For example to ignore everything but the `colors` directory under `~/.vim` +```yaml +dotfiles: + d_vim + dst: ~/.vim + src: vim + cmpignore: + - '*' + - '!*/colors/**' +``` + To completely ignore comparison of a specific dotfile: ```yaml dotfiles: