insert line above vim code example
Example 1: insert line above current line vim
o: Insert new line below current line
O: Insert new line above current line
Example 2: vim insert text before every line
:'<,'>s!^!//!
o: Insert new line below current line
O: Insert new line above current line
:'<,'>s!^!//!