You are not logged in.
All around these boards, there are scripts, PKGBUILDs, etc posted by various archers, usually as [CODE]. I can't find a way to copy them into a usable file.
Any suggestions, or do I have to manually retype them?
Offline
shift+ins
works for vi while in bash, Also works for konsole.
Offline
Excellent kill - thanks.
Works in nano and xedit too, by the way.
Offline
nice,
can you also copy from a terminal window?
Offline
what is marked in a window mostly can be inserted by middleclicking too,btw
-neri
Offline
If you use "vi" as your editor of choice, a handy thing to do when cutting/pasting is this:
:set paste
Then, copy and paste whatever you want into the open "vi" file. I use the middle mouse button for everything. After you are done,
:set nopaste
* That will resolve a lot of formatting problems.
Offline
terminal copy/paste mini-HOWTO:
copying from a terminal: left-click highlight what you wish to copy. it is automatically copied to X's buffer
pasting to a terminal: move the cursor where you'd like and middle click
how I do it:
* oh, nice PKGBUILD, let me try it
* mkdir <pkgname>
* nano PKGBUILD (doesn't exist)
* copy from firefox
* middle click in nano
* <C-O> <C-X> makepkg -cf
Offline
* nano PKGBUILD (doesn't exist)
nano -w PKGBUILD is safer ("Disable wrapping of long lines.").
or add:
set nowrap
to /etc/nanorc
Offline
phrakture wrote:* nano PKGBUILD (doesn't exist)
nano -w PKGBUILD is safer ("Disable wrapping of long lines.").
or add:
set nowrap
to /etc/nanorc
or alias nano="nano -w" to your profile... like me...
Offline