Friday, June 27, 2025

Re: Indent block inline with other blocks is too far

Thank you.
I ended up using the below, but unsure which of the 3 choices is easiest.
The Tab doesn't indent a highlighted block, so I need the Shift+> to indent the highlighted lines. Fortunately Shift+> seems to use the Tab spacing amount.

set expandtab

set tabstop=2

set shiftwidth=2

On Friday, 27 June 2025 at 13:17:57 UTC+2 Paul wrote:
Check out `:help 'shiftwidth'`.

--
--
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/8439a1b5-f8a1-4856-b981-193737fc701dn%40googlegroups.com.

No comments: