Are you opening visual code in your putty session to edit a config variable? They are as similiar as word and pico.
I have once .vimrc configured for all the languages that I use/know. Whenever I work with a new client. I pull that .vimrc on the allocated machine. Run PluginInstall and in minutes I am ready to go!