精华区 [关闭][返回]

当前位置:网易精华区>>讨论区精华>>电脑技术>>● UNIX>>◆网络知识◆>>[转载]$HOME/.exrc,vi初始化文件。

主题:[转载]$HOME/.exrc,vi初始化文件。
发信人: [email protected]()
整理人: wwwyyyxxx(1999-08-23 22:09:16), 站内信件
出  处: rose.dlut.edu.cn


exrc 是 vi (或 vim) 执行之前的设定初始参数的档

以下是 SUN 的□例 /usr/lib/Exrc
=========================================================================
" @(#)Exrc 1.4 88/03/03 SMI
set autoindent         ===>>> 建议把此改为 noautoindent!! (copy时不会乱掉!)
set autoprint
set noignorecase
set nomesg
set noslowopen
set noterse
set nonumber
"
set report=2
set tabstop=8
set wrapmargin=8
"
"map ; :
"map g :%
"map v ~
"map m !} fmt -c
"map T !} sort
"

--
※ 来源:.碧海青天 bbs.dlut.edu.cn.[FROM: 202.118.65.49]

[关闭][返回]