Devanagari font in macOS Terminal not rendering properly
I think that Apple's Terminal has never supported correct Devanagari display, but have read that Gnome Terminal does.  You could try that.
Is there anyway to use GNOME terminal on macOS?
For vim also try searching/asking in its stackexchange site.
If you find something that works, by all means come back here and let us know.