Copy the following three lines to the clipboard (for example, you could use your web browser to copy the lines from this tip). if (y==1){ printf("y=1"); } In Vim, put the cursor on the closing brace '}' in the following. Then press Ctrl-v. if (x==1){ printf("x=1"); } The above mapping will insert the clipboard and indent it, with result: if (x==1){ printf("x=1"); if (y==1){ printf("y=1"); } }
Graph IRI | Count |
---|