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.
--
As the system comes up, the component builders will from time to time
appear,
bearing hot new versions of their pieces -- faster, smaller, more complete,
or putatively less buggy. The replacement of a working component by a new
version requires the same systematic testing procedure that adding a new
component does, although it should require less time, for more complete and
efficient test cases will usually be available.
-- Frederick Brooks Jr., "The Mythical Man Month"
--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Tuesday, August 13, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment