Skip to content

Commit

Permalink
explain how to include "line" in "all" filter #129
Browse files Browse the repository at this point in the history
  • Loading branch information
laktak committed Dec 13, 2024
1 parent 305492b commit c259de5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
5 changes: 3 additions & 2 deletions HELP.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
7 changes: 7 additions & 0 deletions extrakto.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c259de5

Please sign in to comment.