diff --git a/.tmux.conf b/.tmux.conf index 3f8b25a..727c06c 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -29,6 +29,9 @@ unbind '"' bind - split-window -v unbind % bind h select-pane -L +bind n select-pane -D +bind e select-pane -U +bind i select-pane -R diff --git a/mac/mac_setup.sh b/mac/mac_setup.sh index 246f0c1..6b2e1f5 100644 --- a/mac/mac_setup.sh +++ b/mac/mac_setup.sh @@ -43,6 +43,7 @@ defaults write com.apple.dock autohide -bool true # Autohide Dock defaults write com.apple.dock autohide-time-modifier -float 0.5 defaults write com.apple.dock autohide-delay -float 0 # Immediately Autohide Dock defaults write com.apple.dock show-recents -bool false # Hide Recent Applications +killall Dock ## Trackpad echo "[INFO] Setting Trackpad Preferences" defaults write com.apple.AppleMultitouchTrackpad TrackpadThreeFingerDrag -bool true @@ -102,7 +103,7 @@ brew install --cask keka # Archiver brew install --cask google-drive # `sudo` # Cloud Storage # CLI -brew install --formula cfiles +# brew install --formula cfiles # Not Available brew install --formula fastfetch # 這輩子有了 brew install --formula fzf brew install --formula ffmpeg @@ -116,6 +117,10 @@ brew install --formula zellij # Better Tmux for me brew install --formula wget brew install --formula wget2 brew install --formula speedtest-cli +brew install --formula tldr # Simplified man pages +brew install --formula cmake +brew install --formula bat +brew install --formula lsd # Editors brew install --cask visual-studio-code @@ -169,7 +174,7 @@ brew install --cask ltspice # `sudo` brew install --cask mactex-no-gui # Browser -brew install --cask edge # Default +brew install --cask microsoft-edge # Default brew install --cask arc brew install --cask firefox@nightly @@ -208,6 +213,7 @@ curl -fsSL https://raw.githubusercontent.com/rime/plum/master/rime-install | bas # Set default apps (duti) # The id of the app can be found by running # `osascript -e 'id of app "AppName"'` +brew install --formula duti echo "[INFO] Setting Default Apps" # Markdown -> Typora duti -s abnerworks.Typora .md all @@ -263,13 +269,4 @@ duti -s com.jetbrains.rider .csproj all duti -s com.jetbrains.rider .fsproj all # Video -> IINA duti -s com.colliderli.iina .mp4 all -duti -s com.colliderli.iina .mkv all - -echo "[INFO] Setting Up Oh-My-Zsh" -ln -sf $DOTFILES/zsh/.zshenv ~/.zshenv -ln -sf $DOTFILES/mac/.zshrc $XDG_CONFIG_HOME/zsh/.zshrc -source $XDG_CONFIG_HOME/zsh/.zshrc -sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" -git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH/custom/plugins/zsh-autosuggestions -git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH/custom/plugins/zsh-syntax-highlighting -source $XDG_CONFIG_HOME/zsh/.zshrc \ No newline at end of file +duti -s com.colliderli.iina .mkv all \ No newline at end of file diff --git a/mac/plum b/mac/plum new file mode 160000 index 0000000..4c28f11 --- /dev/null +++ b/mac/plum @@ -0,0 +1 @@ +Subproject commit 4c28f11f451facef809b380502874a48ba964ddb