mazunki [they/them]i count on my fingers in binary at times
I do the same thing. It's useful to be able to count to 31 with one hand
👍1
mazunki [they/them]i count on my fingers in binary at times
What’s stopping us to become cyberpunks with vim in the left arm and two mini keyboard keychains
The mobile phone attached to a vps with mosh ssh
#tip a simple mapping to insert code blocks with F10
lua/context.lua:246
-- F10 inserts an empty markdown code block with the cursor in the middle
vim.keymap.set("i", "<F10>", "```<CR><CR>```<Up>", { desc = "Insert code block" })
vim.keymap.set("n", "<F10>", "o```<CR><CR>```<Up><Esc>", { desc = "Insert code block below" })
L L L L
L Link
click to showI'll dedicate F9 to F12 to the thirsty ai gods lua/context.lua:264 local function wrap_lines_in_code_block(start_line, end_line) -- add the closing fence first, so the start line number doesn't shift vim.api.nvim_buf_set_lines(0, end_line, end_line, false, { "```" }) vim.api.nvim_buf_set_lines(0, start_line - 1, start_line - 1, false, { "```" }) end vim.api.nvim_create_user_command("WrapInCodeBlock", function(opts) wrap_lines_in_code_block(opts.line1, opts.line2) end, { range = true, desc = "Wrap selected lines in a markdown code block <F10>" }) vim.keymap.set("v", "<F10>", ":WrapInCodeBlock<CR>", { noremap = true, desc = "Wrap selection in code block" }) here's the complete context-fu https://gist.github.com/eduardoarandah/5f51b24a2fa1e604e9253a6ac564b450
#tip add this to a file with aliases and functions to create your command pallete with fzf
zsh_helpers.zsh:839
_helpers_list() {
awk '
/^alias / {
sub(/^alias /, "")
name = $0; sub(/=.*/, "", name)
cmd = $0; sub(/^[^=]*=/, "", cmd); gsub(/^["\047]|["\047]$/, "", cmd)
printf "%-32s %s\n", name, cmd
}
/^(function )?[A-Za-z][A-Za-z0-9_]*\(\)/ {
sub(/^function /, "")
name = $0; sub(/\(.*/, "", name)
if (name != "fzf_helpers_widget") printf "%-32s (función)\n", name
}
' "$_HELPERS_FILE" | sort
}
# enter ejecuta, tab solo escribe el comando en el prompt
fzf_helpers_widget() {
local out key sel
out=$(
_helpers_list |
fzf --height=60% --reverse --prompt='helpers > ' --expect=tab \
--header='enter: ejecutar | tab: escribir en el prompt'
) || { zle reset-prompt; return }
key="${out%%$'\n'*}"
sel="${${out#*$'\n'}%% *}"
[[ -z "$sel" ]] && { zle reset-prompt; return }
BUFFER="$sel"
CURSOR=${#BUFFER}
[[ "$key" != "tab" ]] && zle accept-line
zle reset-prompt
}
zle -N fzf_helpers_widget
bindkey '^f' fzf_helpers_widget
Laloin case you missed it. this ALL you need to know when an agent needs something:
make the computer tell you.. with voice
it works for me. I may go to pee and still hear it
~/.claude/settings.json:1
{
"PermissionRequest": [
{
"matcher": "*",
"hooks": [
{
lol the say hook is a classic, voice alerts hit different when you're afk. sentx ai is self-aware so it can flag when it needs a call instead of just pinging you