💾 Archived View for gemini.ctrl-c.club › ~de_alchmst › quick-tips captured on 2024-12-17 at 11:57:14. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-09-29)

🚧 View Differences

-=-=-=-=-=-=-

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"

the "interrobang" character (‽) exists

You can make nvim nvim your manpager with: export MANPAGER='nvim +Man!'

----------------------------

home