[-] mrbn@lemmy.ca 9 points 7 months ago

I also though it was kind of weird that when they find the Founders they all have the same style of face like Odo. But I guess they didn't have a face in their garden 🤷‍♂️

[-] mrbn@lemmy.ca 10 points 7 months ago

Ah, this reminds me of the old adage: Try before you buy.

[-] mrbn@lemmy.ca 2 points 8 months ago
command! -range -nargs=1 PadColumns call PadColumns(<line1>, <line2>, <args>)

function! PadColumns(start, end, columns)
    execute a:start.','.a:end.'s/\(.*\)\zs\s*$/\='.'repeat(" ", a:columns - len(submatch(1)))'
endfunction

Use by typing in Normal mode :PadColumns 20. This will add spaces after the line or selected lines to the column you specify (in this case, 20).

You could probably improve this by getting the length of the longest line and so you dont need to specify the specific column to add spaces to (20), and instead just add say 5 spaces after longest line for all lines.

[-] mrbn@lemmy.ca 4 points 8 months ago

I do not think that this is an existing feature in neovim, however this seems to work :%s/\(.*\)\zs\s*$/\=repeat(' ', 15 - len(submatch(1)))

Change 15 to the column desired. You could probably create a function where you pass the column number you want so that you dont have to type this string all the time.

[-] mrbn@lemmy.ca 11 points 8 months ago

I just finished watching this episode! Like just now.

Anyways, Warf looked crushed after its disappearance.

[-] mrbn@lemmy.ca 28 points 11 months ago

Reminds me of the "Op" wars on IRC. All users would be given @ status and the point was to kick everyone before you got kicked. Writing scripts for this was my first "taste" at programming.

[-] mrbn@lemmy.ca 7 points 11 months ago

I would think it was pretty obvious... THEY'RE JERKS.

But what can you expect from a species that's always looking down on others?

Thank you, i will see myself out.

[-] mrbn@lemmy.ca 9 points 11 months ago

It's the computer's job up to the point where you get on Picard's "shit list". That's when the person being punished is responsible for beaming the poop out.

[-] mrbn@lemmy.ca 59 points 1 year ago* (last edited 1 year ago)

Good one, let me try!

Knock knock

Who's there?

Race Condition

view more: ‹ prev next ›

mrbn

joined 1 year ago