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