summaryrefslogtreecommitdiffstats
path: root/src/root-config.json
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/root-config.json76
1 files changed, 76 insertions, 0 deletions
diff --git a/src/root-config.json b/src/root-config.json
new file mode 100644
index 0000000..076717e
--- /dev/null
+++ b/src/root-config.json
@@ -0,0 +1,76 @@
+{
+ "$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"
+ }
+ }
+ }
+ }
+ }
+}