xaizek / dotvim (License: Unspecified) (since 2018-12-07)
Vim configuration and plugins.
Commit 8b3bcd95e8f08574efa807fcd07d518cb2484915

Check for .src_template being readable
Author: xaizek
Author date (UTC): 2021-07-04 14:58
Committer name: xaizek
Committer date (UTC): 2021-07-04 14:58
Parent(s): ecf3d8a81206cfdac5bc40ec1c61773e0b00adbf
Signing key: 99DC5E4DB05F6BE2
Tree: b74833f4cd19f6b16e433f3909f14e8599cbc137
File Lines added Lines deleted
vimrc 1 1
File vimrc changed (mode: 100644) (index 26557f8..9d1cf46)
... ... function! AddBasicTemplate()
845 845
846 846 " add file template " add file template
847 847 let l:template = findfile('.src_template', '.;') let l:template = findfile('.src_template', '.;')
848 if !empty(l:template)
848 if !empty(l:template) && filereadable(l:template)
849 849 let l:file = readfile(l:template) let l:file = readfile(l:template)
850 850 call append(0, l:file) call append(0, l:file)
851 851 endif endif
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/dotvim

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/dotvim

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master