Fix WSL starting in REPLACE mode without breaking arrow keys

This commit is contained in:
Edward Litherland-Smith 2021-02-23 11:57:53 +00:00
parent 27688cd7c9
commit e42394fd45

7
vimrc
View file

@ -1,11 +1,8 @@
unlet! skip_defaults_vim
source $VIMRUNTIME/defaults.vim
" FIX: ssh from wsl starting with REPLACE mode
" https://stackoverflow.com/a/11940894
"if $TERM =~ 'xterm-256color'
" set noek
"endif
" fix for wsl starting with REPLACE mode
nnoremap <esc>^[ <esc>^[
set t_TI=""
set t_TE=""