quickfix command 是vim用來控制儲存make grep命令輸出的list
:cope[n] [height] 開new window show quickfix list [height] = windwo height :ccl[ose] Close quickfix window. :cn next quickfix item :cp pre quickfix item
Visual Mode / Delete
Select 指令
- aw
- a word 會包含blank char
- aW
- a Word
- iw
- inner word 不會包含blank char
- iW
- inner Word
- a] a[
- [] blokc 包含[]
- i] i[
- []blokc 不包含[]
Note
和a] a[ i] i[一樣的有 a( a) i( i) a<> i<> a{ a}....
還有" ' 的版本 a" a' a i" i` i'
用在html或是xml的tag
at it
Note
word : [0-9a-zA-Z]組成的string Word:[^s]組成的string
Delete指令
和visual select很類似
- diw
- delete inner word
- daw
- delete a word
- diW
- delete inner Word
- dib
- Delete ()內的字串
- dab
- delete ()和其內部字串
- diB
- delete {}內字串
- daB
- delete{}和內部字串
沒有留言:
張貼留言