According to the Vim help, using
g CTRL-A with visual mode should change several lines in A to that in B:
1. 1. 1. 1.
1. 2. 3. 4.
In my Vim, the
CTRL-A is working in normal mode, which increments a number. But when I am using visual mode, whether it is linewise, block or visual, it will not work. For example, when I press
CTRL-A in a help file, it will have this error:
E21: Cannot make changes, 'modifiable' is off
But if I use visual mode, there is no such error and no change happens. The same goes for
g CTRL-A and for an editable file.
How can I solve this problem? There are no requisites listed on the manual of this feature, so I probably won't need to recompile the Vim again?
E21is not the real problem, I just want to use it as an indicator that it doesn't work, i.e. it doesn't change or try to change anything.
:verfirst line output:
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Apr 13 2016 12:09:32)
Included patches: 1-1725