r********s 发帖数: 179 | 1 find a local unix expert to help you out. sometimes it's just not
easy to find the trick.
several months ago, I started to use digital unix and found a strange
thing I have never encountered. vi refused to read its resource file,
".exrc". I asked my colleagues and didn't get a clue. then I "man vi".
The following messages suddenly shed a light on my puzzle.
[Tru64 UNIX] Additionally, the editor refuses to read the .exrc file if
its mode grants write permission to anyone other than the owner |
|
n******e 发帖数: 476 | 2 我没有 .vimrc,我放在了 .exrc 里面。但是加了以后,.exrc 里面有些 map 啥的就
不 work 了。比如我用 ,q 代替 :q! 就不 work 了。改天再查查为什么
Blue |
|
e******a 发帖数: 176 | 3 I wanna set nu everytime I enter vim.
I know for vi, I can edit .exrc at my home directory,
but how about vim? Thanks in advance. |
|
w******r 发帖数: 55 | 4 $HOME/.exrc
in it, set ai |
|
|