Quantcast
Channel: Turning off auto indent when pasting text into vim - Stack Overflow
Viewing all articles
Browse latest Browse all 28

Answer by Sergey Vakulenko for Turning off auto indent when pasting text into vim

$
0
0

This works for me ( case for + register, what i use like exchange buffer between aps ):

imap <silent> <S-Insert> <C-O>:set noai<CR><C-R>+<C-O>:set ai<CR>

Viewing all articles
Browse latest Browse all 28

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>