trick

T.I.L.

Edit multiple line on Vim

How to edit multiple lines at once on vim/neovim/lunarvim

For edit multiple lines, click CTRL+V for init block selection. Click J or K for select the lines, or use arrows up/down.

Now with lines selected, press SHIFT+I for insert on all lines, or SHIFT+A for insert on the end of all lines.

ref: https://vimtricks.com/p/edit-multiple-lines-at-once-in-vim/

Animated text

Animated cascade text on terminal with Python

Cascade effect of texts

import string
import time
 
text = "Hello World!"
 
temp = ""
for ch in text:
  for i in string.printable:
    if i == ch or ch == " ":
      time.sleep(0.02)
      print(temp+i)
      temp += ch
      break
    else:
      time.sleep(0.02)
      print(temp+i)
 
print('\033[1;32m'+text)