💾 Archived View for gemini.ctrl-c.club › ~de_alchmst › quick-tips captured on 2024-08-18 at 20:36:09. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
when making TUI program, use "\x1b[?1049h\x1b[H" to switch to another term buffer and "\x1b[?1049l" to switch back. This way you leave user's terminal intact
you can start simple web server with "python3 -m http.server" great when making static websites
use "z=" in vim to start spell checker
run "setxkbmap -option ctrl:nocaps" to replace capslock with additional ctrl key you can find (way) more options in "/usr/share/X11/xkb/rules/xorg.lst"
----------------------------