Vim Tutorial Study(11)

Chapter 12 Automatic Completion
automatically complete words on insertion, different from abbreviations
where you type the first part of a word, press CTRL-P and Vim guesses at the rest
CTRL-P or CTRL-p is very powerful! (searches backward)
Remember that even you haven't type portion of a word, it can guess that word by previous matches! Oh My Goodness!
CTRL-N OR CTRL-n: searches forward
Customization of Completion
:set ignorecase: try all words regardless of case
Chapter 13 Autocommands

An autocommand is a command executed automatically in response to some event.

Chapter 14 File Recovery and Command-Line Arguments
Survive system crashes with minimum losses of data

Chapter 15 Miscellaneous Commands
Printing the  Character

:ascii or ga: prints the number of the character under the cursor
Going to a Specific Character in the File
<count>go: goes to byte number count of the file
gCTRL-g: displays the current byte number of a file (along with the current line, column, and other information)
:goto offset: positions the cursor to a given byte location
gg: like G, the difference: if no count is specified, gg goes to the first line

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值