The title sums up most of what I'm asking, but I'll give a bit of background. Recently I've been reading mortal engines (minor spoiler alert, so skip to the next paragraph if you'd like), and in the first book it basically revolves around an electricity based weapon.
I've always had an interest in more exotic forms of weaponry, and electricity have always caught my eye due to how interestingly they can be described and their possible effects. It also helps to get away from the typical railguns and lasers used in more mildly realistic space warfare, and hopefully provide more interesting combat. An interesting real life utilization essentially has a laser fire through the air creating a channel of plasma, which an electric current is then sent through to whatever it's being pointed at. But of course, this design needs oxygen and an atmosphere to have the plasma channel be created, so it doesn't work as well in space, which is a shame when it comes to a sci-fi scenario.
Which comes to the point of the question, is there any effective to send electricity through space at decent ranges?
I had a single idea of my own, which essentially revolves around creating an environment where a method that's used in real life like I listed above would work. This would be likely a weapon built on larger ships. It'd consist of the typical laser and the instrument to send the electric current in the center. Outside, of these, there'd likely be vents to blow out steam likely released by nuclear reactors powering the ship, and then outside of that, a series of lasers to essentially focus the steam on its path and stopping it from just expanding into the vacuum of space.
The major issues I see with this is the fact that a system might not work going through steam, or the method I said of utilizing lasers to focus it might not work. What I'm looking for in an answer is an alternative to what idea I proposed, an adjustment to the idea I proposed, or a blunt answer if it's impossible. Alternately, possible other ideas for more exotic but realistic weapons are welcome.
The weapon itself has very little guidelines, besides the following:
Needs to utilize electricity as the main weapon factor
Needs to be reasonably sized. This is in the sense that it would need to fit onto a spaceship the size of, say, a battleship. It also needs to be not ludicrously expensive, in the way that it couldn't use some material like antimatter.
This one is obvious, but it needs to be able to work in space.
needs to have some basic scientific or realistic basis. Stretching things such as making things smaller than they currently exist or using things are more theorized is fine, but using a fictional material isn't.
It should also be assumed that electricity requirements aren't that much of an issue.
A disclaimer. Possible other exotic weapons that might be recommended don't need to fall within these guidelines, they're just for an electricity based weapon. I look forward to reading and responding to all your answers. Thanks!
Clarification: I am not looking for a method of shooting a charge of electricity through a vacuum, as I know a vacuum is a poor conductor. What I am looking for it a method of creating a medium to send a charge of electricity through.