Initial commit
This commit is contained in:
parent
7f9e01e430
commit
72ed64bcf6
|
@ -0,0 +1,41 @@
|
||||||
|
# timetracker.vim syntax file and Git
|
||||||
|
|
||||||
|
The _timetracker.vim_ syntax file I use at my employer contains customer names
|
||||||
|
so it's easy to tell the parts of my timetracker log lines are for particular
|
||||||
|
customers (or other important entities). Since this information is sensitive,
|
||||||
|
I am sanitizing it before I post it to my personal, public-facing Git repo on
|
||||||
|
git.eldon.me.
|
||||||
|
|
||||||
|
I haven't figured out a better way to do this in Git, but before I commit it I
|
||||||
|
will change the following lines in _~/timetracker/.gitignore_ from this:
|
||||||
|
|
||||||
|
```
|
||||||
|
vim/syntax/README.md
|
||||||
|
vim/syntax/timetracker.vim.hide
|
||||||
|
vim/syntax/timetracker.vim.tmp
|
||||||
|
```
|
||||||
|
|
||||||
|
To this:
|
||||||
|
|
||||||
|
```
|
||||||
|
#vim/syntax/README.md
|
||||||
|
vim/syntax/timetracker.vim.hide
|
||||||
|
vim/syntax/timetracker.vim.tmp
|
||||||
|
```
|
||||||
|
|
||||||
|
And then rename _vim/syntax/timetracker.vim_ to
|
||||||
|
_vim/syntax/timetracker.vim.tmp_, and rename _vim/syntax/timetracker.vim.hide_
|
||||||
|
to _vim/syntax/timetracker.vim_:
|
||||||
|
|
||||||
|
```
|
||||||
|
mv vim/syntax/timetracker.vim{,.tmp}
|
||||||
|
mv vim/syntax/timetracker.vim{.hide,}
|
||||||
|
```
|
||||||
|
|
||||||
|
Commit and push the changes, then revert _.gitignore_ and
|
||||||
|
_vim/syntax/timetracker.vim_:
|
||||||
|
|
||||||
|
```
|
||||||
|
mv vim/syntax/timetracker.vim{,.hide}
|
||||||
|
mv vim/syntax/timetracker.vim{.tmp,}
|
||||||
|
```
|
Loading…
Reference in New Issue