Skip to content

Instantly share code, notes, and snippets.

@ser
Created March 2, 2026 02:49
Show Gist options
  • Select an option

  • Save ser/cdb3fc14b94b5baee7f7f87739a6dbf8 to your computer and use it in GitHub Desktop.

Select an option

Save ser/cdb3fc14b94b5baee7f7f87739a6dbf8 to your computer and use it in GitHub Desktop.
lnav-copy
2026-03-02T02:44:23.723+00:00 I t0 command_executor.cc:832 /root/.config/lnav/formats/default/lnav-copy-text.lnav:11:execute result --
2026-03-02T02:44:23.723+00:00 I t0 command_executor.cc:127 Executing: redirect-to /dev/clipboard
2026-03-02T02:44:23.723+00:00 D t0 sysclip.cc:57 testing clipboard impl MacOS using: command -v pbcopy > /dev/null 2>&1
2026-03-02T02:44:23.726+00:00 D t0 sysclip.cc:57 testing clipboard impl NeoVim using: command -v win32yank.exe > /dev/null 2>&1
2026-03-02T02:44:23.729+00:00 D t0 sysclip.cc:57 testing clipboard impl Wayland using: test -n "$WAYLAND_DISPLAY" && command -v wl-copy > /dev/null 2>&1
2026-03-02T02:44:23.732+00:00 D t0 sysclip.cc:57 testing clipboard impl Windows using: command -v clip.exe > /dev/null 2>&1
2026-03-02T02:44:23.736+00:00 D t0 sysclip.cc:57 testing clipboard impl X11-xclip using: test -n "$DISPLAY" && command -v xclip > /dev/null 2>&1
2026-03-02T02:44:23.738+00:00 D t0 sysclip.cc:57 testing clipboard impl tmux using: test -n "$TMUX" -a -z "$SSH_CLIENT" > /dev/null 2>&1
2026-03-02T02:44:23.743+00:00 I t0 sysclip.cc:124 unable to detect clipboard
2026-03-02T02:44:23.743+00:00 I t0 sysclip.cc:128 ... falling back to OSC 52
2026-03-02T02:44:23.743+00:00 I t0 command_executor.cc:1204 redirecting command output to: /dev/clipboard
2026-03-02T02:44:23.743+00:00 I t0 command_executor.cc:832 /root/.config/lnav/formats/default/lnav-copy-text.lnav:22:execute result -- info: redirecting output to file -- /dev/clipboard
2026-03-02T02:44:23.743+00:00 I t0 command_executor.cc:127 Executing: eval ${cmd}
2026-03-02T02:44:23.743+00:00 D t0 lnav_commands.cc:3151 Evaluating: ${cmd}
2026-03-02T02:44:23.743+00:00 D t0 lnav_commands.cc:3160 Expanded command to evaluate: :write-to -
2026-03-02T02:44:23.743+00:00 I t0 command_executor.cc:127 Executing: write-to -
2026-03-02T02:44:23.744+00:00 I t0 command_executor.cc:832 :eval:1:execute result -- info: Wrote 1 rows to -
2026-03-02T02:44:23.744+00:00 I t0 command_executor.cc:832 /root/.config/lnav/formats/default/lnav-copy-text.lnav:23:execute result -- info: Wrote 1 rows to -
2026-03-02T02:44:23.744+00:00 I t0 command_executor.cc:1217 redirecting command output to screen
2026-03-02T02:44:23.744+00:00 D t0 sysclip.cc:74 writing 111 bytes of clipboard data using OSC 52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment