We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
24.5 从另一行拷贝
CTRL-Y 命令插入光标上方的字符。当你复制前一行文本的时候,这个命令很有用。例 如,你有这么一行 C 代码:
b_array[i]->s_next = a_array[i]->s_next; ~
现在你需要把这一行再键入一次,并以 "s_prev" 取代 "s_next"。换行以后,按 14 次 CTRL-Y,直到光标位于 "next" 的 "n" 上:
b_array[i]->s_next = a_array[i]->s_next;~ b_array[i]->s_ ~
现在你键入 "prev":
b_array[i]->s_next = a_array[i]->s_next; ~ b_array[i]->s_prev ~
继续按 CTRL-Y 直到下一个 "next":
b_array[i]->s_next = a_array[i]->s_next;~ b_array[i]->s_prev = a_array[i]->s_ ~
现在键入 "prev;" 以结束这一行。
CTRL-E 命令操作起来跟 CTRL-Y 一样,只不过它插入光标下方的字符。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
24.5 从另一行拷贝
CTRL-Y 命令插入光标上方的字符。当你复制前一行文本的时候,这个命令很有用。例
如,你有这么一行 C 代码:
现在你需要把这一行再键入一次,并以 "s_prev" 取代 "s_next"。换行以后,按 14 次
CTRL-Y,直到光标位于 "next" 的 "n" 上:
现在你键入 "prev":
继续按 CTRL-Y 直到下一个 "next":
现在键入 "prev;" 以结束这一行。
CTRL-E 命令操作起来跟 CTRL-Y 一样,只不过它插入光标下方的字符。
The text was updated successfully, but these errors were encountered: