diff --git a/HELP.md b/HELP.md index 3f201ef..13016b8 100644 --- a/HELP.md +++ b/HELP.md @@ -6,8 +6,9 @@ Extrakto uses fzf. You only need to type a few keys to find your selection with - Press *ctrl-f* to change to the next filter mode (*filter_key*) - *word*, the default filter allows you to select words (default min length=5) - - *all*, runs all filters and allows you select quotes, url, paths, etc. \ - You can define your own filters as well. + - *all*, runs all(*) filters and allows you select quotes, url, paths, etc. \ + You can define your own filters as well as selecting which are included in \ + the all selection (see extrakto.conf). - *line*, select full lines - Press *ctrl-g* to change the grab area (see *grab_key* and configuration) diff --git a/extrakto.conf b/extrakto.conf index 0569c8d..014e1f2 100644 --- a/extrakto.conf +++ b/extrakto.conf @@ -57,3 +57,10 @@ alt2: "([^"\n\r]+)" [s-quote] regex: ('[^'\n\r]+') alt2: '([^'\n\r]+)' + +# note that "line" is a special filter that is not handled here for performance reasons +# if you want to include it in the 'all' filter you can define it like this in your +# config file: +# [line] +# regex: ([^\n\r]+?)\s+\r?\n +