⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 l4.2

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 2
字号:
#print		More Movement - Search in the Line   Frequently one would like to be able to say, "Move the cursor over tothe character 'x'", for some x.  This would be nicer than having to hit thespace bar a jillion times or even than using the word commands.  Vi providessuch a facility in the 'find' commands.   To move the cursor to the next 'x' on the current line, type 'fx'.  This'finds' the next 'x'.  If there isn't one, vi will beep at you.  To move inthe other direction (i.e. to find the previous 'x' on this line), type 'Fx'.Since you frequently find that the one it moved to wasn't the one you wanted,just one that you didn't see, vi provides an easy way to repeat the search, byusing the ';' key.  To repeat it but in the opposite direction, use ','.   Variants of this command which will, for a time, appear to be almostuseless are the 't' and 'T' commands, which work exactly like the 'f' and 'F'commands but stop one character short of the destination, going up 'to' thecharacter you're searching for but not on it.  We'll see why this commandexists when you look at the concept of 'targets' for commands.   Type 'ready' to try out the inline searching facilities.#user#create InlineThe inline searching commands are as follows:	fx = Find next 'x' on current line, for any 'x'.	Fx = Find previous 'x' on current line, for any 'x'.        tx = Like 'fx' but stops one character short	Tx = Like 'Fx' but stops one character short	 ; = Repeat previous inline search	 , = Repeat previous inline search but in opposite directionThe ';' and ',' commands unfortunately seem to have utterly un-mnemonic names.They were chosen, however, because of their convenient placement on mostkeyboards.#vi Inline#next4.3  10

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -