Tuesday, May 5, 2015

one vim command a day makes you feel happy

I mostly switch to sublime,after getting frustrated with vim but vim is really cool if you know commands.So i decided i want to post what i've learned today.
#How to delete all lines of file in Vim?
"""
Date:6-5-2015
Solution

    Type gg to move the cursor to the first line of the file, if it is not already there.
    Type dG to delete all the lines.
"""


Learn python for fun.The popular blog with questions and answers to the python.Solutions to facebookhackercup,codejam,codechef.The fun way to learn python with me.Building some cool apps.

No comments:

Post a Comment