On 8/13/13 7:29 PM, Tony Mechelynck wrote:
On 13/08/13 18:35, Charlie Andrews wrote:
[...]
All my command mode stuff was working fine and yes, setting 'backspace'
worked. I'm still curious as to why my backspace was working before. I
just checked and I have no other '.vimrc' file besides the one in my
home directory. Is there somewhere else settings are kept? Just curious,
at this point 7.4 is working with the 'set backspace=2'.
-Charlie
The file $VIMRUNTIME/vimrc_example.vim contains a lot of useful
settings, and among them the line
set backspace=indent,eol,start
If your vimrc sourced it before and now doesn't, or if it still tries
to source it but at a location where it doesn't exist anymore (for
instance, the equivalent of $VIM/vim73 which would be the $VIMRUNTIME
of Vim 7.3 but not of Vim 7.4), that would explain why suddenly the
backspace key refused to go past a line break or past the start of
insert (whichever it meets first).
To find the vimrc_example.vim at the proper location for whichever
version of Vim you may be using, use one (and only one) of
:source $VIMRUNTIME/vimrc_example.vim
or
:runtime vimrc_example.vim
They are equivalent except in the rare case where you would have a
file of the same name in ~/.vim or in $VIM/vimfiles
I still see no explanation to your stated impossibility to delete with
the d command, however, unless you tried it in a file with
'nomodifiable' set on it, e.g. a helpfile. Ben repeatedly asked which
exact d{motion} command you used where, but you didn't answer.
See
:help 'backspace'
:help $VIMRUNTIME
:help :source
:help :runtime
:help 'modifiable'
Best regards;
Tony.
the 'd' command worked fine. I did not test fully. Also, I believe
everyone's assumptions were true that I was sourcing some other config
file. Thanks everyone!
-Charlie
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.