Skip to content

Instantly share code, notes, and snippets.

@decoyjoe
decoyjoe / 24-bit-color.sh
Created November 1, 2024 19:54 — forked from lifepillar/24-bit-color.sh
Test 24 bit colors in terminals
#!/bin/bash
#
# This file echoes a bunch of 24-bit color codes
# to the terminal to demonstrate its functionality.
# The foreground escape sequence is ^[38;2;<r>;<g>;<b>m
# The background escape sequence is ^[48;2;<r>;<g>;<b>m
# <r> <g> <b> range from 0 to 255 inclusive.
# The escape sequence ^[0m returns output to default
setBackgroundColor()
@decoyjoe
decoyjoe / Surfingkeys-conf.js
Last active May 2, 2020 23:59
Surfingkeys-Conf
// Using lots of good settings from: https://github.com/b0o/surfingkeys-conf/blob/master/conf.js
// ---- Unmaps ----//
// Normal mode unmaps
const unmaps = [
'x', 'ZQ', 'ZZ',
'ZR', 'sob', 'soB',
'sow', 'soW', 'sb',
'sB', 'sw', 'sW',