On 2025-06-27, K otgc wrote:
> Hello,
> I'm indenting a code block by highlighting the block and then selecting the
> greater than key.
> However this indents the block 8 spaces, which is too far past the other code
> blocks, which are only 2 spaces indented.
> I am using version: VIM - Vi IMproved 8.1 (2018 May 18, compiled Apr 02 2025
> 16:39:51)
> Is there a way to adust the indent please?

Yes.  As someone else wrote, see

    help >
    help 'sw'

and just execute, or put in your vimrc,

    :set sw=2

Regards,
Gary

-- 
-- 
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/20250627163144.GC24703%40phoenix.

Reply via email to