Cursor not reaching the end of the line
When the focus is at the end of the line, and the line is indented, the cursor doesn't reach the end of the line. For example, if the line is indented twice, when the focus is at the end of the line, the cursor is two characters before the end of the line. I'm using vim 7.4.258, and iTerm 2.0.
I have a similar pb with the cursor
to fix it, I added: let g:indentLine_noConcealCursor=1
It fixes the cursor issue but it raises another one. If the line is indented and the cursor is on it, it displays it a bit too much on the left. The problem is even worse when the line has a deep indentation. How can I fix this?
I can't understand your description quite well, could you give a screenshort?
I used the plugin indentLine. A strange thing happened today. When I create a new file with VIM, then copy and paste some python scripts. I see it automatically add a parentheses last line when I move the cursor to one parentheses.
root@test:~# cat 3.txt
import os
import sys
pth = "C:\Users\Test"
dir_show = os.listdir(pth)
for list_file in dir_show:
if list_file.endswith(".JPG"):
(shrname, exts) = os.path.splitext(list_file)
path = os.path.join(pth, list_file)
newname=os.path.join(pth,shrname[shrname.find(".")+1:len(shrname)]+".JPG")
os.rename(path,newname)
vim 3.txt

@zibuyule I don't think your issue is related to indentLine.
It is nice after I disabled the indentLine plugin. So I think my issue is related to indenetLine.
Same issue here. When I want to moving to end of line, the cursor is not moving to end of line, but end of line minus the number of indentations. If you start to insert text at the end of line, the cursors drags a few characters behind.
EDIT: after restarting vim, it works correctly. I had reloaded my vimrc from vim a few times, so maybe the issue is related to this.