diff options
Diffstat (limited to 'docs/configuration/joshuto.toml.md')
-rw-r--r-- | docs/configuration/joshuto.toml.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/configuration/joshuto.toml.md b/docs/configuration/joshuto.toml.md index 1fc6e6e..7c90fc2 100644 --- a/docs/configuration/joshuto.toml.md +++ b/docs/configuration/joshuto.toml.md @@ -30,6 +30,12 @@ focus_on_create = true # The maximum file size to show a preview for max_preview_size = 2097152 # 2MB +# Define custom commands (using shell) with parameters like %text, %s etc. +custom_commands = [ + { name = "rgfzf", command = "/home/<USER>/.config/joshuto/rgfzf '%text' %s" }, + { name = "rg", command = "/home/<USER>/.config/joshuto/rg '%text' %s" } +] + # Configurations related to the display [display] # Different view layouts @@ -128,4 +134,5 @@ fzf_case_sensitivity = "insensitive" [tab] # inherit, home, root home_page = "home" + ``` |