1

I had a file of 96 lines i selected all lines and paste with vim in new file but..paste only first 50 lines. What to check? I see this only on newest version of vim on slackware-current,the old 14.1 paste correctly

my vimrc

set nohlsearch
set mouse=""
set paste
set ruler
set clipboard=unnamedplus
setlocal cm=blowfish2
  • 1
    How did you select? How did you paste? – Mikel Apr 27 '16 at 4:50
  • Could you put the code here please? – sjsam Apr 27 '16 at 4:58
  • Select with y and paste with p – elbarna Apr 27 '16 at 5:38
  • 1
    @elbarna, y doesn't select. Did you use the mouse to select? Did you use an ex command like :1,96ya or :%ya? Visual mode, perhaps? How did you select and how did you paste? (What keystrokes?) – Wildcard Apr 27 '16 at 5:48
  • 1
    @elbarna ggVG y pworked for me with (at least) 1000 000 lines. – JJoao Apr 29 '16 at 8:21
2

A solution from the StackOverflow:

:help 'viminfo'
 ...
 <       Maximum number of lines saved for each register.
 ...
 :set viminfo?
 :set viminfo='100,<100,s10,h

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.