How to replace tab as spaces in vim?
来源:互联网 发布:淘宝天天特价官网 编辑:程序博客网 时间:2024/05/23 18:28
1. set the options permanently
echo 'set ts=4' >> .exrc
echo 'set shiftwidth=4' >> .exrc
echo 'set sts=4' >> .exrc
echo 'set expandtab' >> .exrc
2. set the options every time;
set ts=4
set shiftwidth=4
set sts=4
set expandtab
- How to replace tab as spaces in vim?
- How to replace a character for a newline in Vim?
- How to add dividers and spaces between items in RecyclerView?
- Tabs and spaces in Vim
- Write a method to replace all spaces in a string with ‘%20’.
- Write a method to replace all spaces in a string with ‘%20’
- Ch1-5: Write a method to replace all spaces in a string with ‘%20’.
- Q1.4 Write a method to replace all spaces in a string with ‘%20’.
- How to login as Root In ubuntu
- How to install VIM in the MSYS?
- How to use Terminal in Vim
- How to use marks in Vim
- How to replace expired certificates used in database mirroring
- How to Replace a Device in a ZFS Storage Pool
- How to Manipulate Filenames Having Spaces and Special Characters in Linux
- How to Use MFC Tab Control in Developing VC++ Applications
- 【5】Replace all spaces in a string with ‘%20’
- Replace all spaces in string with ' ' (Cracking the Code Interview)
- apt-getupdate
- VC++ 基于NTFS的数据流创建与检测
- java集合框架图及介绍
- IE首页被篡改成www.cnweb123.cn的修复办法
- QQ互动状态使用教程:状态源代码详解(转)
- How to replace tab as spaces in vim?
- VC++实现镜像劫持(360保险箱启动原理)
- 关于未来操作系统方向的初步设想
- 【转】瑞星2008采用的主动防御技术及弱点分析
- vc++无进程式线程插入穿墙技术实现
- ASP.NET开发Web Service(1)
- 晒一下java开发代码的小技巧
- ado.net 事务
- 感染SysConst.dcu,delphi梦魇病毒解析