Step 1 : Set up your compiler
- Right click your project and click Properties
- Under C/C++ Build click Settings
- Under GCC C++ Compiler, click Miscellaneous
- In the Other Flags box, append "-std=c++11" to the list of tokens
- Click Apply and OK
:10,15s/^/#
Use this command to uncomment lines commented before.
:10,15s/^#/
:%s/<search_string>/<replace_string>/g
:s/<search_string>/>replace_string>/
:6,10s/<search_string>/<replace_string>/g | 14,18&&
The :&& command repeats the last substitution with the same
flags. You can supply the additional range(s) to it (and concatenate as
many as you like):
:for range in split('6,10 14,18')| exe range 's/<search_string>/<replace_string>/g' | endfor
This four options can be used in almost any time that we want select and replace in gvim
Usually move to a directory just after creating is bit of a anxious task specially if the directory name is too long. mkdir long-name-of...