Wednesday, March 19, 2025

Re: BASH script: Indent with tabs, align with spaces



On Wednesday, March 19, 2025 at 6:59:14 AM UTC-4 Anton Shepelev wrote:
Steven H.:

> After lots of searching, I found that the only way to
> indent with tabs and align with spaces is to use the Smart
> Tabs plugin, so I installed it.

No, you do not need any plugins for that. I have been
indenting with tabs and alighning with spaces for years,
with just copyindent:

<https://vimdoc.sourceforge.net/htmldoc/options.html#'copyindent'>


Anton, perhaps you care to explain how you make things work as an answer on https://vi.stackexchange.com/q/46614/10604? 

--
--
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 vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/24b7b9bc-be4e-4d5c-bede-254de3e16e13n%40googlegroups.com.

No comments: