首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

vi设置了expandtab时,怎么插入制表符

2013-03-14 
vi设置了expandtab时,如何插入制表符?请教各位大虾了,多谢!vilinux[解决办法]:help etexpandtab etboo

vi设置了expandtab时,如何插入制表符?
请教各位大虾了,多谢! vi linux
[解决办法]
:help et

'expandtab' 'et'        boolean (default off)
                        local to buffer
                        {not in Vi}
        In Insert mode: Use the appropriate number of spaces to insert a
        <Tab>.  Spaces are used in indents with the '>' and '<' commands and
        when 'autoindent' is on.  To insert a real tab when 'expandtab' is
        on, use CTRL-V<Tab>.  See also :retab and ins-expandtab.
        NOTE: This option is reset when 'compatible' is set.

热点排行