⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 test2.in

📁 VIM文本编辑器
💻 IN
字号:

This is a test if a URL is recognized by "gf", with the cursor before and
after the "://".  Also test ":\\".  Tricky: Have to use backslashes in a file
name!

STARTTEST
:.,$w!/tmp/vimtest2a
/first
/tmp
gf
:.,$w!/tmp/vimtest2b
/second
/URL
gf
:set isf=@,48-57,/,.,-,_,+,,,$,:,~,\
:.,$w!\\tmp\\vimtest2c
/third
/name
gf
:.,$w!\\tmp\\vimtest2d
/fourth
G/URL
gf
:!rm /tmp/vimtest2a /tmp/vimtest2b \\tmp\\vimtest2c \\tmp\\vimtest2d
:wq! test.out
ENDTEST
This is the text for the vimtest2a file.
This is the text for the vimtest2b file.
This is the text for the vimtest2c file.
This is the text for the vimtest2d file.
This is a first test for an URL://machine.name/tmp/vimtest2a and some other text
This is a second test for an URL://machine.name/tmp/vimtest2b and some other text
This is a third test for an URL:\\machine.name\tmp\vimtest2c and some other text
This is a fourth test for an URL:\\machine.name\tmp\vimtest2d and some other text

⌨️ 快捷键说明

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