My broke busted car: 88 civic lx d15

Last night I was coming back from the store and the car started sputtering and would not accelerate. I had to pump the gas like a madman to get it home which was about a mile. This afternoon I went and got a fuel filter and replaced it. It will start now but will not run very long at idle before giving up.

Symptoms:
Will start and idle at 1.5k for a few seconds and then start dropping. It dies around 700-800 rpms.

If I pump the gas I can build rpms and if I hold the petal still it will stay at 3000-4000 rpms.

If at any point I floor it it will bog down and die.


What I've replaced since I've had it that may be related to this issue:
gas tank
plugs
wires
fuel pump
fuel filter


I disconnected the battery for about 10 minutes hoping that maybe it was stuck in some kind of limp mode but this had no affect. Any ideas as I'm tired of not being able to drive it? If anyone lives close to Athens and could help I would buy you some beer or something. I'm in between jobs so I don't have a lot of money.