3 ms·
Go one step further and add these to you vimrc: command Tab1 set ts=1 sts=1 sw=1 command Tab2 set ts=2 sts=2 sw=2 command Tab4 set ts=4 sts=4 sw=4
by nazri1 8y ago
Go one step further and add these to you vimrc:
command Tab1 set ts=1 sts=1 sw=1
command Tab2 set ts=2 sts=2 sw=2
command Tab4 set ts=4 sts=4 sw=4
command Tab8 set ts=8 sts=8 sw=8
- SPBS 8y agoslight addition: command! Tab1 set ts=1 sts=1 sw=1 command! Tab2 set ts=2 sts=2 sw=2 command! Tab4 set ts=4 sts=4 sw=4 command! Tab8 set ts=8 sts=8 sw=8 The ! exclamation mark is there to prevent vim from complaining about a duplicate command already existing whenever you reload your vimrc.