Fix WSL starting in REPLACE mode without breaking arrow keys
This commit is contained in:
parent
27688cd7c9
commit
e42394fd45
7
vimrc
7
vimrc
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue