kbd/setup
View on GitHub ↗ ★ 74 Python
My config, system settings, utilities, etc.
25 mentions on Hacker News by 2 people: 0 stories, 25 comments · first 2018-04-25 · latest 2025-10-03
20082026
-
…of my Hammerspoon config I could replace with this... Edit: upon reflection, not much actually: https://github.com/kbd/setup/blob/2eaeaecf76c22be3ecef5c8563...
comment by kbd · 2025-10-03 · in Simple Hotkey Daemon for macOS, Ported to Zig -
…it has the key tiling functions[1]. Check set-window-fraction function and its callsites. [1]: https://github.com/kbd/setup/blob/main/HOME/.hammerspoon/ini...
comment by VTimofeenko · 2025-02-10 · in Kanata: Cross-platform multi-layer keyboard remapper with advanced customization -
…that live in a terminal tab instead of their own bloated poorly-keyboard-driven Electron apps. [1] https://github.com/kbd/setup/blob/main/HOME/.config/litecli/... [2] https://github.com/kbd/setup/blob/main/HOME/bin/kw [3]…
comment by kbd · 2024-07-10 · in Show HN: Posting v1 – The modern HTTP client that lives in your terminal -
…config to Fennel and haven't looked back either. The code becomes much more concise vs Lua. https://github.com/kbd/setup/blob/master/HOME/.hammerspoon/i...
comment by kbd · 2023-09-13 · in Why Fennel? -
Agree I use fzf extensively in my git aliases: https://github.com/kbd/setup/blob/master/HOME/.config/git/co... Perfect example: my "cherry pick" alias: cp = !git pick-branch | xargs git pick-commits | tac | xargs -t git cherry-pick Those…
comment by kbd · 2023-03-21 · in So you've installed `fzf` – now what? -
To show off the power of fzf, I should share my fzr ("fzf repl") script: https://github.com/kbd/setup/blob/master/HOME/bin/fzr Basically, prefix any jq command (or rg, or anything you can think of) with fzr and it'll give you an…
comment by kbd · 2023-03-21 · in So you've installed `fzf` – now what? -
…kitty makes all that possible. I didn't know he was also the author of Calibre for a long time. [1] https://github.com/kbd/setup/blob/master/HOME/bin/kw
comment by kbd · 2022-07-11 · in New in Calibre 6.0 -
Everything is source-controlled: https://github.com/kbd/setup
comment by kbd · 2022-05-26 · in Ask HN: How do you sync your computer’s development configurations/environment? -
Here’s what I do for that (aliased to ‘p’): https://github.com/kbd/setup/blob/d95653da5ab367b1e628b97537...
comment by kbd · 2022-05-18 · in Forgit: A utility tool powered by fzf for using Git interactively -
…alias all my short git aliases (as well as a few special cases). So “gcp” -> “git cp” etc. https://github.com/kbd/setup/blob/d95653da5ab367b1e628b97537...
comment by kbd · 2022-05-17 · in Forgit: A utility tool powered by fzf for using Git interactively -
If anyone cares, I do something similar with my git aliases: https://github.com/kbd/setup/blob/master/HOME/.config/git/co... So, "ga" similarly gives a fuzzy finder of files to "git add" that are actually in git status, "gcp" lets me…
comment by kbd · 2022-05-17 · in Forgit: A utility tool powered by fzf for using Git interactively -
If anyone cares, here's my config: https://github.com/kbd/setup/blob/master/HOME/.hammerspoon/i... It shows off a tiny bit of what you can do with Hammerspoon: - window and app management - keyboard shortcuts for common apps (eg. hyper+T…
comment by kbd · 2021-12-13 · in Hammerspoon – Lua-based powerful tool automation of macOS -
…most of the time. Here's an example of its use in my script that creates a new Python project: https://github.com/kbd/setup/blob/master/HOME/bin/create-pyt... I haven't figured out a convenient way to implement shell piping well with…
comment by kbd · 2021-11-25 · in The fish shell is amazing -
Just sharing my take on that interactive jq (or anything else) repl: https://github.com/kbd/setup/blob/master/HOME/bin/fzr It's just an fzf wrapper that sets up temporary files and so on. It works really well; it's amazing all the things…
comment by kbd · 2021-08-02 · in Extracting Objects Recursively with Jq -
…to my setup[2] repo with my dotfiles showing how I use symgr. [1] https://github.com/kbd/symgr [2] https://github.com/kbd/setup
comment by kbd · 2021-05-13 · in A Way to Manage Dotfiles -
…(along with using Karabiner Elements for a 'hyper' key) to open or switch to common apps. [1] https://github.com/kbd/setup/blob/1a05e5df545db0133cf7b6f1bc... [2] https://github.com/kbd/setup/blob/1a05e5df545db0133cf7b6f1bc...
comment by kbd · 2021-04-27 · in Apple's follow-up to M1 chip goes into mass production for Mac -
…to my 'cp' alias that lets me choose a branch, then a commit to cherry pick into my current branch: https://github.com/kbd/setup/blob/e23b3e8e2363284c3c766c0be2...
comment by kbd · 2021-03-30 · in Improving Shell Workflows with Fzf -
…branches in most-recent order and interactively pick the branch to switch to using fzf: https://github.com/kbd/setup/blob/f3ebd5ef2bc8a010357b574c02...
comment by kbd · 2020-04-07 · in Git alias for printing recently-used branches -
Here's the equivalent setting for zsh: https://github.com/kbd/setup/blob/2e61b4d22adfadd05dbb4a7b95...
comment by kbd · 2019-10-10 · in A Useful Thing in Bash -
Sure: https://github.com/kbd/setup Here's my git config with a bajillion aliases: https://github.com/kbd/setup/blob/master/HOME/.config/git/co... Since git commands are one of the most common things to type, I alias all short git aliases…
comment by kbd · 2019-05-31 · in Better Bash History (2012) -
…a "bootstrap" script that starts from a clean Mac and installs and configures everything I need: https://github.com/kbd/setup/blob/master/bootstrap.py There are still some things that are manual: * some macOS settings that can't easily be…
comment by kbd · 2019-04-18 · in Ask HN: What does your development stack look like in your favorite language? -
…using libgit2 someday, but something like that would be unusable if it was written in Clojure. [1] https://github.com/kbd/setup/blob/master/HOME/bin/repo.py
comment by kbd · 2018-12-18 · in Clojure 1.10 release -
…the commandline is very usable (don't have to 'git add' and type filenames manually). [1] https://github.com/kbd/setup/blob/65b3d0abcb34540b43880792e8... [2] https://github.com/kbd/setup/blob/65b3d0abcb34540b43880792e8...
comment by kbd · 2018-12-06 · in The Rise of Microsoft Visual Studio Code -
…of my setup that is particular to a new machine is my bootstrap, which is like 30 lines of code: https://github.com/kbd/setup/blob/master/bootstrap.py Also, ever set up a new machine and then for days you keep finding system config that's…
comment by kbd · 2018-04-25 · in Installing Fonts Using Homebrew -
Here's my setup repo with all my system config: https://github.com/kbd/setup Here's the bootstrap script I mentioned: https://github.com/kbd/setup/blob/master/bootstrap.py Here's the config file with everything I install, settings, etc.:…
comment by kbd · 2018-04-25 · in Installing Fonts Using Homebrew