Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vim modeline for "standard"? #772

Closed
kaihendry opened this issue Feb 3, 2017 · 2 comments

Comments

@kaihendry
Copy link

commented Feb 3, 2017

For vim users, used to using tabs in their ~/.vimrc, e.g.

set softtabstop=4
set tabstop=4

Is there a gateway modeline you could please document for the 2 spaces to look like tabs? http://vimdoc.sourceforge.net/htmldoc/options.html#'softtabstop'

Many thanks,

@feross

This comment has been minimized.

Copy link
Member

commented Feb 3, 2017

I'm not an advanced user of vim, so I don't know how to do what you're suggesting. If you (or another Vim user) wants to send a PR for this, I'll merge it.

@feross feross closed this Feb 3, 2017

@kaihendry

This comment has been minimized.

Copy link
Author

commented Feb 3, 2017

The modeline seems to be:

// vim: set sw=2 sts=2 expandtab:

@lock lock bot locked as resolved and limited conversation to collaborators May 10, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
2 participants
You can’t perform that action at this time.