=== txwikinger2 is now known as txwikinger | ||
Obuntu | hi all | 09:45 |
---|---|---|
=== Rafik_ is now known as Rafik | ||
=== _jason is now known as jrib | ||
wp | jrib: okay | 15:24 |
jrib | hi wp | 15:24 |
jrib | wp: vim /path/to/file | 15:24 |
wp | jrib: yes | 15:25 |
wp | jrib: then how do i select all? | 15:25 |
jrib | wp: "*yG | 15:25 |
jrib | then middle click with your mouse in your browser to paste | 15:25 |
wp | jrib: what does that mean?.... okay, the middle mouse button, but "ctrl + insert = copy" is true right? | 15:26 |
jrib | no | 15:26 |
jrib | wp: after you open vim you press the keys I am putting on the next line to copy: | 15:27 |
jrib | "*yG | 15:27 |
wp | jrib: okay tried it the vim said "1407837 lines yanked" but when I wanted to paste it nothing happened | 15:28 |
jrib | wp: how did you try to paste? | 15:28 |
jrib | why are you pasting so many lines? | 15:28 |
wp | jrib: middle mouse button, and ctrl-v.... because I have not heard of another easyer way | 15:29 |
wp | jrib: I need all those lines in one dialog box in forefox at the same time | 15:31 |
jrib | wp: try one line to make sure you are doing right | 15:32 |
jrib | do this in vim: | 15:32 |
jrib | "*yy | 15:32 |
jrib | then try to middle click to paste | 15:32 |
wp | "*yy does nothing in vim, and wont copy anything | 15:33 |
jrib | :/ | 15:35 |
jrib | are you just trying to pastebin this file by the way? | 15:35 |
wp | nope | 15:35 |
jrib | what was the problem with gedit again? | 15:35 |
wp | when 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 all | 15:37 |
wp | it at all | 15:37 |
jrib | ok | 15:37 |
jrib | wp: sudo apt-get install vim | 15:37 |
jrib | vim-tiny is apparently not able to do what we ask | 15:38 |
persia | Hrm? vim-tiny supports yank | 15:38 |
wp | how do I quit vin? | 15:39 |
wp | vim | 15:39 |
persia | However vim only yanks to the internal buffer : it doesn't propagate to other applications. | 15:39 |
jrib | wp: :q | 15:39 |
jrib | persia: right, we were trying to copy to the clipborad | 15:39 |
persia | Right, but even vim-full doesn't do that with yank. | 15:41 |
wp | persia: is there a good way of copy/past 1407837 lines of text into a firefox dialog? | 15:42 |
jrib | wfm | 15:42 |
persia | Hrm. Odd. | 15:42 |
wp | done installing vim | 15:42 |
jrib | "* corresponds to the X buffer and "+ for the ctrl-c ctrl-v one | 15:42 |
jrib | s/buffer/register | 15:42 |
jrib | or whatever | 15:42 |
jrib | wp: try opening the file again then do: | 15:43 |
persia | wp, 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 |
jrib | yeah, xsel is a good idea | 15:43 |
jrib | "*yy | 15:43 |
jrib | then try middle clicking in your browser. You should get the first line | 15:43 |
wp | i dont... i get the old clipboard... that were the name right? | 15:45 |
jrib | wp: let's try a different way then | 15:47 |
jrib | wp: :q to close vim | 15:47 |
jrib | wp: install xclip | 15:47 |
wp | done instaling xclip | 15:48 |
jrib | wp: then run: xclip -i /path/to/file | 15:49 |
persia | jrib, 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 |
jrib | persia: doesn't work for you either? | 15:51 |
persia | Nope :) | 15:51 |
jrib | persia: vim --version | grep xterm_clipboard returns something? | 15:52 |
jrib | with a + of course :) | 15:52 |
persia | Yes. | 15:52 |
jrib | hmm, /me tries in a fresh vbox | 15:52 |
jrib | persia: are you in gnome? Seems to work without any ~/.vim* after installing vim-gnome | 16:12 |
persia | jrib, 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!