New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Combining vim-template and nautilus document templates naming conventions #91
Comments
Interesting. Do you have a reference that describes the nautilus document templates in greater detail? |
Not a full Nautilus reference, found out through these links http://gnome-look.org/content/show.php?content=39317 http://askubuntu.com/questions/208291/how-to-create-a-new-blank-file-in-nautilus-3-6-and-above and testing it myself. Could not find anything about changing Nautilus naming convention. |
The one thing I can think of that may work for you is specifying an empty prefix: |
I am not sure that will work with Nautilus. But if no easy solution is On 27/11/15 09:27, muff1nman wrote:
|
I thought I tested it and had it working, but other than that I cannot think of an easy solution. |
Thanks. Not such an essential feature. On 13/12/15 01:41, muff1nman wrote:
|
I am trying to unify the template files used by vim-template and those available with Nautilus "New document" context menu. I have pointed both vim-template and Nautilus to the same folder when looking for template files, but I haven't found a way of merging both naming conventions.
Nautilus wants filed to be named R\ file.R to show as "R file" in the context menu, but vim-template expects a common filename and only different extensions, say file.R.
Is there any way of specifying g:templates_global_name_prefix to achieve this? Would I need to modify every time this variable is used to create the right string by pasting the extension and a space before g:templates_global_name_prefix?
The text was updated successfully, but these errors were encountered: