File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,24 @@ With vim open in the path `~/Projects/test`, I call the `VimFiles#CreateFile()`
32
32
![ Graphical Explication File Create] ( https://raw.githubusercontent.com/SergioRibera/vim-files/main/doc/file.gif )
33
33
### Example Configurations
34
34
``` Vim
35
+ " Dictioinary of Dir Themplates
36
+ let g:vimFilesThemplatesDir = {
37
+ \ 'react-native': 'react/native.txt',
38
+ \ 'html-bootstrap': 'web/html/bootstrap.txt'
39
+ \}
40
+ " Dictionary of Files Themplates
41
+ let g:vimFilesThemplatesFiles = {
42
+ \ 'react-component': 'react/component.txt'
43
+ \}
44
+
45
+ " Simple Created Relative Directory
35
46
noremap <leader>cd :call VimFiles#CreateDir()<Cr>
47
+ " Simple Created Relative File
36
48
noremap <leader>cf :call VimFiles#CreateFile()<Cr>
49
+ " Create Directories based in themplate
50
+ noremap <leader>cdd :call VimFiles#CreateDirThemplate()<Cr>
51
+ " Create File based in themplate
52
+ noremap <leader>cff :call VimFiles#CreateFileThemplate()<Cr>
37
53
```
38
54
### ** Please report all bugs and problems**
39
55
Thanks for install this tool, for see more visit [ my web] ( https://sergioribera.com ) (Very soon I will add an app store)
You can’t perform that action at this time.
0 commit comments