vi.tut.csh

来自「早期freebsd实现」· CSH 代码 · 共 25 行

CSH
25
字号
#!/bin/csh -f## This makes the user's EXINIT variable set to the 'correct' things.# I don't know what will happen if they also have a .exrc file!## XXX# Make sure that user is using a 24 line window!!!#if ($1 != "beginner" && $1 != "advanced") then	echo Usage: $0 beginner or $0 advanced	exitendifif ($?EXINIT) then	set oexinit="$EXINIT"	setenv EXINIT 'se ts=4 wm=8 sw=4'endifvi vi.{$1}onintr:	if ($?oexinit) then		setenv EXINIT "$oexinit"endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?