{
    "$schema": "https://lnav.org/schemas/config-v1.schema.json",
    "ui" : {
        "clock-format": "%Y-%m-%dT%H:%M:%S %Z",
        "dim-text": false,
        "default-colors": true,
        "keymap": "default",
        "theme": "default"
    },
    "tuning": {
        "archive-manager": {
            "min-free-space": 33554432,
            "cache-ttl": "2d"
        },
        "remote": {
            "ssh": {
                "command": "ssh",
                "config": {
                    "BatchMode": "yes",
                    "ConnectTimeout": "10"
                },
                "start-command": "bash -c ./{0:}",
                "transfer-command": "cat > {0:} && chmod ugo+rx ./{0:}"
            }
        },
        "clipboard": {
            "impls": {
                "MacOS": {
                    "test": "command -v pbcopy",
                    "general": {
                        "write": "pbcopy",
                        "read": "pbpaste -Prefer txt"
                    },
                    "find": {
                        "write": "pbcopy -pboard find",
                        "read": "pbpaste -pboard find -Prefer txt"
                    }
                },
                "Wayland": {
                    "test": "test -n \"$WAYLAND_DISPLAY\"",
                    "general": {
                        "write": "wl-copy --foreground --type text/plain",
                        "read": "wl-paste --no-newline"
                    }
                },
                "X11-xclip": {
                    "test": "test -n \"$DISPLAY\" && command -v xclip",
                    "general": {
                        "write": "xclip -i -selection clipboard",
                        "read": "xclip -o -selection clipboard"
                    }
                },
                "tmux": {
                    "test": "test -n \"$TMUX\" -a -z \"$SSH_CLIENT\"",
                    "general": {
                        "write": "tmux load-buffer -",
                        "read": "tmux save-buffer -"
                    }
                },
                "NeoVim": {
                    "test": "command -v win32yank.exe",
                    "general": {
                        "write": "win32yank.exe -i --crlf",
                        "read": "win32yank.exe -o --lf"
                    }
                },
                "Windows": {
                    "test": "command -v clip.exe",
                    "general": {
                        "write": "clip.exe"
                    }
                }
            }
        }
    }
}
