Deleting lines upward in vim Linux -


how in vim, lets im in line 100 , want delete 20 lines upward? how in vim linux?

in normal mode can use d , movenment key k delete upwards. , prefix command number of times want repeat command 100dk.

if want delete beginning can use gg along d, gg sends cursor first character in file. ggd delete first line line standing on.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

qt - Errors in generated MOC files for QT5 from cmake -