:set relativenumber
It is useful when you want to delete a block of lines, quickly without entering in visual mode and selecting
For example,
To delete lines Setima Linha (0) until Nona Linha (2) , just type:
d 2 j
To delete lines from Setima Linha (0) until Segunda Linha (5), just type:
d 5 k
No comments:
Post a Comment