I have a strange trouble with vim (8.0.95). My format options are fo=cq
and nowrap
. When I have a long line, which does not fit my terminal window, the view of the file does not include the first column. Lets say the line has 300 characters, but my terminal window only shows 100. Then, if my cursor is on character 300, I can only see characters 201-300.
In this case, when pressing 0
, the cursor jumps to character 201, and the horizontal scroll does not change.
If I press Shift+i
, the cursor moves to character 1 and switches to insert mode.
The same happens for $
and Shift+a
. But it does not happen for a vanilla config. Any idea which plugin/setting might affect this behavior? This happens irrespective of the filetype
. And whether I'm in Gnome terminal or on the console.