假设以下代码:
//cypher1.c -- alters input, preserving spaces
#include <stdio.h>
#define SPACE ' '
int main(void) {
char ch = getchar();
while (ch != '\n') {
if (ch == SPACE)
putchar(ch);
else
putchar(ch+1); //change other characters
ch = getchar();
}
}
当逐行浏览时,我应该使用光标或箭头到达下一行,在vim中是否有用于浏览的快捷方式?