TC长文件名视图F11快速切换

必备TC插件

  1. Autorun
  2. TCFS2TCFS2Tools
  • 注意!请根据使用的TC的位数(32位 or 64位)来选择下载对应位数的插件

安装插件

  1. Autorun:可直接安装,在zip包上回车即可,之后:

    1. 先将 autorun.example.cfg 重命名为 autorun.cfg
      ( 在 %Commander_path%\WDX\Autorun\ 下,%Commander_path% 为TC的程序安装目录,下同)
    2. 为了让插件能够随TC启动而运行, 按如下步骤创建颜色方案:
    1. On the "Configuration-->Display-->Color" page press "Define colors by file type..." button.
    2. In the "Define colors by file type" dialog set cursor in any place in the list, and press "Add..." button.
    3. Press "Define..." button.
    4. In the "Define selection" dialog move to "Plugins" tab.
    5. Select in "Plugin" dropdown list "autorun".
    6. Select in "Property" dropdown list "Autorun" (there will not be more properties).
    7. Select in "OP" dropdown list "=" and set in following field any integer, for example 1.
    8. Press "Save" button, give the template some name , for example "Autorun".
    9. Next, repeatedly press OK button in all dialogs until options dialog will be closed.
    10. Restart TC.
  2. TCFS2 与 TCFS2Tools 需要分开安装

    1. 解压TCFS2.exe、TCFS2.ini,保存在同一目录下
      比如:%Commander_path%\Tools\TCFS2\
    2. 将TCFS2Tools.dll置于 %Commander_path%\WDX\Autorun\plugins\ 中
      在autorun.cfg中添加如下字段:
      LoadLibrary Plugins\TCFS2Tools.dll

具体设置

  1. 在Configuration->Display->Tabstops下,勾选 Adjust Tabs to window width
  2. 配置文件TCFS2.ini中,分别在[Items],[Macros],[Actions]这三字段中分别添加以下代码
    [Items]
    vt0=tcm(305)
    sp_sw_50_100=run_item(sp_set_active, sepPos == 50 ? 100 : 50)
    lv2=set_tcini(TCFS2, LV2_Running, 1) run_action(lv) set_tcini(TCFS2, LV2_Running, 0), tcini(TCFS2, LV2_Running, 0)
    lv=set_tcini(TCFS2, sFNV, 0) run_action(longview), test(shortFileNameView) | set_tcini(TCFS2, sFNV, 1) run_action(longview_undo)
    [Macros]
    shortFileNameView=tcini(TCFS2, sFNV, 1)
    [Actions]
    longview=sp_sw_50_100 vt0
    longview_undo=vt0 sp_sw_50_100
    lv=lv
    lv2=lv2
  3. 配置文件usercmd.ini中添加
    [em_TCFS_longview]
    cmd=TCFS2 lv2
    path=%Commander_path%\Tools\TCFS2
    这里path=后面的内容即之前保存TCFS2.exe和TCFS2.ini的地址
  4. 配置文件wincmd.ini添加
    [TCFS2]
    sFNV=1
    LV2_Running=0
  5. 在Configuration-->Misc.下,绑定命令 em_TCFS_longview 到热键F11

Over.

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容