Column Selection Mode (Ctrl+V) on Vim Doesn't Work as Expected

Column Selection Mode (Ctrl+V) on Vim Doesn't Work as Expected

I'm trying to select & edit these text:

pick e17a1b1 test 1
pick 37d4ccb test 2
pick c7ab952 test 3
pick 905617f test 4
pick 1c77d56 test 5
pick 1805ffa test 6

What I do:

  1. ctrl + v (not V, because Ubuntu interprets it as paste action);
  2. select all pick words;
  3. shift + I;
  4. start typing abc;
  5. esc, esc ..;
  6. from here is either nothing changes (if I type some different characters) or change the only first line.

What do I wrong?

UPDATE

I've tried vim-gnome and doing the same leads to the expected result!

6

1 Answer

After some troubleshooting with Timur Fayzrakhmanov (see comments on OP) we found the following solution:

Ubuntu comes by default with a stripped down version of vim. In order to get the whole vim functionality, package vim-nox should be installed.

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Elena Rostova
Author

Elena Rostova

Elena Rostova holds a Master's degree in Public Health Journalism. She covers groundbreaking medical research, holistic wellness trends, mental health awareness, and nutritional science.