lnav/src/root-config.json

77 lines
2.5 KiB
JSON
Raw Normal View History

{
2020-05-07 14:08:59 +00:00
"$schema": "https://lnav.org/schemas/config-v1.schema.json",
"ui" : {
2022-07-15 05:32:38 +00:00
"clock-format": "%Y-%m-%dT%H:%M:%S %Z",
2020-05-07 14:08:59 +00:00
"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"
}
}
}
}
}
}