HenHanna
2024-03-02 23:20:53 UTC
it used to be so easy to Copy-Paste text between two files with Control-C, Control-V.
THEN, 2 or 3 years ago, when i started using a new ver. of Windows,
i could no longer to this.
So i've set up the following as a Work-around
:ab wt w! ~/temp.vi
:ab rt r ~/temp.vi
So i can ..
[1] from one file, do
:.wt -- write 1 line to temp file
:.,.+5 wt -- write 6 lines to temp file
[2] optionally edit the temp file ---
[3] from another file, do the following to read (in) the temp file
:rt
THEN, 2 or 3 years ago, when i started using a new ver. of Windows,
i could no longer to this.
So i've set up the following as a Work-around
:ab wt w! ~/temp.vi
:ab rt r ~/temp.vi
So i can ..
[1] from one file, do
:.wt -- write 1 line to temp file
:.,.+5 wt -- write 6 lines to temp file
[2] optionally edit the temp file ---
[3] from another file, do the following to read (in) the temp file
:rt