Let's say you want to append some code beneath a line. To do this, we had to go to our line, then press "A" and ENTER. Remember that even two key strokes is sometimes too much in Vim. Thankfully, Vim makes this process much easier with the "o" key. Think of "o" as in open. To add a line, use: o - open a line below O - open a line above Let's add some comments to this python function: def sumAndSquare(a, b): #comment here sum = a+b # another comment here return sum ** 2 We can also join lines together. J - join current line with the one below Turn this block of text back into one line! Review Questions: 1) Insert a period at the end of this line 2) Insert a "please" in front of the following sentences: give me a cookie. don't text and drive. Solutions: 1) A. 2) on each line, type "IPlease"
This foam seat cushion relieves lowerback pain, numbness and pressure sores by promoting healthy weight distribution, posture and spine alignment. Furthermore, it reduces pressure on the tailbone and hip bones while sitting. Perfect for sitting on the computer desk for long periods of time.$ Check price
This book approaches system administration in a practical way and is an invaluable reference for both new administrators and experienced professionals. It details best practices for every facet of system administration, including storage management, network design and administration, email, web hosting, scripting, and much more.$ Check price