From a1d203d34a425e75adf2df8f2479b5631f11f534 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 24 Mar 2022 17:35:07 +0530 Subject: [PATCH] Clean up paste_actions docs --- kitty/options/definition.py | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/kitty/options/definition.py b/kitty/options/definition.py index 8a02aea46..b873acd61 100644 --- a/kitty/options/definition.py +++ b/kitty/options/definition.py @@ -453,14 +453,17 @@ opt( A comma separated list of actions to take when pasting text into the terminal. Possibilities are: -* quote-urls-at-prompt: If the text being pasted is a URL and the cursor is at a shell prompt, -automatically quote the URL (needs :ref:`shell_integration`). -* confirm: Confirm the paste if bracketed paste mode is not active or there is more -a large amount of text being pasted. -* filter: Run the filter_paste() function from the file :file:`paste-actions.py` in -the kitty config directory on the pasted text. The text returned by the function will be actually pasted. -''' -) +:code:`quote-urls-at-prompt`: + If the text being pasted is a URL and the cursor is at a shell prompt, + automatically quote the URL (needs :ref:`shell_integration`). +:code:`confirm`: + Confirm the paste if bracketed paste mode is not active or there is more + a large amount of text being pasted. +:code:`filter`: + Run the filter_paste() function from the file :file:`paste-actions.py` in + the kitty config directory on the pasted text. The text returned by the + function will be actually pasted. +''') opt('strip_trailing_spaces', 'never', choices=('always', 'never', 'smart'),