Skip to content

Commit 6facfa6

Browse files
committed
Update
1 parent 53e0e94 commit 6facfa6

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

content/posts/ghostty-config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ as a local Lazy plugin:
3535

3636
```lua
3737
return {
38-
dir = vim.env.GHOSTTY_RESOURCES_DIR .. "/../vim/vimfiles",
38+
dir = (vim.env.GHOSTTY_RESOURCES_DIR or "") .. "/../vim/vimfiles",
3939
lazy = false, -- Ensures it loads for Ghostty config detection
4040
name = "ghostty", -- Avoids the name being "vimfiles"
4141
cond = vim.env.GHOSTTY_RESOURCES_DIR ~= nil, -- Only load if Ghostty is installed

content/posts/hammerspoon.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
title: "Hammerspoon as MacOS Swiss Army Knife"
3+
date: 2024-12-02
4+
draft: true
5+
---
6+
7+
I'm a long-term MacOS user, and have always loved to tinker with software.
8+
That's why I use [Neovim](https://neovim.io), add all my
9+
[dotfiles](https://github.com/yochem/dotfiles) to GitHub, and use some apps to
10+
significantly enhance the MacOS experience.
11+
12+
- `AltTab`: Changes the app switcher. I mainly use this because I want a window
13+
switcher that shows _all_ windows, not an app switcher that only lists the
14+
opened apps.
15+
- `Karabiner Elements`: Remapping keys, like capslock to escape and creating a
16+
'hyper' key.
17+
- `Logi Options+`: This also remaps some keys specific for my Logitech keyboard.
18+
- `Middleclick`: Use three-finger taps on the trackpad as mouse middle click.
19+
Useful for closing tabs.
20+
- `Rectangle`: Tiling windows with keyboard shortcuts.
21+
22+
23+
- discovered hammerspoon
24+
- _could_ be possible to replace all
25+
- macos hidutil hack
26+
- todo: logitech, middleclick probs not possible

0 commit comments

Comments
 (0)