vim versus plain vi: One Compelling Reason

My colleague, Michael Q, introduced me to a vim extension that left me saying… that’s awesome.

set cuc which enables Cursor Column, and when I use it with set number, it’s awesome to see correct indenting

The commands are:

  1. Shift + :
  2. set cuc and enter
  3. Shift + :
  4. set number and enter
`set cuc` which enables *Cursor Column*, and when I use it with `set number`, it's awesome to see correct indenting

Use set nocuc to disable

Good luck…

Post Script

  • Install vim with dnf install -y vim

Reference VimTrick: set cuc