简体   繁体   中英

Setting Vi editor configurations in Linux login profile

I am using vi editor in Linux server. I want to set certain configurations like set ai and set ts=4 in my login profile itself so that I don't have to set it each and every time I get into Vi editor. Please assist. Thanks.

You can use a the .vimrc/.exrc file for in this case. vimrc sample

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