Den lör 26 okt. 2024 07:10Taka <[email protected]> skrev: > On Friday, October 25, 2024 at 7:16:30 AM UTC-7 BPJ wrote: > > Sorry, making a fool of myself, that should be > :setl list > and > :setl nolist > I blame Friday afternoon! :-) > > > 🤔 so display the listchars and then don't display the listchars? > This helps in that the listchars marks are not copied/pasted, but tabs are > still printed and copied/pasted as spaces... > Here ya go ☕☕☕ 😉 >
The important part is the `noexpandtabs` which you apparently missed. The `listchars` was only meant to make the difference visible. BTW you may also want `:retab!` to convert already existing runs of spaces to tabs and/or `:setl ts=4` (or 2) to make the real tabs take up less screen real estate. -- > -- > You received this message from the "vim_use" maillist. > Do not top-post! Type your reply below the text you are replying to. > For more information, visit http://www.vim.org/maillist.php > > --- > You received this message because you are subscribed to the Google Groups > "vim_use" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion visit > https://groups.google.com/d/msgid/vim_use/ac5ca664-037f-4a86-a448-89d3158400f7n%40googlegroups.com > <https://groups.google.com/d/msgid/vim_use/ac5ca664-037f-4a86-a448-89d3158400f7n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/vim_use/CADAJKhASpnyk_gKTNpTH_Aei-j8MFMB2HL16i9%2BCorT1NHYE%3Dg%40mail.gmail.com.
