VIM Pressing shift+i exits visual select mode -


i trying comment out file lines in python. following below steps column edit mode. however, every time press shift + i, exits visual mode , enters insert mode. suggestion

step 1: press ctrl + v step 2: select lines using arrow keys step 3: press shift + i, quits visual mode. note: 'r' enters replace mode without exiting visual mode

yes, exits visual mode let enter text @ beginning of visual selected block, guess want add # comment whole block, type #, press esc see selected block commented out.


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -