docs: update copy-on-select documentation

This commit is contained in:
Onno Siemens
2025-01-10 18:11:57 +01:00
parent 6ef757a8f8
commit 19cfd99439

View File

@ -1387,16 +1387,14 @@ keybind: Keybinds = .{},
@"image-storage-limit": u32 = 320 * 1000 * 1000, @"image-storage-limit": u32 = 320 * 1000 * 1000,
/// Whether to automatically copy selected text to the clipboard. `true` /// Whether to automatically copy selected text to the clipboard. `true`
/// will prefer to copy to the selection clipboard if supported by the /// will prefer to copy to the selection clipboard, otherwise it will copy to
/// OS, otherwise it will copy to the system clipboard. /// the system clipboard.
/// ///
/// The value `clipboard` will always copy text to the selection clipboard /// The value `clipboard` will always copy text to the selection clipboard
/// (for supported systems) as well as the system clipboard. This is sometimes /// as well as the system clipboard.
/// a preferred behavior on Linux.
/// ///
/// Middle-click paste will always use the selection clipboard on Linux /// Middle-click paste will always use the selection clipboard. Middle-click
/// and the system clipboard on macOS. Middle-click paste is always enabled /// paste is always enabled even if this is `false`.
/// even if this is `false`.
/// ///
/// The default value is true on Linux and macOS. /// The default value is true on Linux and macOS.
@"copy-on-select": CopyOnSelect = switch (builtin.os.tag) { @"copy-on-select": CopyOnSelect = switch (builtin.os.tag) {