You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 29, 2023. It is now read-only.
There are a couple of ways. I'm assuming that you're using vim, so:
You could add this to your .vimrc file:
set tabstop=4 " number of visual spaces per TAB
set softtabstop=4 " number of spaces per tab when editing
set shiftwidth=4 " spaces to insert or remove using the indentation commands
set expandtab " tabs are spaces
OR, if you want different spaces for different purposes, for example 4 spaces per tab for Python, 2 spaces for YAML files, you could add this to your .vimrc file instead of the above:
Hello, the default indent line is 8 spaces indented once, how can I set it to 4 spaces.
The text was updated successfully, but these errors were encountered: