A shell script to help you set up development environment.
fork from https://github.com/bestswifter/macbootstrap
custom by myself
-
First make sure ssh-keygen and xcode command tool
-
Just execute:
curl https://raw.githubusercontent.com/hanl001/macbootstrap/master/setup.sh | sh
hl
: some commands to manage this projectx
: zip or unzip anyfilej
: autojump to anywhereranger
: finder at itermpin
: pod installpud
: pod updatela
: ls -ao
: openoo
: open .os
: open *.xcworkspaceoj
: open *.xcodeprojvs
: open /System/Volumes/Data/Applications/Visual\ Studio\ Code.appph
: open /System/Volumes/Data/Applications/PhpStorm.appsf
: show 'hidden file' on finderhf
: hidden 'hidden file' on findervf
: vim fzf findssh -A
: ssh-agent with local id_rsa
git st
: git statusgit cm
: git commit -amgit co
: git checkoutgit lg
: beauty git loggit dv
: git difftool use vim
keys | usage |
---|---|
ctrl + p |
use fzf search files |
ctrl + n |
toggle right dir tree |
wm |
toggle left window |
ctrl + h/j/k/l |
move at windows |
,r |
to replace selected words |
,f |
go to first window |
,sp |
:set paste |
,snp |
:set nopaste |
[SPACE] |
/ |
pjson
: pretty json print- all command at chisel
- j: use autojump to anywhere