/srv/irclogs.ubuntu.com/2008/10/13/#ubuntu-classroom.txt

=== txwikinger2 is now known as txwikinger
Obuntuhi all09:45
=== Rafik_ is now known as Rafik
=== _jason is now known as jrib
wpjrib: okay15:24
jribhi wp15:24
jribwp: vim /path/to/file15:24
wpjrib: yes15:25
wpjrib: then how do i select all?15:25
jribwp: "*yG15:25
jribthen middle click with your mouse in your browser to paste15:25
wpjrib: what does that mean?.... okay, the middle mouse button, but "ctrl + insert = copy" is true right?15:26
jribno15:26
jribwp: after you open vim you press the keys I am putting on the next line to copy:15:27
jrib"*yG15:27
wpjrib: okay tried it the vim said "1407837 lines yanked" but when I wanted to paste it nothing happened15:28
jribwp: how did you try to paste?15:28
jribwhy are you pasting so many lines?15:28
wpjrib: middle mouse button, and ctrl-v.... because I have not heard of another easyer way15:29
wpjrib: I need all those lines in one dialog box in forefox at the same time15:31
jribwp: try one line to make sure you are doing right15:32
jribdo this in vim:15:32
jrib"*yy15:32
jribthen try to middle click to paste15:32
wp"*yy does nothing in vim, and wont copy anything15:33
jrib:/15:35
jribare you just trying to pastebin this file by the way?15:35
wpnope15:35
jribwhat was the problem with gedit again?15:35
wpwhen I use it to show 1407837 lines of text my computer goes very slow... when I try to copy all the lines then my computer are on the verge of crashing and wont copy it all15:37
wpit at all15:37
jribok15:37
jribwp: sudo apt-get install vim15:37
jribvim-tiny is apparently not able to do what we ask15:38
persiaHrm?  vim-tiny supports yank15:38
wphow do I quit vin?15:39
wpvim15:39
persiaHowever vim only yanks to the internal buffer : it doesn't propagate to other applications.15:39
jribwp: :q15:39
jribpersia: right, we were trying to copy to the clipborad15:39
persiaRight, but even vim-full doesn't do that with yank.15:41
wppersia: is there a good way of copy/past 1407837 lines of text into a firefox dialog?15:42
jribwfm15:42
persiaHrm.  Odd.15:42
wpdone installing vim15:42
jrib"* corresponds to the X buffer and "+ for the ctrl-c ctrl-v one15:42
jribs/buffer/register15:42
jribor whatever15:42
jribwp: try opening the file again then do:15:43
persiawp, Try listening to jrib.  If that doesn't work, either use a GUI text editor to load the text, or something like klipper, glipper, or xsel.15:43
jribyeah, xsel is a good idea15:43
jrib"*yy15:43
jribthen try middle clicking in your browser.  You should get the first line15:43
wpi dont... i get the old clipboard... that were the name right?15:45
jribwp: let's try a different way then15:47
jribwp: :q  to close vim15:47
jribwp: install xclip15:47
wpdone instaling xclip15:48
jribwp: then run: xclip -i /path/to/file15:49
persiajrib, When you're done, if you figure out which vim script you have installed that makes it work, I'd be happy to have a pointer :)15:50
jribpersia: doesn't work for you either?15:51
persiaNope :)15:51
jribpersia: vim --version | grep xterm_clipboard     returns something?15:52
jribwith a + of course :)15:52
persiaYes.15:52
jribhmm, /me tries in a fresh vbox15:52
jribpersia: are you in gnome?  Seems to work without any ~/.vim* after installing vim-gnome16:12
persiajrib, Hrm.  I use vim-full.  Maybe that's the difference.  I'll investigate a bit.  Thanks.16:12
=== txwikinger is now known as Guest90923
=== txwikinger2 is now known as txwikinger
=== emma_ is now known as emma
=== Rafik_ is now known as Rafik

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!