- 论坛徽章:
- 0
|
每次打开一个文件都先显示:
"starting.txt" "starting.txt" [readonly] 1512L, 66824C
Press ENTER or type command to continue
回车显示starting.txt的内容,按q退出后才能显示真正想编辑的文档的内容。
系统为ubuntu, 直接用apt-get安装的vim, /etc/vim/vimrc.tiny的主要内容:
runtime! debian.vim
if has("syntax")
syntax on
endif
if filereadable("/etc/vim/vimrc.local")
source /etc/vim/vimrc.local
endif
if &term=="xterm"
set t_Co=8
set t_Sb=^[[4%dm
set t_Sf=^[[3%dm
endif
set number
set nocompatible
set autoindent
set background=dark
set smartindent
set showmatch
set tabstop=4
set shiftwidth=4 |
|