Skip to content

Instantly share code, notes, and snippets.

View phanen's full-sized avatar
💭
akaseki ing

phanium phanen

💭
akaseki ing
View GitHub Profile
@phanen
phanen / sigkill.py
Created May 16, 2025 04:00
kitten sigkill
import json
import os
import subprocess as s
from kitty.boss import Boss
def main(args: list[str]) -> str:
pass
@phanen
phanen / pager.lua
Created May 13, 2025 16:15
kitty pager
-- https://gist.github.com/galaxia4Eva/9e91c4f275554b4bd844b6feece16b3d
local api, fn, o = vim.api, vim.fn, vim.opt
o.clipboard = 'unnamedplus'
o.cmdheight = 0
o.fillchars = { eob = ' ' }
o.laststatus = 0
o.report = 999999 -- arbitrary large number to hide yank messages
o.ruler = false
o.scrolloff = 20
o.scrollback = 99999
#!/bin/sh
export ENV="$HOME/.profile"
# export NVIM_LOG_FILE=/dev/null
VIM_PATH=$(realpath -s "$0")
VIM_NAME=$(basename "$0")
if test "$1" = '-z'; then # bob version
VER="$2"