Trying the above with
vi (not
vim), everything works as expected; i.e., get on the first line, type
2yy, get to line 4, type
p,
viola. Do similar things and use upper case
P (to paste above) and lower case
p (to paste below) and all is well.
Hmm.
Did the same thing in
vim, same results.
Hmm.
So
vim settings are
Code:
autoindent hlsearch ruler ttymouse=xterm2
backup incsearch showcmd
helplang=en modified showmatch
history=50 mouse=a ttyfast
backspace=indent,eol,start
backupskip=/tmp/*,/var/spool/cron/*
(So are
vi settings).
The only thing I have "different" is a
.exrc file (that sets things for
vi)
Code:
cat .exrc
set autoindent showmode showmatch
Maybe comment everything in your
.vimrc then un-comment one-by-one?
Hope this helps some.