[vim ] 這種情況你會怎麼換行?
一些插件會自動幫你加括號等,所以打完 you 之後,游標停留在那個豎橫,
而且處在 insert mode。如果要換行,要怎麼做最好?
1. <end> <enter> 。用 vi 好像就是不鼓勵用 <home> <end> 這些鍵?
2. 回一般模式再按o。每一行都按兩次,在兩個模式間切換,好像還是怪?
3. 是否有其他方式呢?
print("how are you|")
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 223.136.150.114
※ 文章網址: https://www.ptt.cc/bbs/Editor/M.1478265112.A.7C6.html
※ 編輯: ggirls (223.136.150.114), 11/04/2016 21:19:22
※ 編輯: ggirls (223.136.150.114), 11/04/2016 21:19:58
→
11/04 22:06, , 1F
11/04 22:06, 1F
→
11/04 22:07, , 2F
11/04 22:07, 2F
→
11/04 22:07, , 3F
11/04 22:07, 3F
→
11/05 00:56, , 4F
11/05 00:56, 4F
→
11/05 01:01, , 5F
11/05 01:01, 5F
推
11/05 14:12, , 6F
11/05 14:12, 6F
→
11/05 14:13, , 7F
11/05 14:13, 7F
→
11/05 14:14, , 8F
11/05 14:14, 8F
→
11/07 00:34, , 9F
11/07 00:34, 9F
→
11/07 00:35, , 10F
11/07 00:35, 10F
→
11/07 00:36, , 11F
11/07 00:36, 11F
推
11/07 08:52, , 12F
11/07 08:52, 12F
→
11/07 08:52, , 13F
11/07 08:52, 13F
→
11/07 08:54, , 14F
11/07 08:54, 14F
→
11/07 09:39, , 15F
11/07 09:39, 15F
推
11/08 18:44, , 16F
11/08 18:44, 16F
推
11/08 18:49, , 17F
11/08 18:49, 17F
→
11/08 19:08, , 18F
11/08 19:08, 18F
→
11/11 18:55, , 19F
11/11 18:55, 19F
推
11/11 23:21, , 20F
11/11 23:21, 20F
→
11/11 23:22, , 21F
11/11 23:22, 21F
→
11/11 23:22, , 22F
11/11 23:22, 22F
推
11/18 00:33, , 23F
11/18 00:33, 23F
推
11/23 01:29, , 24F
11/23 01:29, 24F
Editor 近期熱門文章
PTT數位生活區 即時熱門文章