Fix for Vim8.2 in WSL starting in REPLACE mode

This commit is contained in:
Edward Litherland-Smith 2021-02-11 15:56:03 +00:00
parent 9ece6e7600
commit af4d768026

6
vimrc
View file

@ -1,6 +1,12 @@
unlet! skip_defaults_vim unlet! skip_defaults_vim
source $VIMRUNTIME/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
colorscheme slate colorscheme slate
set laststatus=2 set laststatus=2
let mapleader="," let mapleader=","