![]() |
1
ixx 109 天前
呃。。。直接插入一个空行 然后 esc
yy 复制空行 100p 就插入了 100 行了 这样是不是更快? |
![]() |
2
churchill 109 天前
o enter enter enter
|
3
yuancoder 109 天前
试了一下,不行啊
|
![]() |
4
SimonOne 109 天前
显示 Invalid range
|
5
visper 109 天前
o<esc>100.
o 是在后面插入一行,esc 回到 normal 模式, 100.是重复.命令 100 次, 而.是指重复之类的 o 命令 |
6
monkeykk 109 天前
我的笨方法
noremap <leader>o o<Esc> noremap <leader>O O<Esc> 插入 30 行就 30<leader>o |
![]() |
7
xgfan 109 天前
哈哈哈,今天也在 coolshell 看到类似的情况了。
chatgpt 会“伪造”一些名词和参考文献。 |
![]() |
8
JackCh3ng 109 天前
命令模式输入:<number>i<text><Esc>
比如插入一百行:100i<Enter><Esc> 插入一百行 hello:100ihello<Enter><Esc> |
![]() |
10
yianing 109 天前 ![]() normal 模式下
20o 插入 20 个空白行 |
![]() |
11
ck65 109 天前
最近我也在用 ChatGPT 指导写 C++。问题在于,你试一下它的答案不是立即就知道对不对了吗
❌ 试一下答案对不对先 ✅ 先截图,传到一个 VPS 上,虽然没有配置好 SSL 但不要紧,然后发一个帖子分享一下这个发现,最后再来试一下答案对不对 |
![]() |
12
jmc891205 109 天前
copy 一个今天在 HN 上看到的评论:
> The BS that ChatGPT generates is especially odious because it requires so much effort to > detect if you're not a SME[1] in whatever output it's giving. > Plus, the output, when wrong, is subtly wrong- it's usually not obvious BS, it's credible BS. > If you are not competent in the particular area you're asking about, you likely don't have > the skills to recognize BS. [1]: SME: subject-matter expert |
![]() |
15
obulks 108 天前
esc esc esc o esc yy 100p
|
16
zlowly 108 天前
如果你用英文 google: how to insert multiple empty line in vim ,你会得到更简洁的答案
10o<Esc>会在当前行前加入 10 个空行 10O<Esc>会在当前行后加入 10 个空行 chatgpt 给了最麻烦的方法 |