view bin/executable_clip @ 364:f300ef1bc475

Do not run LSP diagnostics while in insert mode Should help keeping the load down
author Zeger Van de Vannet <zegervdv@me.com>
date Fri, 19 Mar 2021 17:55:02 +0100
parents 308594cabf62
children eba1dee43703
line wrap: on
line source

#!/usr/bin/env bash

DATA=$(cat - | base64)

if [ -z "$TMUX" ]; then
  echo -ne "\e]52;c;${DATA}\x07"
else
  echo -ne "\ePtmux;\e\e]52;c;${DATA}\x07\e\\"
fi