vim plugin - Vim hard or soft tab depending on what's used in the file -


is there vim command or plugin span source file i'm opening, , adjust tab setting whatever used in file.

i work on diverse codebase @ work, source files using hard tabs, other 4 space soft tabs, , other's 2 space soft tabs. hard tab, if forgot changes, can lead ugly whitespace in different editors if forget change when i'm editting soft tab file.

i'd not have remember check whatever's convention used in file every time open buffer, , adjust preferences accordingly.

i use yaifa great success. it's pretty "install-and-forget" plugin says without ever getting in way. working in messy environment work in horrible until found gem.


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -