按地址删除多行


8

我当时正在看这个vimgolf挑战,我认为按地址删除特定行会很好。我知道我可以:<line_number>d用来做,但是有没有办法列出d要运行的多个行号?我想象这样的事情::1,4,32d,但是它当然不起作用。

怎么做?

Answers:


By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.