diff --git a/Examples.md b/Examples.md index f8c6724..483a71b 100644 --- a/Examples.md +++ b/Examples.md @@ -64,6 +64,7 @@ Table of Contents * [Transmission](#transmission) * [Pacman](#pacman) * [Copy current item to clipboard](#clipboard) +* [Todoist CLI](#Todoist-CLI) ### General @@ -1744,3 +1745,12 @@ export FZF_DEFAULT_OPTS='--bind "ctrl-y:execute-silent(printf {} | cut -f 2- | w This works with `execute-silent` but not with `execute`, presumably because `execute` waits for `wl-copy` to end. Appending a `&` did not change that. + +### Todoist CLI +- Todoist CLI task filitring and preview + ```ps + ❯ todoist --namespace --project-namespace list | fzf --preview 'todoist show {1}' | cut -d ' ' -f 1 | tr '\n' ' ' + ``` + - The command used for preview is `todoist show {1}` + - The `show` option is used to show the task details + - The `{1}` represents the first feild in the line -> Task ID