My home and end key is not working in neovim. I am connecting via Mtputty. I found that setting terminal in environment variable made it as work.
export TERM=putty-256color
But whenever i close the session , next time i had to set. So i tried to add it in .vimrc. I am setting TERM environment path via vimrc like below.
if has('nvim')
let $TERM = 'putty-256color'
endif
But it is not working .
How to set environment variable in vimrc?