! XXX: https://unix.stackexchange.com/questions/373187/is-it-possible-to-make-xrdb-ignore-single-quotes-on-a-commented-line <- use xrdb -cpp "cpp -traditional-cpp" !*.vt100.shiftEscape: false ! XXX: this is somehow incorrect ! *.vt100.inputMethod: fcitx ! *.vt100.inputMethod: none *.vt100.internalBorder: 6 !Xcursor.size: 64 ! XTerm.vt100.scrollBar: true ! XTerm.vt100.scrollbar.width: 8 ! xterm*scrollBar: true ! xterm*rightScrollBar: true ! most of CuteXterm sucks, but maybe something is worth stealing ! https://github.com/csdvrx/CuteXterm/blob/main/.Xresources ! https://github.com/csdvrx/CuteXterm/blob/main/.xinitrc ! https://news.ycombinator.com/item?id=25735568 ! https://news.ycombinator.com/item?id=25734551 ! https://news.ycombinator.com/item?id=25734258 *.vt100.color3: gold3 *.vt100.color7: gray75 *.vt100.foreground: gray75 *.vt100.background: black ! consider turning this off (if it does not break vim; fix .bashrc) *.vt100.colorBDMode: on *.vt100.popOnBell: false *.vt100.bellIsUrgent: true *.vt100.decTerminalID: vt340 *.vt100.numColorRegisters: 256 *.vt100.utf8Weblike: true *.vt100.faceName: Hack Nerd Font Mono !Xft.antialias: true !Xft.hinting: true !Xft.hintstyle: hintfull !Xft.rgba: rgb ! Default Unreadable Tiny Small Medium Large Huge Enormous // XXX: I like Tiny and Large/Default, but that's about it? *.vt100.faceSize: 31 *.vt100.faceSize1: 11 *.vt100.faceSize2: 17 *.vt100.faceSize3: 22 *.vt100.faceSize4: 28 *.vt100.faceSize5: 31 *.vt100.faceSize6: 36 *.vt100.faceSize7: 70 ! XXX: work on reflow !*.vt100.showWrapMarks: true *.vt100.saveLines: 10000 *.vt100.alternateScroll: true *.vt100.scrollTtyOutput: false *.vt100.scrollKey: true !*.vt100.multiClickTime: 250 !*.vt100.multiScroll: false ! https://bugzilla.mozilla.org/show_bug.cgi?id=1070518 ! https://bugzilla.gnome.org/show_bug.cgi?id=643391 ! https://issues.chromium.org/issues/41044030 !*.vt100.selectToClipboard: true !*.vt100.keepClipboard: true !*.vt100.keepSelection: false *.vt100.allowWindowOps: true *.vt100.disallowedWindowOps: 20,21,SetXprop ! this is intereting but breaks every .allow*Ops :( !*.vt100.allowSendEvents: true ! XXX: https://lukas.zapletalovi.com/posts/2013/hidden-gems-of-xterm/ *.vt100.on2Clicks: word *.vt100.on3Clicks: regex [-A-Za-z0-9._=]+ ! XXX: // is being interpreted as a comment somewhere?! ! XXX: support C++ scoped identifiers *.vt100.on4Clicks: regex ([a-z]+:[/]/)?[-A-Za-z0-9._=+/~@]+ *.vt100.on5Clicks: line *.vt100.cutNewline: false *.vt100.cutToBeginningOfLine: false *.vt100.metaSendsEscape: true !*.vt100.altSendsEscape: true !*.vt100.eightBitInput: false ! https://mail-index.netbsd.org/netbsd-users/2010/03/31/msg005954.html *.vt100.backarrowKey: false ! https://invisible-island.net/xterm/modified-keys.html ! http://www.leonerd.org.uk/hacks/fixterms/ ! https://sw.kovidgoyal.net/kitty/keyboard-protocol/ ! https://news.ycombinator.com/item?id=35397994 ! https://news.ycombinator.com/item?id=27193661 ! http://www.staldal.nu/tech/2009/01/10/how-to-use-ctrl-tab-in-gnu-screen/ !*.vt100.modifyOtherKeys: true !*.vt100.formatOtherKeys: 1 *.vt100.printAttributes: 0 *.vt100.printerCommand: xterm -class modal -e sh -c 'vim +"setlocal buftype=nofile" +"g/^$/d" +"normal G$" - <&3' 3<&0 ! *.vt100.printFileImmediate !XTerm.ttymodes: erase ^? ! TODO: spawn-new-terminal() *.vt100.alwaysUseMods: true *.omitTranslation: fullscreen *.vt100.translations: #override \n\ Ctrl ~Alt ~Shift equal: larger-vt-font() \n\ Ctrl ~Alt ~Shift minus: smaller-vt-font() \n\ Ctrl ~Alt ~Shift 0: set-vt-font(d) \n\ Ctrl ~Alt ~Shift Return: string("\n") \n\ Ctrl ~Alt ~Shift Tab: string(0x1b) string("[27;5;9~") \n\ Ctrl ~Alt Shift Tab: string(0x1b) string("[27;6;9~") \n\ Ctrl ~Alt Shift l: interpret("\033[3J") string(0x0c) \n\ Ctrl ~Alt Shift c: copy-selection(CLIPBOARD) \n\ Ctrl ~Alt Shift v: insert-selection(CLIPBOARD) \n\ Ctrl ~Alt Shift p: print-everything() \n\ Ctrl ~Alt Shift : exec-formatted("xdg-open '%t'", PRIMARY) select-start() select-end() \n\