How to add comma to end of multiple lines in
1- First go to
2- Now select your mutiple lines by going down using
3- Go to end of line by pressing
4- Now press
5- type comma
6- press ESC (wait one second or so)
Voila! We're done.
#vim #tricks #VB #visual_block
VIM
? Yeah, that's tricky boy :))))1- First go to
Visual Block
mode by pressing ^v (CTRL+V)2- Now select your mutiple lines by going down using
down arrow
button.3- Go to end of line by pressing
end
command in your keyboard in linux and windows or if you're using MAC
by pressing fn+right arrow
.4- Now press
shift+A
(It worked in MAC in linux we needn't that)5- type comma
6- press ESC (wait one second or so)
Voila! We're done.
#vim #tricks #VB #visual_block