How allow TAB at begining of a line, but expand it to spaces?
6 views
Skip to first unread message
Peng Yu
unread,
Apr 17, 2021, 11:00:46 AM4/17/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vim_use
Hi,
If I use the above at the modeline, it will expand all TABs in a line. But I just want to keep the TAB at the beginning of a line. Could anybody show me how to modify the line to get this behavior? Thanks.
vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=-1 fileencoding=utf-8: