I don’t use vim, I use nano.
You have openhabian so you should have a samba share of your folder: openHABian | openHAB
Which you can access from another computer
Then install VS Code on that computer to edit your openHAB files: VS Code openHAB Extension!