Kate - random values

Is there in Kate a tool to generate random values?

No, but you can hit F4 to get one - maybe a random integer from 1 to 100?

python3 -c "import random; print(random.randint(1,100))"

I already made a function called ‘copyshow’ (cs) that I can prepend to a command to get the output ready to paste:

# Defined in /home/ben/.config/fish/functions/cs.fish @ line 1
function cs
    $argv | tee /dev/tty | wl-copy
end

So I could make an abbreviation ‘rand’ to get the random integer and in the terminal run cs rand or something :stuck_out_tongue:

So yes, I’d go with the terminal for this.