Hitata / dotfiles

This is the dotfiles I use. I try to improve it commit by commit!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setup

Run brew

brew bundle --file=~/dotfiles/brew/.Brewfile

Check out Brew Manual

Install Rosetta needed in Mac with Apple silicon

In order to run "universal" app which is usual for Intel processor, we need to manual update with Rosetta mainly to run steam

softwareupdate --install-rosetta

apple support reference

Change to fish

Symlink fish config

make sure symlink first before entering fish which generate folder and files in .config

stow fish

add brew to $PATH

stackoverflow reference

fish
fish_add_path /opt/homebrew/bin

Fish as default/login shell

Either edit the /etc/shells or go to User & Groups > Advanced Options. (fish reference)

echo $(which fish) | sudo tee -a /etc/shells # if not already exists
chsh -s $(which fish)

go to dotfile directory and symlink using stow

stow brew
stow kitty
stow tmux
stow karabiner

Node

FNM

fnm list
fnm install 18 # node v18.17.0
fnm use 18
fnm default 18

Neovim

karabiner & keybinding

mainly to switch ctrl to caplock

raycast

Todo

  • Keyboard Shortcut > Spotlight > Off Show Spotlight search
  • Change Raycast hotkey to CMD + space

Usage

  • window manager

Others

stats

preference setup: [(battery_percent, housrs), network_in_out, disk_bar, gpu_bar, ram_pi_chart, clock_date]

Setting up for work

Google Chrome

  • sign in to google account
  • install Yomichan all 4 dictionaries (kanjidic, kireicake, jmnedict, jmdict)

Slack

Setting up for Myself

Notion

Install IDE: neovim

install vim-plug & plugins

./init_vim.sh

install typescript & tsserver

  • run yarn global add typescript typescript-language-server

Run Macos preference setup

./init_macos.sh

Communication

Messenger

Telegram

telegram or telegram-desktop

This includes

  • Finder app config preference
  • Dock config preference
  • Hot corners?
  • Safari & Webkit:q

TODO

  • Use stow to symlink all this to .config
  • brew install stow, stow symlink brew global :think:

Reference

Git commit convention

types

  • fixs: patch
  • feat: minor
  • docs: documents
  • refa: refactor
  • perf: performance improvement
  • test: write tests
  • cicd: CI/CD stuff
  • buil:
  • chor:
  • styl:

scope

  • brew
  • nvim
  • fish
  • tmux
  • kitty
  • hammerspoon

description format

  • must be in imperative mood, which is a demand
  • Can fit into this sentense: If applied this commmit will your subject line here
  • atomic commits approach: commit each fix/task as separate change
Ex:
1. feat(brew): install brave for browsing web without ads
2. fix(hammerspoon): update WindowMove spoon to hyper+m
3. docs(nvim): update git blame keybind to ,gco

About

This is the dotfiles I use. I try to improve it commit by commit!


Languages

Language:Vim Script 47.8%Language:Shell 30.4%Language:Lua 21.2%Language:Makefile 0.5%