Multiple clipboards
[Back]
These macros allow you to
use 10 cut/append/paste buffers. Below are the .neditmacro lines,
macro files and macro menu entries. You will need a directory structure
along the lines of:
$HOME/nedit/macros/
In here, put clipb.nm and make a clips
directory. The clips are stored in files so that they are persistent across
editing sessions.
In .neditmacro:
#Clipboard Macros
$clipPath="<your home dir>/nedit/macros/clips/"
load_macro_file("<your home dir>/nedit/macros/clipb.nm")
Set the value of $clipPath according to where your directory is.
Finally, the menu entries. Splice this clip
file into your .nedit. It puts Cut on Shift+Alt+<num>,
Paste on Alt+<num>, Append on Ctrl+Shift+Alt+<num>
and show all on Shift+Alt+<SPACE>
Make sure that doesn't clash with anything else you have defined.
Also, you can see the contents of an individual buffer by pressing Alt+F0-F9.
[Back]
Released on Wed, 21 Nov 2001
by
C. Denat
|