My preferred configurations and software for macOS systems.
Included:
- fish shell
- git
- Wez's terminal
- neovim
- tmux
- yabaiwm (macOS)
- skhd (macOS)
todo
- cursor
- brew (install guide)
- fish
To get new configurations:
./sync -d
./sync --desktop
To set up git:
./sync -g
./sync --git
To get new configurations for terminal only:
./sync
To install nvim plugins:
./sync -i
./sync --install
To run sync script using curl:
curl https://raw.githubusercontent.com/mxfng/dotfiles/master/sync | fish
- brew
- fish
Clone this repo and run the following for a fresh environment:
./provision terminal | fish
To install desktop software:
./provision desktop | fish
-
Type
⌥+space
-
Type
shift+⌥+space
-
Try running
nnn
-
Try
fzf
- quickly find:- Files with
fzf
- Git commits with
git log | fzf
- Past commands with
history | fzf
- Files with
-
Use
z
instead ofcd
to jump to frequent directories -
Try
ag
(The Silver Searcher) instead ofgrep
:ag "pattern"
to search filesag -l "pattern"
to list matching filesag -g "pattern"
to search filenames
-
Use
bat
instead ofcat
for syntax highlighting and git integration -
Try
mosh
for reliable SSH:- Survives bad connections
- Auto-reconnects
- Instant feedback
-
Download and use Raycast and other apps by calling
./provisions -d
; re-configure Raycast's hotkey withcmd+space
-
Use these keyboard shortcuts for window management:
- Focus:
⌥ + h/j/k/l
(vim keys) - Swap:
shift + ⌥ + h/j/k/l
- Move:
shift + ⌘ + h/j/k/l
- Spaces:
⌘ + ⌥ + 1-9
to focus,shift + ⌘ + 1-9
to move window - Float:
⌥ + t
to toggle float,⌥ + p
for picture-in-picture - Zoom:
⌥ + f
for fullscreen,⌥ + d
for parent zoom - Layout:
⌥ + e
to toggle split,⌥ + r
to rotate tree
- Focus:
-
Type
keys
in the terminal to view docs or read them here -
Use
glow
-
Type
quote
in the terminal