how can i map <Alt> itself on vim/nvim to <Esc>

149 Views Asked by At

I want to map (from the init.vim file) the key to the key ON VIM/NVIM because its closer to my thumb. The only thing I found online was binding <Alt + key>, not itself. Is this even possible?

I've tried to do :imap <Alt> <Esc> or :imap <A-> <Esc> and nothing works. Any help would be great!

0

There are 0 best solutions below