insert new line vim code example
Example 1: vim delete line
# Basic syntax:
dd
# Note, add a number in from of dd to delete that many lines, e.g.:
5dd # Delete the next 5 lines
Example 2: echo new line
echo -e "hello\nworld"
# Output
/*
* hello
* world
*/
Example 3: insert line above current line vim
o: Insert new line below current line
O: Insert new line above current line