echom “xxx”と書く。
if has('wsl') echom "wsl" " wsl2 " let g:clipboard = { \ 'name': 'myClipboard', \ 'copy': { \ '+': 'win32yank.exe -i', \ '*': 'win32yank.exe -i', \ }, \ 'paste': { \ '+': 'win32yank.exe -o', \ '*': 'win32yank.exe -o', \ }, \ 'cache_enabled': 1, \ } else echom "linux" " Linux set clipboard& set clipboard^=unnamedplus endif
その後、vimを開き、:messageと入力する。