Click to See Complete Forum and Search --> : VIM 7 backspace problems
ooagentbender
05-09-2006, 05:58 AM
If I enter a new line and then hit return, I can't delete anything in that line using the backspace key so if vim looked something like this...
--------------------------------------------------------------
blah blah blah
blah2
~
~
~
-- INSERT --
---------------------------------------------------------------
at this point i can delete blah2 using backspace but if I move my cursor up I can't use the backspace key on that line.
anyone?
mkrenz
05-09-2006, 05:21 PM
Does the cursor actually move to the left after you move up a line and hit backspace? Can you make sure that when you hit the up arrow and also when you hit backspace that you are still in insert mode each time? Sometimes you can be in a TERM setting that will cause backspace and also arrow keys to send escapes that take you into command mode at which point backspace will just move your cursor to the left. Actually, run echo $TERM and let us know what your TERM is set to. Actually, also within Vim command mode, type :set and send us the output from that too because it will be useful.
I'm assuming that you just upgraded to vim 7 to try it out, where you using vim before?
nabetse
05-09-2006, 06:19 PM
perhaps you can try set backspace=indent,eol,start in your .vimrc
I had the same problem before. The above fixed it. Of course, that was for 6.3 not 7.
ooagentbender
05-10-2006, 02:35 AM
when I move it up a line its still in insert mode.
heres the :set output
helplang=en modified number tabstop=2
iminsert=0 mouse=a shiftwidth=2
fileencodings=ucs-bom,utf-8,default,latin1
omnifunc=ccomplete#Complete
tags=./tags,./TAGS,tags,TAGS,~/.vim/systags
termencoding=utf-8
and $TERM = xterm
thanks all
ooagentbender
05-10-2006, 02:44 AM
perhaps you can try set backspace=indent,eol,start in your .vimrc
I had the same problem before. The above fixed it. Of course, that was for 6.3 not 7.
Worked perfect... thanks SOLVED!