简体   繁体   中英

Linux Replace tab with 4 spaces

I was wondering if there is a way to remap my tab key to produce 4 spaces instead? I know how to do it in Vi/Vim but I would like that to work anywhere on my computer. I am running CentOS. I have to program using only 4 spaces instead of tab but I am using a couple oft IDEs so I would like to make it work everywhere.

Thanks

i think it's what you want http://editorconfig.org/

best regards

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM