Quick install
# install gnu stow
./init.sh
Dotfiles are installed using stow. stow installs the dotfiles by creating symlinks into the target directory based on the structure in the dotfiles directory.
By default the stow command will create symlinks for files in the parent directory of where you execute the command.
But you can override the default behavior and symlink files to another location with the -t (target) argument flag.
So my dotfiles setup assumes this repo is located in the root of your home directory ~/dotfiles
.
- gnu stow
- Antidote: zsh plugin manager
- fzf
- fd
- ripgrep
- fnm
- Tmux Yank: Plugin to copy to system clipboard
- install rust https://www.rustup.rs/
- rustfmt: Is now a component in rustup and can be installed using
rustup component add rustfmt
- See rustup book/components for all components.
- Download and install Go
tar -C /usr/local -xzf go$VERSION.$OS-$ARCH.tar.gz
- Create Go Path dir:
mkdir -p $HOME/Code/go/src
- Install gocode:
go get -u github.com/nsf/gocode
- Install goimport:
go get golang.org/x/tools/cmd/goimports
- Hidden Bar toggle hide menu bar items.
- reattach-to-user-namespace: Used for tmux-yank
- Aerospace Lightning fast TWM for OSX with virtualized workspaces
- JankyBorders Highlights the currently focussed window
- SketchyBar A status bar replacement #todo. Not currently using.
Steps:
- Open Automator create a new "Quick Action" (if you're looking at docs that say "Service", this appears to just be a name change around 10.6).
- Select "no input" from any application in the new window
- From the left-hand side, select run Applescript*1
- Type in your Applescript (See below)
- Save your automation.
- Go to privacy and security and add automator onto the approved accessibility list
- Go into keyboard shortcuts and navigate to services, your automator action should be there I believe under general.
- Enable the action and select a hotkey.*2
Notes:
- Many references I started with set me about converting my Applescript into an application. While I would ideally like to do this, I simply was unable to get it to work this way. If anyone knows how please let me know.
- There are very few system-wide keyboard shortcuts that aren't already in use, and there's not really any good feedback to let you know if you're using one that's already in use besides things not really working. I would recommend a shift+option+command modifier plus a key. DO NOT USE THE CONTROL KEY AS A MODIFIER* This is a trap I fell into because it turns out that anytime Applescript is executed with the control key held down, it will automatically show the startup options (which is not what you want for this to work).
on run {input, parameters}
tell application "Google Chrome" to activate
end run
on run {input, parameters}
tell application "iTerm" to activate
end run
From AeroSpace Readme
defaults write -g NSWindowShouldDragOnGesture -bool true
Now, you can move windows by holding ctrl+cmd and dragging any part of the window (not necessarily the window title)