1. search current word
shift + 8 (ie., *)
2. open two file, and split them in two windows
split files horizontally:
vim lib/Headers/altivec.h jyj.format -o
split files vectically:
vim lib/Headers/altivec.h jyj.format -O
3. substitute contents that contains "[","]" need escape char, like
replace "e[" with "(int)e["
:%s/e\[/(int)e\[/gc
No comments:
Post a Comment