toshant_n's blog

By toshant_n, 6 days ago, In English,

How to add my template in Far Manager? I don't want to write a python script for that or copy-paste it every time. I have installed True Template, it has some pre-defined templates. I want to add my template to this list.

 
 
 
 
  • Vote: I like it
  • 0
  • Vote: I do not like it

»
6 days ago, # |
  Vote: I like it +10 Vote: I do not like it

Perhaps you can create the respective file at templates/source, add it to this config in the same directory, and reload the plugin.

  • »
    »
    6 days ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    It didn't work for me.

    • »
      »
      »
      6 days ago, # ^ |
        Vote: I like it +13 Vote: I do not like it

      Yeah, it doesn't.

      The string at line <Expand Name="&amp;Templates should also be extended with \~Template: test=test — or whatever your template is called further, like here:

      <Expand Name="Template: test" At="&AnyWhere;" SubMenu="1" To="\i'$\templates\source\test.cpp'"/>

      Also, the template itself should be in UTF-16 little-endian encoding by default, which may not be your default for other uses.