Coding Workflow

Analyze

  • Break tasks Obsidian

Code

  • Vim + Tmux
  • Cursor AI/ VSCode for better AI support

Terminal

  • Change folder: fcd
  • Search history: Ctrl + r
  • Autocompletion: Ctrl + Space
  • Search and open a file: v

Git

  • Check log: g hist hoặc g llog
  • Find commit with message: g df
  • View commit blame / go to Github with goGithubLine and goGithubCommit
  • Checkout/Delete branch: fbc , fbd

Conventional Commit:

  • build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
  • ci: Changes to our CI configuration files and scripts (examples: CircleCi, SauceLabs)
  • docs: Documentation only changes
  • feat: A new feature
  • fix: A bug fix
  • perf: A code change that improves performance
  • refactor: A code change that neither fixes a bug nor adds a feature
  • test: Adding missing tests or correcting existing tests

Focusing

  • Dùng app Forest