Skip to content

Instantly share code, notes, and snippets.

View greggthomason's full-sized avatar
🐶
here

Gregg Thomason greggthomason

🐶
here
  • 05:59 (UTC -05:00)
View GitHub Profile
@greggthomason
greggthomason / gist:3e2daa92a8fbf5a9d604c13dc64db21f
Created May 21, 2024 19:04
minimal config snippet to emulate common iterm keystrokes
config.keys = {
{
key = 'd',
mods = 'CMD',
action = wezterm.action.SplitHorizontal { domain = 'CurrentPaneDomain' }
},
{
key = 'd',
mods = 'CMD|SHIFT',
action = wezterm.action.SplitVertical { domain = 'CurrentPaneDomain' }
@greggthomason
greggthomason / jq.md
Last active April 30, 2024 15:55
JQ stuff I always forget

JQ STUFF I ALWAYS FORGET

if you have a list of dicts like

[
    {"name": "fred",
    "id": 1234},
    {"name": "barmey",
 "id": 4567}
clone https://github.com/bash-lsp/bash-language-server somewhere like ~/.local/share
yarn install
yarn run compile
then set the language server path to ~/.local/share/bash-language-server/vscode-client/node_modules/.bin/bash-language-server with the argument "start"