@Chinmany,
I suggest you to go through the powerline documentation for implementing arrows in Vim editor at: https://powerline.readthedocs.io/en/latest/overview.html
]]>1. for terminal, how do i put arrows at end of path instead of rectangular box?
2. I use yakuake as terminal. powerline worked on it but for vim instead of arrows, weird symbols were shown. can you tell me how to fix that?