Which light text editor can copy text from file and paste in browser?
Is there any way to do that with vi editor?ie.vi a file, yank some text and paste into browser (eg. this message box).
If not, which light editor would you recommend? Thanks :) |
Highlight the text in your editor with the mouse, then click your third mouse button (mouse wheel, or left and right mouse buttons at once) in the textbox to paste. That's the original X11 way of copying and pasting.
Håkan |
if you are using gnome or kde, just highlight and r-click on the text choose copy.
|
If I need to copy the content of a big file, is there any way for me to highlight the entire file instead of going page by page?
Thanks ! |
how big is this file?
|
28 page down in my vi editor running in xterm. Highlighting the text page by page and pasting with the mouse middle button does work, but just wondering if there is a more efficient way of doing it in vi :)
Thanks ! Quote:
|
Use a different editor. One that isn't a console editor. Most editors have the same shortcuts of [CNTRL]-a to select all, and [CNTRL]-c to copy. This will put the entire document into the clipboard. Then in the browser, [CNTRL]-v or [SHIFT][INSERT] should paste the contents. These shortcuts are very common and may work, whether you are using linux, windows or mac.
|
Its possible in xemacs too (though i don't think in emacs). C-SPC, M-> to go to the end of the file, and then middle click where you want to paste it.
|
how to paste lots of text from an xterm...
Quote:
use a gui-enabled editor? |
If you are using Vim, it is probably compiled with X11 features. To check it out, do `:echo has("X11")'. If it says `1', you are lucky: Just `v'isual the text you want to yank, as usual, and go "+y (yank into register `+'). This command copies the text into the clipboard; to get the text in the browser, click the middle mouse button or something like Edit->Paste.
If you do not regard Vim as absolutely disgusting, you might want to have a look at gvim, a GUI-enabled version, which has X11 features in every case. See http://www.vim.org/ for details. Hope I could help, Michael Schutte |
All times are GMT -5. The time now is 05:28 PM. |