DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 963,274 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Roy
Roy

Posted on

Answer: set expandtab in .vimrc not taking effect

From the documentation on expandtab:

This option is reset when the paste option is set and restored when the paste option is reset.

BTW, you probably don't want paste to be set all the time. It's commonly used for pasting into a terminal Vim to avoid messing up indentation…

Top comments (0)

Update Your DEV Experience Level:

Settings

Go to your customization settings to nudge your home feed to show content more relevant to your developer experience level. πŸ›