Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vim auto indent not work #4339

Closed
eromoe opened this issue Jul 27, 2019 · 1 comment
Closed

vim auto indent not work #4339

eromoe opened this issue Jul 27, 2019 · 1 comment
Labels

Comments

@eromoe
Copy link

eromoe commented Jul 27, 2019

Follow https://coderwall.com/p/if9mda/automatically-set-paste-mode-in-vim-when-pasting-in-insert-mode

let &t_SI .= "\<Esc>[?2004h"
let &t_EI .= "\<Esc>[?2004l"
inoremap <special> <expr> <Esc>[200~ XTermPasteBegin()

function! XTermPasteBegin()
    set pastetoggle=<Esc>[201~
    set paste
    return ""
endfunction

Doesn't work on wsl ubuntu 1804

@DHowett-MSFT
Copy link

The console does not support bracketed paste mode. microsoft/terminal#395.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants