Tag Info

Hot answers tagged

2

Try :set mouse=a, should be what you're looking for. Edit: As a side note, when you try to scroll through the file (as in two-finger scroll on a touchpad, for example), the text may not highlight as you'd expect. However, if you click where you want to start, then simply drag the mouse down, then everything should highlight as the mouse moves and the page ...


1

Without using mouse you can select lines in Vim. Get out of insert mode, hit one of the options below, and then move up or down a few lines. You should see the selected text highlighted. V - selects entire lines v - selects range of text ctrl-v - selects columns gv - reselect block After selecting the text, try d to delete, or y to ...



Only top voted, non community-wiki answers of a minimum length are eligible