| | |
Ctrl-A and pasting in vi editor
Thread Solved |
•
•
Join Date: Nov 2009
Posts: 12
Reputation:
Solved Threads: 0
Helloo!
I have a .txt file with around 1000 lines in it - each line just has a number. What I want to do is to copy all 1000 lines and paste it into an excel sheet.
So, I went up to the first line, changed to visual mode, and used shift+g to select all lines. Then I used ctrl+insert to copy them and then I went to excel and pasted them - but, only 41 lines get pasted!!
Please help!!
I have a .txt file with around 1000 lines in it - each line just has a number. What I want to do is to copy all 1000 lines and paste it into an excel sheet.
So, I went up to the first line, changed to visual mode, and used shift+g to select all lines. Then I used ctrl+insert to copy them and then I went to excel and pasted them - but, only 41 lines get pasted!!

Please help!!
Last edited by chandini.david; Nov 8th, 2009 at 5:56 pm.
0
#2 Nov 9th, 2009
have you tried other programs?
my guess would be you are hitting a limit, it may be software or hardware. obviously if it is a limit in your hardware (memory), there is not much you can do, unless you can get it onto another computer.
my guess would be you are hitting a limit, it may be software or hardware. obviously if it is a limit in your hardware (memory), there is not much you can do, unless you can get it onto another computer.
0
#4 Nov 10th, 2009
This is a limitation by "What's on the screen", if you want to use the vi copy function you could do something like '1000y' to put it into the yp keyboard.
If you want to do this easier, you can use gvim, select all, then use the copy button on the toolbar, which should get rid of the per screen limitation, or you can just rename the file to .csv and open it in excel, it will automatically put all the values on the first column.
If you want to do this easier, you can use gvim, select all, then use the copy button on the toolbar, which should get rid of the per screen limitation, or you can just rename the file to .csv and open it in excel, it will automatically put all the values on the first column.
--
<Something clever here>
RHCDS/MCP/DCSP
<Something clever here>

RHCDS/MCP/DCSP
![]() |
Similar Threads
- How to "Append a single line/word to all lines in text file"? (Windows Software)
- Task manager and registry editor disabled (Windows NT / 2000 / XP)
- inventory program (Java)
- simple text editor (C++)
- Code Snippet: Prime Number Generator (Python) (Python)
- ascii text editor (OS X)
- System Crashes and installed applications take a lot of time to load (Viruses, Spyware and other Nasties)
- edlin text editor (C++)
Other Threads in the Getting Started and Choosing a Distro Forum
- Previous Thread: Trouble using nohup with &
- Next Thread: choosing your own distro
Views: 865 | Replies: 4
| Thread Tools | Search this Thread |
Tag cloud for Getting Started and Choosing a Distro
age-related android baremetal chrome cio cloud cloudcomputing code commercial computers crystalballsunday desktop developers development distributions distro dsl elderly embedded filesystems forums google http://expertcore.org/ innovations jauntyjackalope joe_brockmeier kernel library linus linux microsoft multi-core netgear newbies novell openoffice.org opensuse open_source operating operatingsystems parallel performance processing redhat routers smp solaris studios system systembuilders systemintegrators terminalservices thecloud thinclients tools ubuntu users virtualization vmware webbased wikis windows xenon





