i was wondering if there is an option to use spaces instead of tabs in
my indenting and tabbing, especially when in python.

You can set the 'expandtab' option to behave as you like. You may also want to tweak your 'ts' and 'sw' options to act in accord.

Thus, you may want to do

        :set et ts=4 sw=4

If you want to convert from one format to the other, you can also use the ":retab" command.

You can read more at

        :help 'et'
        :he 'ts'
        :he 'sw'
        :he :retab

HTH,

-tim


Reply via email to