Move
cd -: go to previous directory
Type
C-u: delete all lineC-w: delete word
Search
- ctrl + r
type keyword to search history command !nvim <tab>!! <Enter>
Kill process running port
lsof -i:3000
kill <PID>
目錄大小
du -sh <path>
Library
ripgrep
brew install ripgrep
usage:
rg <word>