Is it possible to use SHIFT + drag mouse to select a column of text in VIM? If so, how?
Is it possible to use SHIFT + drag mouse to select a column of
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No. Vi was written for restricted non-graphical environments and doesn’t even assume the presence of arrow keys. Depending on what shell / terminal you’re using, you may be able to use your operating system’s mouse and text selection facilities to do what you need. Just bear in mind they’re not native to Vim.
Use Ctrl+V and J/K [or up/down arrows if you have them ;)] to move the highlighted selection.
Hit Y to copy the column and p to paste it somewhere else.