Skip to content

Abstract-Chief/vim_Ftext

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

#Ftext

Install the plugin

vim plug -> Plug 'Abstract-Chief/vim_Ftext'

Information

This plugin allows you to create patterns for generating new files this means that you can set a file pattern and each file of this type (or full name) will be created in this pattern patterns provide dynamic variables such as:

  • %name <filename_type>
  • %pname <filename.type>
  • %type
  • %user
  • %time <12:56>
  • %date1 <Mon 01 Apr 2024 12:53:10 PM CEST>
  • %date2 <2024-04-1>
  • %date3
  • %pos --set cursor on last %pos in file

Usage example

image

Functions

  • call SetBaseText() --sets the pattern for file types for example .c .py .cpp .h
  • call SetBaseTextFull() --sets the pattern for a specific file name, for example main.c

About

The plugin that allows filling created files based on a dynamic template.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published