cmc/dotfiles

Using GNU Stow to manage my dotfiles. config dotfiles macos stow

Commit 623a8cb334

623a8cb334a65b91ec511280f4e4b88d8e47b793

parent: d33059a913

Verified · cmc

cmc <hello@cleberg.net> · 2026-07-25 21:55 UTC

update brew files and add nanorc

Layout: unified · split

.gitignore added +9
@@ -0,0 +1,9 @@
1common/gnupg/.gnupg/pubring.kbx~
2common/gnupg/.gnupg/S.gpg-agent.extra
3common/gnupg/.gnupg/trustdb.gpg
4common/gnupg/.gnupg/private-keys-v1.d
5common/gnupg/.gnupg/S.gpg-agent
6common/gnupg/.gnupg/S.gpg-agent.ssh
7common/gnupg/.gnupg/pubring.kbx
8common/gnupg/.gnupg/S.gpg-agent.browser
9common/gnupg/.gnupg/S.scdaemon
common/nanorc/nanorc added +41
@@ -0,0 +1,41 @@
1# Settings for `nano` editor
2# Full list of settings might be shown via `man nano`
3# or here: https://www.nano-editor.org/dist/v3/nanorc.5.html
4
5# Influenced by:
6# https://bash-prompt.net/guides/nanorc-settings
7
8# Editor:
9set tabsize 4 # set tab-to-spaces size to 4
10set tabstospaces # convert TAB key press to spaces
11set trimblanks # trim extra spaces
12
13set softwrap # enable softwrap of lines
14set atblanks # wrap line at blanks
15set constantshow
16set nohelp # disable help, CTRL+G to view it
17set autoindent # next line will have the same indent as the current one
18set historylog # save the last 100 history searches for later use
19set positionlog # save the cursor position between editing sessions
20set zap # highlight text (CTRL+SHIFT+ARROW) and delete it with backspace
21set cutfromcursor # cut to end of line with CTRL+K
22set indicator # display a scroll bar on the right
23set minibar # information in the bottom bar, removes top bar
24
25# Extra files:
26set backup
27set backupdir "~/.nano-backups"
28set historylog
29
30# line numbers are copied with text, it is not useful:
31# set linenumbers
32
33# Syntax highlight:
34include /opt/homebrew/opt/nano/share/nano/*.nanorc
35
36# Hotkeys:
37# Full list: https://www.nano-editor.org/dist/latest/cheatsheet.html
38
39unbind ^w main
40bind ^f whereis main
41bind ^z undo main
macos/Brewfile +2 −4
@@ -1,6 +1,4 @@
1# Taps 1# Taps
2tap "homebrew/bundle"
3tap "homebrew/services"
4tap "koekeishiya/formulae" 2tap "koekeishiya/formulae"
5 3
6# Formulae 4# Formulae
@@ -12,8 +10,8 @@ brew "ripgrep"
12brew "fzf" 10brew "fzf"
13brew "bat" 11brew "bat"
14brew "fd" 12brew "fd"
15brew "yabai" 13brew "koekeishiya/formulae/yabai"
16brew "skhd" 14brew "koekeishiya/formulae/skhd"
17brew "ispell" 15brew "ispell"
18brew "zsh-autosuggestions" 16brew "zsh-autosuggestions"
19brew "zsh-syntax-highlighting" 17brew "zsh-syntax-highlighting"
macos/brew.sh +2 −2
@@ -17,7 +17,7 @@ brew bundle --file="$MACOS_DIR/Brewfile"
17 17
18# Restart services to ensure they pick up any stowed config changes 18# Restart services to ensure they pick up any stowed config changes
19echo "♻️ Restarting services..." 19echo "♻️ Restarting services..."
20brew services restart yabai 20brew services restart koekeishiya/formulae/yabai
21brew services restart skhd 21brew services restart koekeishiya/formulae/skhd
22 22
23echo "✅ macOS environment synced." 23echo "✅ macOS environment synced."