Many times you need to type the same character many times and for that you need to long press that character and this wastes time. Well, there is a smarter way to do this in Vim.
Suppose you need to type _(underscore) 50 times.
So to do this, go in command mode by pressing Esc key and type the following:
50i_<Esc>
The moment you press <Esc>, the one undersocre that appears on the screen will be repeated 50 times, and now you can see 50 underscores on the screen one after the other.
Suppose you need to type _(underscore) 50 times.
So to do this, go in command mode by pressing Esc key and type the following:
50i_<Esc>
The moment you press <Esc>, the one undersocre that appears on the screen will be repeated 50 times, and now you can see 50 underscores on the screen one after the other.
No comments:
Post a Comment