ITeye博客

Mac 下配置vi的语法高亮 显示行号 自动缩进

ningxiaotao · 2010-09-17 23:01 · 操作系统 · Markdown

一、假如没有~/.vimrc ,先创建

二、切换到插入模式,把下面的设置直接拷贝进去:

set autoindent

set cindent

set modeline

set ruler

set showcmd

set  nu

set showfulltag

set showmode

set smartcase

set smartindent

set imcmdline

set previewwindow

set hlsearch

syntax on

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。